From c599b8b0da85b1869eb240cf973b7f9e8854dcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20G=C3=BCnzler?= Date: Sun, 3 Dec 2023 03:48:15 +0100 Subject: [PATCH] fix mpv-plugin/uosc ...again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- mpv-plugin/uosc/uosc-9999.ebuild | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/mpv-plugin/uosc/uosc-9999.ebuild b/mpv-plugin/uosc/uosc-9999.ebuild index 37a961e..79abc83 100644 --- a/mpv-plugin/uosc/uosc-9999.ebuild +++ b/mpv-plugin/uosc/uosc-9999.ebuild @@ -21,20 +21,17 @@ fi LICENSE="GPL-3" KEYWORDS="~amd64" -src_prepare() { - default - - mkdir ${PN} - mv scripts/${PN}/* ${PN}/ - mv script-opts ${PN}/ +RESTRICT="network-sandbox strip" +DEPENDS="dev-lang/go" +src_compile() { + go build -ldflags "-s -w" -o src/${PN}/bin/ziggy-linux ./src/ziggy/ziggy.go } -MPV_PLUGIN_FILES=( ${PN} ) +MPV_PLUGIN_FILES=( src/${PN} src/${PN}.conf ) src_install() { - default mpv-plugin_src_install insinto /etc/mpv/fonts - doins fonts/* + doins src/fonts/* } -- 2.45.2