~robertgzr/portage

c599b8b0da85b1869eb240cf973b7f9e8854dcff — Robert Günzler 2 months ago 1390d39
fix mpv-plugin/uosc ...again

Signed-off-by: Robert Günzler <r@gnzler.io>
1 files changed, 6 insertions(+), 9 deletions(-)

M mpv-plugin/uosc/uosc-9999.ebuild
M mpv-plugin/uosc/uosc-9999.ebuild => mpv-plugin/uosc/uosc-9999.ebuild +6 -9
@@ 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/*
}