# 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.3 2008/12/04 19:57:38 ssuominen 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="nls" RDEPEND=">=x11-libs/gtk+-2 >=dev-libs/libxml2-2.3.10 gnome-base/librsvg >=media-libs/aubio-0.3.2 =media-libs/portaudio-19* >=dev-scheme/guile-1.8 >=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 || die "sed failed." eautoreconf } src_compile() { econf --disable-dependency-tracking $(use_enable nls) emake || die "emake failed." } src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc AUTHORS ChangeLog NEWS README* } pkg_postinst() { elog "Suggested packages: media-sound/timidity++." }