diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 16:17:10 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 16:17:10 +0000 |
commit | bd5f645ecbd7358988d7ac7afff7b126a290f374 (patch) | |
tree | 98c65cbcbf85107445856172c19b4d92bd28d7ab /media-sound | |
parent | Add extension-support and templates integration, lots of cleanups, remove som... (diff) | |
download | historical-bd5f645ecbd7358988d7ac7afff7b126a290f374.tar.gz historical-bd5f645ecbd7358988d7ac7afff7b126a290f374.tar.bz2 historical-bd5f645ecbd7358988d7ac7afff7b126a290f374.zip |
Add a revision using EAPI 1 to enable by default the Gtk+ interface (both UIs can't be disabled at once.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-patch-bay/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild | 51 |
2 files changed, 59 insertions, 1 deletions
diff --git a/media-sound/alsa-patch-bay/ChangeLog b/media-sound/alsa-patch-bay/ChangeLog index 9eb829933c01..9f234b5f36f5 100644 --- a/media-sound/alsa-patch-bay/ChangeLog +++ b/media-sound/alsa-patch-bay/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/alsa-patch-bay # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-patch-bay/ChangeLog,v 1.26 2008/06/09 10:38:02 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-patch-bay/ChangeLog,v 1.27 2008/10/14 16:17:10 flameeyes Exp $ + +*alsa-patch-bay-1.0.0-r3 (14 Oct 2008) + + 14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> + +alsa-patch-bay-1.0.0-r3.ebuild: + Add a revision using EAPI 1 to enable by default the Gtk+ interface (both + UIs can't be disabled at once. 09 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> +files/alsa-patch-bay-1.0.0-gcc43.patch, alsa-patch-bay-1.0.0-r2.ebuild: diff --git a/media-sound/alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild b/media-sound/alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild new file mode 100644 index 000000000000..79d8de34840d --- /dev/null +++ b/media-sound/alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild,v 1.1 2008/10/14 16:17:10 flameeyes Exp $ + +EAPI=1 + +IUSE="alsa jack ladcca fltk +gtk" + +inherit eutils + +DESCRIPTION="Graphical patch bay for the ALSA sequencer API." +HOMEPAGE="http://pkl.net/~node/software/alsa-patch-bay/index.html" +SRC_URI="http://pkl.net/~node/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="gtk? ( =dev-cpp/gtkmm-2.2* ) + fltk? ( >=x11-libs/fltk-1.1.2 ) + alsa? ( >=media-libs/alsa-lib-0.9.0_rc1 ) + jack? ( media-sound/jack-audio-connection-kit ) + ladcca? ( media-libs/ladcca )" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-amd64.patch + epatch "${FILESDIR}"/${P}-gcc43.patch +} + +src_compile() { + econf $(use_enable fltk) $(use_enable gtk gtkmm) $(use_enable jack) \ + $(use_enable alsa) $(use_enable jack) || die + emake || die +} + +src_install() { + # needs patching: make DESTDIR="${D}" APB_DESKTOP_PREFIX=/usr/share install || die + einstall APB_DESKTOP_PREFIX="${D}"/usr/share || die + dodoc AUTHORS NEWS README THANKS TODO +} + +pkg_preinst() { + if [ -e "${D}"/usr/bin/jack-patch-bay ] + then + rm "${D}"/usr/bin/jack-patch-bay + ln -s alsa-patch-bay "${D}"/usr/bin/jack-patch-bay + fi +} |