x11-misc/mixer_app: EAPI7, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 20 Jun 2018 19:20:11 +0000 (21:20 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Tue, 26 Jun 2018 21:53:05 +0000 (23:53 +0200)
x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch
x11-misc/mixer_app/mixer_app-1.8.0-r1.ebuild [new file with mode: 0644]

index f36ea6e78ec6bfd9566ecc7992e7a8ab13e7f7f7..232a4cc4e9a3a84957575ed5db2bb74ed0fb0928 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -2,32 +2,24 @@
  # Mixer.app Makefile
  #
diff --git a/x11-misc/mixer_app/mixer_app-1.8.0-r1.ebuild b/x11-misc/mixer_app/mixer_app-1.8.0-r1.ebuild
new file mode 100644 (file)
index 0000000..45d98e6
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P=Mixer.app-${PV}
+
+DESCRIPTION="mixer_app has volume controllers that can be configured to handle sound sources"
+HOMEPAGE="http://www.fukt.bsnet.se/~per/mixer/"
+SRC_URI="http://www.fukt.bsnet.se/~per/mixer/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+       x11-libs/libXext
+       x11-libs/libXpm"
+DEPEND="${RDEPEND}
+       virtual/os-headers
+       x11-base/xorg-proto"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ChangeLog README )
+
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+src_compile() {
+       tc-export CXX
+       emake
+}