From c484ce7efe0dfd1c2d421df3b503f75568e64314 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 14 Oct 2008 16:17:10 +0000 Subject: Add a revision using EAPI 1 to enable by default the Gtk+ interface (both UIs can't be disabled at once. (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) --- media-sound/alsa-patch-bay/ChangeLog | 9 +++- .../alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 media-sound/alsa-patch-bay/alsa-patch-bay-1.0.0-r3.ebuild (limited to 'media-sound/alsa-patch-bay') 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ò + +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 +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 +} -- cgit v1.2.3-65-gdbad