commit:     93e047395ab875eecbde7c6ab0ac0987629b0df9
Author:     RobinDX <robin9800xt <AT> gmail <DOT> com>
AuthorDate: Wed Jan 20 16:12:23 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 16:42:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93e04739

media-sound/gst123: Resolve issue with configure and ncurses

 media-sound/gst123/files/configure.ac.patch | 14 +++++++++++++
 media-sound/gst123/gst123-0.3.3-r1.ebuild   | 31 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/media-sound/gst123/files/configure.ac.patch 
b/media-sound/gst123/files/configure.ac.patch
new file mode 100644
index 0000000..5d6184d
--- /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 0000000..f4ec43f
--- /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
+}

Reply via email to