commit: 6aa2582d7cd823c8860efab4314ee0ad911b3cd5
parent: 53b8935dc7a6c5e484f23bb8fc9cdb0a1a2bcd6c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 23 Apr 2020 02:16:59 +0200
media-sound/aucatctl: New Package
Diffstat:
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/media-sound/aucatctl/Manifest b/media-sound/aucatctl/Manifest
@@ -0,0 +1 @@
+DIST aucatctl-0.1.tar.gz 4364 BLAKE2B b0ac47bdf03de82599d4ca1403d8937b70e9f10b18d3d37bc0ab022eebc31d7643943b7c4c8fef058cc9b09fcc95b24fb6373503a6ddced33a3f8c2253c30b95 SHA512 35ca3a3aec94fb0ed439925ac52d190ad0eebd4cfb124d5ad329d1d94c021c38b75bd4d4859c74756c861c0a82c5d22777ed0dccc950bc37c3156d6ca28a33df
diff --git a/media-sound/aucatctl/aucatctl-0.1.ebuild b/media-sound/aucatctl/aucatctl-0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# 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/7.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"
+}