summaryrefslogtreecommitdiff
path: root/media-sound/umix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
commit06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch)
tree8d58c1f4b049da677b33209b072f2b3057268fe0 /media-sound/umix
parent99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff)
gentoo resync : 02.03.2018
Diffstat (limited to 'media-sound/umix')
-rw-r--r--media-sound/umix/Manifest2
-rw-r--r--media-sound/umix/files/umix-1.0.2-tinfo.patch18
-rw-r--r--media-sound/umix/umix-1.0.2-r1.ebuild37
3 files changed, 57 insertions, 0 deletions
diff --git a/media-sound/umix/Manifest b/media-sound/umix/Manifest
index c1d6f83e487f..2838cb2910eb 100644
--- a/media-sound/umix/Manifest
+++ b/media-sound/umix/Manifest
@@ -1,3 +1,5 @@
+AUX umix-1.0.2-tinfo.patch 381 BLAKE2B b54721623167ae634b5e6e0243ffe9fb57c7af3f99236e23317163aa95926bf2c2a56b07eed1bdd228c7d92c21e0009dd5044e551e9d06bd3488bbb47a9666db SHA512 acd5f8c6a22ed857182fabba848b1718d1031cd6b7c15456e25f37387ed8cb6c354accd1e83781954c9beed88337889538dc1e38992a4ddadabc3077941c048e
DIST umix-1.0.2.tar.gz 225866 BLAKE2B 8ab2b3246440fcab64edea366dafd5d8f734c42483fd78410a1f884c2b046a27fdb6959023d6c537900c64409ad0f606e7d2c2e91f23bdd03dda61940ba7d29b SHA512 9e59a26c0b6cd60bbcfa715694ed58e023c119840080ccb46d9e6b17a9613fd42c1346233a5185d02ece77e3f3e456e18be25573fd34e2f265c5b0b3dc593468
+EBUILD umix-1.0.2-r1.ebuild 695 BLAKE2B 185a36534971d34df0b11c6cf6d0140ec595556edbc0148cffb19b5182a9653ea1e1e22a6b48080d1d7d17a34421cefc0e8ecdbfc8531212082db0c4cc80eb8c SHA512 de04eaa64f8507652711c5773c14aac6cba458d9d920ec046edeaf04a465076158ae69e882d4cc190122cfd642c7435ba5d05570801ff5f5d8e753fd1ad76b61
EBUILD umix-1.0.2.ebuild 619 BLAKE2B 27033382ab54d79fc3244a7958a13bed0541ba4211b077812e3ec64dd9087decf0c430910de961400fde087e8ca52e47e9157c8f2b662527dd16a3cd2338b444 SHA512 f214255a8ebb1704abe450b155b15a563563368e1328a821ab46b61690cb1394d35c73fb479a41347ea488722c11c3abceb4b7e70c3fc802068d6455da76b9c1
MISC metadata.xml 327 BLAKE2B 8c7901bd5f9eac11aa6e16d5df9e6a2ea87475effc0623deb6fc73d741f1ea92b8dc00f77f5edc95b05fe9ef643478497aeb9ebf28274155c4d21b6ebec783ee SHA512 e46843a6b8a9feb294b713eb1766900dbebf7211212423c9e791f0ffa59faeb9fb0c909c4268d13d737d80818fc343d6c067b8dc3bf369515083e7f1fc3abb71
diff --git a/media-sound/umix/files/umix-1.0.2-tinfo.patch b/media-sound/umix/files/umix-1.0.2-tinfo.patch
new file mode 100644
index 000000000000..65c0d7158375
--- /dev/null
+++ b/media-sound/umix/files/umix-1.0.2-tinfo.patch
@@ -0,0 +1,18 @@
+--- a/configure.in
++++ b/configure.in
+@@ -89,6 +89,7 @@
+ then
+ AC_CHECK_LIB(curses, initscr, NCURSLIB="curses", NCURSLIB="")
+ fi
++ AC_SEARCH_LIBS(stdscr,tinfo)
+ fi
+ if test "x$NCURSLIB" != "x"
+ then
+@@ -97,6 +98,7 @@
+ AC_DEFINE(HAVE_NCURSES)
+ LIBS="$LIBS -l$NCURSLIB"
+ umix_CONDOBJS="$umix_CONDOBJS ui_ncurses.o"
++ AC_SEARCH_LIBS(stdscr,tinfo)
+ else
+ have_ncurses="no"
+ fi
diff --git a/media-sound/umix/umix-1.0.2-r1.ebuild b/media-sound/umix/umix-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..8af3d98d5b02
--- /dev/null
+++ b/media-sound/umix/umix-1.0.2-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="Program for adjusting soundcard volumes"
+HOMEPAGE="http://umix.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="ncurses oss"
+
+DEPEND="ncurses? ( >=sys-libs/ncurses-5.2:= )"
+RDEPEND="
+ ${DEPEND}
+"
+PATCHES=(
+ "${FILESDIR}"/${P}-tinfo.patch
+)
+DOCS=(
+ AUTHORS ChangeLog NEWS README TODO
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use ncurses || myconf="--disable-ncurses"
+ use oss || myconf="${myconf} --disable-oss"
+ econf ${myconf}
+}