public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/pitchtune/files/, media-sound/pitchtune/
@ 2016-08-20 11:16 Jeroen Roovers
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2016-08-20 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     588abdb8b495e3afccfac126d5d1c20d940b08c1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 20 11:16:28 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 11:16:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=588abdb8

media-sound/pitchtune: Fix underlinking (bug #515150).

Package-Manager: portage-2.3.0

 .../pitchtune/files/pitchtune-0.0.4-lm.patch       | 10 +++++++
 media-sound/pitchtune/pitchtune-0.0.4.ebuild       | 35 +++++++++++++++-------
 2 files changed, 35 insertions(+), 10 deletions(-)

diff --git a/media-sound/pitchtune/files/pitchtune-0.0.4-lm.patch b/media-sound/pitchtune/files/pitchtune-0.0.4-lm.patch
new file mode 100644
index 0000000..b559884
--- /dev/null
+++ b/media-sound/pitchtune/files/pitchtune-0.0.4-lm.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -17,6 +17,7 @@
+ PKG_CHECK_MODULES(GTK, [$pkg_modules])
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
++AC_SEARCH_LIBS(ceil, m)
+ 
+ 
+ dnl From glade-2 generated configure.in

diff --git a/media-sound/pitchtune/pitchtune-0.0.4.ebuild b/media-sound/pitchtune/pitchtune-0.0.4.ebuild
index 9490f9b..72546e8 100644
--- a/media-sound/pitchtune/pitchtune-0.0.4.ebuild
+++ b/media-sound/pitchtune/pitchtune-0.0.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=2
-inherit eutils
+EAPI=6
+inherit autotools eutils
 
 DESCRIPTION="Precise Instrument Tweaking for Crispy Harmony - tuner"
 HOMEPAGE="https://sourceforge.net/projects/pitchtune/"
@@ -12,16 +12,31 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
-RDEPEND="x11-libs/gtk+:2
-	media-libs/alsa-lib"
-DEPEND="${RDEPEND}
-	sys-devel/gettext"
+RDEPEND="
+	dev-libs/glib:2
+	x11-libs/gtk+:2
+	media-libs/alsa-lib
+"
+DEPEND="
+	${RDEPEND}
+	sys-devel/gettext
+"
+
+DOCS=( AUTHORS README REQUIRED TODO )
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.0.4-lm.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
 
 src_install() {
-	emake DESTDIR="${D}" install || die "emake install failed"
+	default
+
 	doicon pixmaps/${PN}.xpm
 	make_desktop_entry ${PN} Pitchtune
-	dodoc AUTHORS README REQUIRED TODO
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-20 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-20 11:16 [gentoo-commits] repo/gentoo:master commit in: media-sound/pitchtune/files/, media-sound/pitchtune/ Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox