summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-11-13 22:09:53 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-11-13 22:09:53 +0000
commit30f16bdf1aa9c5de79ca7996fbc56a647e05239f (patch)
tree1ec63392ddde8a27b59e2940bab7d53e1049ac47 /media-sound/denemo
parentStable for HPPA (bug #238762). (diff)
downloadgentoo-2-30f16bdf1aa9c5de79ca7996fbc56a647e05239f.tar.gz
gentoo-2-30f16bdf1aa9c5de79ca7996fbc56a647e05239f.tar.bz2
gentoo-2-30f16bdf1aa9c5de79ca7996fbc56a647e05239f.zip
Bump, as per bug 241882, on request of drac.
(Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc3 x86_64)
Diffstat (limited to 'media-sound/denemo')
-rw-r--r--media-sound/denemo/ChangeLog8
-rw-r--r--media-sound/denemo/denemo-0.8.0.ebuild48
-rw-r--r--media-sound/denemo/files/denemo-0.8.0-DESTDIR.patch17
3 files changed, 72 insertions, 1 deletions
diff --git a/media-sound/denemo/ChangeLog b/media-sound/denemo/ChangeLog
index 4caf544eea84..d538bb1dff86 100644
--- a/media-sound/denemo/ChangeLog
+++ b/media-sound/denemo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/denemo
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/denemo/ChangeLog,v 1.24 2008/01/31 20:36:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/denemo/ChangeLog,v 1.25 2008/11/13 22:09:53 loki_val Exp $
+
+*denemo-0.8.0 (13 Nov 2008)
+
+ 13 Nov 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/denemo-0.8.0-DESTDIR.patch, +denemo-0.8.0.ebuild:
+ Bump, as per bug 241882, on request of drac.
31 Jan 2008; Raúl Porcel <armin76@gentoo.org> denemo-0.7.7.ebuild:
Re-add ~sparc wrt #207603
diff --git a/media-sound/denemo/denemo-0.8.0.ebuild b/media-sound/denemo/denemo-0.8.0.ebuild
new file mode 100644
index 000000000000..cb6d98c61a39
--- /dev/null
+++ b/media-sound/denemo/denemo-0.8.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/denemo/denemo-0.8.0.ebuild,v 1.1 2008/11/13 22:09:53 loki_val Exp $
+
+inherit base autotools
+
+DESCRIPTION="GTK+ graphical music notation editor."
+HOMEPAGE="http://denemo.sourceforge.net"
+SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="alsa nls"
+
+RDEPEND=">=x11-libs/gtk+-2
+ dev-libs/libxml2
+ gnome-base/librsvg
+ media-libs/aubio
+ =media-libs/portaudio-19*
+ alsa? ( >=media-libs/alsa-lib-0.9 )"
+DEPEND="${RDEPEND}
+ || ( dev-util/yacc sys-devel/bison )
+ sys-devel/flex
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=( "${FILESDIR}/${P}-DESTDIR.patch" )
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"
+ # denemo.png installs to wrong directory.
+ sed -e 's:icons:pixmaps:' -i src/view.c \
+ -i pixmaps/Makefile.am
+ eautoreconf
+}
+
+src_compile() {
+ econf --enable-gtk2 --disable-xmltest --disable-alsatest \
+ $(use_enable nls) $(use_enable alsa)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README*
+}
diff --git a/media-sound/denemo/files/denemo-0.8.0-DESTDIR.patch b/media-sound/denemo/files/denemo-0.8.0-DESTDIR.patch
new file mode 100644
index 000000000000..24283c1a8534
--- /dev/null
+++ b/media-sound/denemo/files/denemo-0.8.0-DESTDIR.patch
@@ -0,0 +1,17 @@
+diff -NrU5 denemo-0.8.0.orig/Makefile.am denemo-0.8.0/Makefile.am
+--- denemo-0.8.0.orig/Makefile.am 2008-11-13 22:41:49.000000000 +0100
++++ denemo-0.8.0/Makefile.am 2008-11-13 22:42:25.000000000 +0100
+@@ -14,11 +14,11 @@
+ missing install-sh config.sub \
+ acinclude.m4 config.log \
+ depcomp
+
+ install-data-hook:
+- cp -r actions $(datadir)/${PACKAGE}/
+- chmod -R 755 $(datadir)/${PACKAGE}/actions
++ cp -r actions $(DESTDIR)/$(datadir)/${PACKAGE}/
++ chmod -R 755 $(DESTDIR)/$(datadir)/${PACKAGE}/actions
+ dist-hook: @PACKAGE@.spec
+ cp $(srcdir)/@PACKAGE@.spec $(distdir)
+
+ ACLOCAL_AMFLAGS = -I m4