summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-04-05 09:59:53 +0000
committerTim Harder <radhermit@gentoo.org>2013-04-05 09:59:53 +0000
commita7c35619a566597ba33d2bc2f814831e3556a3ee (patch)
tree29499b15e931e101297dc94e5d85aa0191b24f25 /media-sound/rosegarden/rosegarden-13.04.ebuild
parentVersion bump. (diff)
downloadhistorical-a7c35619a566597ba33d2bc2f814831e3556a3ee.tar.gz
historical-a7c35619a566597ba33d2bc2f814831e3556a3ee.tar.bz2
historical-a7c35619a566597ba33d2bc2f814831e3556a3ee.zip
Version bump.
Package-Manager: portage-2.2.0_alpha171/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'media-sound/rosegarden/rosegarden-13.04.ebuild')
-rw-r--r--media-sound/rosegarden/rosegarden-13.04.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/media-sound/rosegarden/rosegarden-13.04.ebuild b/media-sound/rosegarden/rosegarden-13.04.ebuild
new file mode 100644
index 000000000000..262a1de00b45
--- /dev/null
+++ b/media-sound/rosegarden/rosegarden-13.04.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rosegarden/rosegarden-13.04.ebuild,v 1.1 2013/04/05 09:59:51 radhermit Exp $
+
+EAPI=5
+inherit autotools eutils fdo-mime gnome2-utils multilib
+
+DESCRIPTION="MIDI and audio sequencer and notation editor"
+HOMEPAGE="http://www.rosegardenmusic.com/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug lirc"
+
+RDEPEND="dev-qt/qtgui:4
+ media-libs/ladspa-sdk
+ x11-libs/libSM
+ media-sound/jack-audio-connection-kit
+ media-libs/alsa-lib
+ >=media-libs/dssi-1.0.0
+ media-libs/liblo
+ media-libs/liblrdf
+ sci-libs/fftw:3.0
+ media-libs/libsamplerate[sndfile]
+ lirc? ( app-misc/lirc )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-misc/makedepend"
+
+src_prepare() {
+ if ! use lirc; then
+ sed -i \
+ -e '/AC_CHECK_HEADER/s:lirc_client.h:dIsAbLe&:' \
+ -e '/AC_CHECK_LIB/s:lirc_init:dIsAbLe&:' \
+ configure.ac || die
+ fi
+
+ epatch "${FILESDIR}"/${PN}-12.12.25-debug.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ export USER_CXXFLAGS="${CXXFLAGS}"
+
+ econf \
+ $(use_enable debug) \
+ --with-qtdir=/usr \
+ --with-qtlibdir=/usr/$(get_libdir)/qt4
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}