[proaudio] [1386] add ardour 3.0 branch ebuild, no slots possible

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1386
Author:   gimpel
Date:     2008-12-12 18:38:44 +0100 (Fri, 12 Dec 2008)

Log Message:
-----------
add ardour 3.0 branch ebuild, no slots possible

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/ardour/Manifest
    trunk/overlays/proaudio/profiles/package.mask

Added Paths:
-----------
    trunk/overlays/proaudio/media-libs/libsndfile/
    trunk/overlays/proaudio/media-libs/libsndfile/Manifest
    trunk/overlays/proaudio/media-libs/libsndfile/libsndfile-1.0.18_pre24.ebuild
    trunk/overlays/proaudio/media-sound/ardour/ardour-3.9999.ebuild


Added: trunk/overlays/proaudio/media-libs/libsndfile/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/libsndfile/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libsndfile/Manifest	2008-12-12 17:38:44 UTC (rev 1386)
@@ -0,0 +1,2 @@
+DIST libsndfile-1.0.18pre24h.tar.gz 922532 RMD160 1850717dbb435d1ee473cb41cf504df316da00b3 SHA1 e258acced815035ce4b566f35bc67d7ee8f243f7 SHA256 39409c82e78a22381bb75547793a6a48c3ef88b75730128a721ca90f8caeecd0
+EBUILD libsndfile-1.0.18_pre24.ebuild 1622 RMD160 b0667183f04c86b6e73c1a90326e94ebbe9acd00 SHA1 5b8b16e82c519ef53d1932ae544f55aa2bc21b18 SHA256 2972c01aa47e2eedc458b01f143feabb5362cb769e4d0022346aea2880f91159

Added: trunk/overlays/proaudio/media-libs/libsndfile/libsndfile-1.0.18_pre24.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/libsndfile/libsndfile-1.0.18_pre24.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/libsndfile/libsndfile-1.0.18_pre24.ebuild	2008-12-12 17:38:44 UTC (rev 1386)
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.17-r1.ebuild,v 1.14 2008/04/21 07:15:33 vapier Exp $
+
+inherit eutils libtool autotools
+
+MY_PV="${PV/_/}h"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A C library for reading and writing files containing sampled sound"
+HOMEPAGE="http://www.mega-nerd.com/libsndfile";
+SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}.tar.gz";
+#	mirror://gentoo/${P}+flac-1.1.3.patch.bz2"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="sqlite flac alsa"
+
+RESTRICT="test"
+
+RDEPEND="flac? ( media-libs/flac )
+	alsa? ( media-libs/alsa-lib )
+	sqlite? ( >=dev-db/sqlite-3.2 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+
+#	epatch "${WORKDIR}/${P}+flac-1.1.3.patch"
+#	epatch "${FILESDIR}/${P}-ogg.patch"
+#	epatch "${FILESDIR}/${P}-flac-buffer-overflow.patch"
+#	epatch "${FILESDIR}/${P}-dontbuild-tests-examples.patch"
+#	epatch "${FILESDIR}/${P}-regtests-need-sqlite.patch"
+#	epatch "${FILESDIR}"/${P}-autotools.patch
+
+	# Fix for autoconf 2.62
+#	sed -i -e '/AC_MSG_WARN(\[\[/d' acinclude.m4 || die
+
+#	eautoreconf
+#	epunt_cxx
+}
+
+src_compile() {
+	econf $(use_enable sqlite) \
+		$(use_enable flac) \
+		$(use_enable alsa) \
+		--disable-werror \
+		--disable-gcc-pipe \
+		--disable-dependency-tracking || die "econf failed."
+	emake || die "emake failed."
+}
+
+src_install() {
+	emake -j1 DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install || die "emake install failed."
+	dodoc AUTHORS ChangeLog NEWS README TODO
+}

Modified: trunk/overlays/proaudio/media-sound/ardour/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/Manifest	2008-12-09 20:18:49 UTC (rev 1385)
+++ trunk/overlays/proaudio/media-sound/ardour/Manifest	2008-12-12 17:38:44 UTC (rev 1386)
@@ -24,6 +24,7 @@
 EBUILD ardour-2.7.1.ebuild 3106 RMD160 a1766aafc80f4bbfaa703f276a4b5bd4e46940fd SHA1 1ada42af36b81fa1476e2c02376d98a906d8812f SHA256 8d7430407d37e598cadb38015505acdd2bce43ede576117594c41a802d3d5591
 EBUILD ardour-2.7_p4225.ebuild 3110 RMD160 b561af3f9e1753c0e304de616052729702284268 SHA1 1f98f15b9c193f884012323157fb48eb65aa2f8e SHA256 a8dc0d4f7ceb4950c815c328dea51d7e61e3554be52d1776677fc5e523266392
 EBUILD ardour-2.9999.ebuild 3686 RMD160 b74408219a71365c7238b557f2c397f59de3b87d SHA1 6a7f76a79c4cc3431b16e386bf5c9d3abab75cc4 SHA256 9f996801de7dd75f82a8ac1201986fb53624c4e658c0d7686f79fd5c3a23263a
+EBUILD ardour-3.9999.ebuild 2490 RMD160 877d57f997f3f5984a0ad770b2d1d1ba3ae0519b SHA1 d79f15c59ff2c3911d5d132baa7fe0f9e645147b SHA256 bd1348b01b9a8eae9686216b48da27d0dbadf2a5acc0b82d32b68c9436001be0
 EBUILD ardour-99992.ebuild 3384 RMD160 8641bbee54012722ebd94f475f44a0b0196402b6 SHA1 82ebe95518524a897291d31e180655937f344b60 SHA256 738ba0d6c785b4f1eef3287d956ec72902807e2d2b8d8ab3e4b5e779dc398c9a
 MISC ChangeLog 2340 RMD160 575c2bffce3e5a49ee9e8fc956123906c5023ab5 SHA1 34e6a366339ea7ad3ef4fcfcea4935215983764f SHA256 bc636640f17a4aba67aee885595be5fa75ed4ae089c0f0b5da0e64ca3281ce10
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/ardour/ardour-3.9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/ardour/ardour-3.9999.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/ardour/ardour-3.9999.ebuild	2008-12-12 17:38:44 UTC (rev 1386)
@@ -0,0 +1,100 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils toolchain-funcs fdo-mime flag-o-matic subversion versionator
+
+DESCRIPTION="multi-track hard disk recording software"
+HOMEPAGE="http://ardour.org/";
+
+ESVN_REPO_URI="http://subversion.ardour.org/svn/ardour2/branches/3.0";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="altivec debug lv2 freesound nls sse surfaces"
+
+RDEPEND="media-libs/liblo
+	media-libs/aubio
+	>=media-libs/liblrdf-0.4.0
+	>=media-libs/raptor-1.4.2
+	>=media-sound/jack-audio-connection-kit-0.109.2
+	>=dev-libs/glib-2.10.3
+	x11-libs/pango
+	>=x11-libs/gtk+-2.8.8
+	media-libs/flac
+	>=media-libs/alsa-lib-1.0.14a-r1[midi]
+	>=media-libs/libsamplerate-0.1.1-r1
+	>=dev-libs/libxml2-2.6.0
+	dev-libs/libxslt
+	>=media-libs/libsndfile-1.0.18_pre24
+	gnome-base/libgnomecanvas
+	x11-themes/gtk-engines
+	>=dev-cpp/gtkmm-2.12.3[accessibility]
+	>=dev-cpp/glibmm-2.14.2
+	>=dev-cpp/libgnomecanvasmm-2.20.0
+	dev-cpp/cairomm
+	>=dev-libs/libsigc++-2.0
+	media-libs/libsoundtouch
+	dev-libs/libusb
+	=sci-libs/fftw-3*
+	freesound? ( net-misc/curl )
+	lv2? ( >=media-libs/slv2-0.6.1 )"
+
+DEPEND="${RDEPEND}
+	sys-devel/libtool
+	dev-libs/boost
+	dev-util/pkgconfig
+	>=dev-util/scons-0.98.5
+	nls? ( sys-devel/gettext )"
+
+ardour_use_enable() {
+	use ${2} && echo "${1}=1" || echo "${1}=0"
+}
+
+src_compile() {
+	# Required for scons to "see" intermediate install location
+	mkdir -p "${D}"
+
+	local FPU_OPTIMIZATION=$((use altivec || use sse) && echo 1 || echo 0)
+	cd "${S}"
+
+	tc-export CC CXX
+
+	scons \
+		$(ardour_use_enable DEBUG debug) \
+		FPU_OPTIMIZATION=${FPU_OPTIMIZATION} \
+		DESTDIR="${D}" \
+		$(ardour_use_enable NLS nls) \
+		$(ardour_use_enable FREESOUND freesound) \
+		$(ardour_use_enable LV2 lv2) \
+		$(ardour_use_enable SURFACES surfaces) \
+		FFT_ANALYSIS=1 \
+		SYSLIBS=1 \
+		CFLAGS="${CFLAGS}" \
+		PREFIX=/usr || die "scons failed"
+}
+
+src_install() {
+	scons install || die "make install failed"
+
+	dodoc DOCUMENTATION/*
+
+	doicon "${S}/icons/icon/ardour_icon_mac.png"
+	make_desktop_entry ardour3 Ardour3 ardour3 AudioVideo
+}
+
+pkg_postinst() {
+	fdo-mime_mime_database_update
+	fdo-mime_desktop_database_update
+	
+	ewarn "---------------- WARNING -------------------"
+	ewarn ""
+	ewarn "MAKE BACKUPS OF THE SESSION FILES."
+	ewarn ""
+	ewarn "The simplest way to address this is to make a copy of the session file itself"
+	ewarn "(e.g mysession/mysession.ardour) and make that file unreadable using chmod(1)."
+	ewarn ""
+}

Modified: trunk/overlays/proaudio/profiles/package.mask
===================================================================
--- trunk/overlays/proaudio/profiles/package.mask	2008-12-09 20:18:49 UTC (rev 1385)
+++ trunk/overlays/proaudio/profiles/package.mask	2008-12-12 17:38:44 UTC (rev 1386)
@@ -1,16 +1 @@
-# as the portage version scheme is wrong
-# rosegarden-4 was the name of the project
-=media-sound/rosegarden-4*
-
-# seems broken atm, does not start correctly
-=media-sound/bristol-0.10.1
-
-# horribly broken app
-media-sound/wired
-
-# World's most fucked up build system [tm]
-# If autofoo is too complicated, than what's this? lol!
-=media-sound/bpmdj-3.6
-
-# Alpha release - masked for testing
-=media-sound/lmms-0.4.0_alpha2
+=media-libs/libsndfile-1.0.18_pre*


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/