summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobinDX <robin9800xt@gmail.com>2016-01-21 00:12:23 +0800
committerPatrice Clement <monsieurp@gentoo.org>2016-01-20 16:42:28 +0000
commit93e047395ab875eecbde7c6ab0ac0987629b0df9 (patch)
treeb1d018262b76c630143704db8968b1f62d127dad /media-sound/gst123
parentprofiles: games-fps/ut2004-ultraduel and games-misc/bsd-games-non-free are gone (diff)
downloadgentoo-93e047395ab875eecbde7c6ab0ac0987629b0df9.tar.gz
gentoo-93e047395ab875eecbde7c6ab0ac0987629b0df9.tar.bz2
gentoo-93e047395ab875eecbde7c6ab0ac0987629b0df9.zip
media-sound/gst123: Resolve issue with configure and ncurses
Diffstat (limited to 'media-sound/gst123')
-rw-r--r--media-sound/gst123/files/configure.ac.patch14
-rw-r--r--media-sound/gst123/gst123-0.3.3-r1.ebuild31
2 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/gst123/files/configure.ac.patch b/media-sound/gst123/files/configure.ac.patch
new file mode 100644
index 000000000000..5d6184d64dcb
--- /dev/null
+++ b/media-sound/gst123/files/configure.ac.patch
@@ -0,0 +1,14 @@
+--- configure.ac.orig 2016-01-20 21:39:22.900434965 +0800
++++ configure.ac 2016-01-20 21:39:07.422742473 +0800
+@@ -102,9 +102,9 @@
+ dnl
+ AC_DEFUN([AC_NCURSES_REQUIREMENTS],
+ [
+- AC_PATH_PROG(NCURSES5_CONFIG,ncurses5-config,no)
++ AC_PATH_PROG(NCURSES5_CONFIG,ncurses6-config,no)
+ if test "$NCURSES5_CONFIG" = "no"; then
+- AC_MSG_ERROR([You need to have ncurses5-config installed to build this package.
++ AC_MSG_ERROR([You need to have ncurses6-config installed to build this package.
+
+ Debian users: aptitude install libncurses-dev
+ ])
diff --git a/media-sound/gst123/gst123-0.3.3-r1.ebuild b/media-sound/gst123/gst123-0.3.3-r1.ebuild
new file mode 100644
index 000000000000..f4ec43f07802
--- /dev/null
+++ b/media-sound/gst123/gst123-0.3.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils autotools
+
+DESCRIPTION="A more flexible command line player in the spirit of ogg123 and mpg123, based on gstreamer"
+HOMEPAGE="http://space.twc.de/~stefan/gst123.php"
+SRC_URI="http://space.twc.de/~stefan/gst123/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-libs/glib
+ media-libs/gst-plugins-base:1.0
+ media-libs/gstreamer:1.0
+ sys-libs/ncurses
+ x11-libs/gtk+:2
+ x11-libs/libX11"
+RDEPEND="${CDEPEND}
+ media-plugins/gst-plugins-meta:1.0"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "$FILESDIR"/configure.ac.patch
+ eautoreconf
+}