summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-07-25 12:03:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-07-25 12:03:18 +0000
commitde1553a8fbe2748c6e0ac0720b30eb1bab8e72fb (patch)
tree008934b4ff3eb9af4515928e8429292a60e5d563 /media-sound/denemo/denemo-0.7.6.ebuild
parentinherit multilib (diff)
downloadhistorical-de1553a8fbe2748c6e0ac0720b30eb1bab8e72fb.tar.gz
historical-de1553a8fbe2748c6e0ac0720b30eb1bab8e72fb.tar.bz2
historical-de1553a8fbe2748c6e0ac0720b30eb1bab8e72fb.zip
Version bump and install denemo.png to correct pixmaps directory.
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'media-sound/denemo/denemo-0.7.6.ebuild')
-rw-r--r--media-sound/denemo/denemo-0.7.6.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/media-sound/denemo/denemo-0.7.6.ebuild b/media-sound/denemo/denemo-0.7.6.ebuild
new file mode 100644
index 000000000000..511c44ba7bdc
--- /dev/null
+++ b/media-sound/denemo/denemo-0.7.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/denemo/denemo-0.7.6.ebuild,v 1.1 2007/07/25 12:03:18 drac Exp $
+
+DESCRIPTION="GTK+ graphical music notation editor."
+HOMEPAGE="http://denemo.sourceforge.net"
+SRC_URI="mirror://sourceforge/${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
+ alsa? ( >=media-libs/alsa-lib-0.9 )"
+DEPEND="${RDEPEND}
+ || ( dev-util/yacc sys-devel/bison )
+ sys-devel/flex
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # denemo.png installs to wrong directory.
+ sed -e 's:icons:pixmaps:' -i src/view.c \
+ -i pixmaps/Makefile.in
+}
+
+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 DESIGN* GOALS NEWS README* TODO
+}