commit: 7a47c00620b9962d843b13632c04225f53e6834e Author: Pavel Sobolev <contact <AT> paveloom <DOT> dev> AuthorDate: Mon Jun 23 18:13:06 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Mon Jun 23 18:23:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a47c006
ios-safari-remote-debug: add support for Gentoo Prefix Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev> ...e-debug-0_pre20250506-copy-injected-code-from-the-system.patch | 6 +++--- .../ios-safari-remote-debug-0_pre20250506.ebuild | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch b/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch index 52fc5f4f6f..45b9fb540c 100644 --- a/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch +++ b/dev-util/ios-safari-remote-debug/files/ios-safari-remote-debug-0_pre20250506-copy-injected-code-from-the-system.patch @@ -11,8 +11,8 @@ Signed-off-by: Pavel Sobolev <[email protected]> additionsDir := fmt.Sprintf("%s/WebKitAdditions/WebInspectorUI", baseDir) - cp.Copy("injectedCode/WebInspectorUIAdditions.css", fmt.Sprintf("%s/WebInspectorUIAdditions.css", additionsDir)) - cp.Copy("injectedCode/WebInspectorUIAdditions.js", fmt.Sprintf("%s/WebInspectorUIAdditions.js", additionsDir)) -+ cp.Copy("/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.css", fmt.Sprintf("%s/WebInspectorUIAdditions.css", additionsDir)) -+ cp.Copy("/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.js", fmt.Sprintf("%s/WebInspectorUIAdditions.js", additionsDir)) ++ cp.Copy("@GENTOO_PORTAGE_EPREFIX@/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.css", fmt.Sprintf("%s/WebInspectorUIAdditions.css", additionsDir)) ++ cp.Copy("@GENTOO_PORTAGE_EPREFIX@/usr/share/ios-safari-remote-debug/injectedCode/WebInspectorUIAdditions.js", fmt.Sprintf("%s/WebInspectorUIAdditions.js", additionsDir)) log.Debug().TimeDiff("loadFiles", time.Now(), loadFilesTime).Send() getRelevantFilesTime := time.Now() @@ -21,7 +21,7 @@ Signed-off-by: Pavel Sobolev <[email protected]> bundleTime := time.Now() - cp.Copy("views", outputDir) -+ cp.Copy("/usr/share/ios-safari-remote-debug/views", outputDir) ++ cp.Copy("@GENTOO_PORTAGE_EPREFIX@/usr/share/ios-safari-remote-debug/views", outputDir) os.Mkdir(fmt.Sprintf("%s/debug", outputDir), os.ModePerm) os.Mkdir(fmt.Sprintf("%s/debug/Lib", outputDir), os.ModePerm) os.Mkdir(fmt.Sprintf("%s/debug/Protocols", outputDir), os.ModePerm) diff --git a/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild b/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild index ed894da844..53b4a94823 100644 --- a/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild +++ b/dev-util/ios-safari-remote-debug/ios-safari-remote-debug-0_pre20250506.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module +inherit go-module prefix EGIT_COMMIT="d73d1215b38abb82f64513f472fd75ee2b8224f5" @@ -24,6 +24,12 @@ PATCHES=( "${FILESDIR}/${P}-copy-injected-code-from-the-system.patch" ) +src_prepare() { + default + + eprefixify build/build.go +} + src_compile() { ego build }
