diff options
Diffstat (limited to 'media-sound/aucatctl/aucatctl-0.1.ebuild')
-rw-r--r-- | media-sound/aucatctl/aucatctl-0.1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-sound/aucatctl/aucatctl-0.1.ebuild b/media-sound/aucatctl/aucatctl-0.1.ebuild new file mode 100644 index 000000000000..1357fbb643e4 --- /dev/null +++ b/media-sound/aucatctl/aucatctl-0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A tool for controlling aucat and/or sndiod volume through MIDI" +HOMEPAGE="http://www.sndio.org/" +SRC_URI="http://www.sndio.org/${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/libbsd + media-sound/sndio:= +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i \ + -e 's?/usr/local?/usr?g' \ + -e 's?man/man1?share/man/man1?g' \ + -e 's?LDADD = -lsndio?LDADD = -lbsd -lsndio?' \ + Makefile || die "Failed modifying Makefile" +} |