blob: b8fdbf3ac5253d39d6c0e51069e0981bba99e7f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-0.99.2.ebuild,v 1.1 2006/02/21 19:29:57 eldad Exp $
inherit eutils
DESCRIPTION="multi-track hard disk recording software"
HOMEPAGE="http://ardour.org/"
SRC_URI="http://ardour.org/releases/${P/_/}.tar.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE="nls debug sse altivec"
# From beta30 release notes:
# plugin latency compensation now working correctly (we believe)
# This really requires JACK 0.100.0 or above to work
# properly, but even without that, they result in notable improvements
# in the way Ardour aligns newly recorded material.
#
# As media-sound/jack-audio-connection-kit-0.100.0 is still -arch and it is not required for beta30
# only suggested, RDEPEND needs to be updated as media-sound/jack-audio-connection-kit-0.100.0 gets
# into ~arch. (2005 Sep 14 eldad)
RDEPEND="dev-util/pkgconfig
>=media-libs/liblrdf-0.3.6
>=media-libs/raptor-1.2.0
>=media-sound/jack-audio-connection-kit-0.98.1
=dev-libs/glib-1.2*
=x11-libs/gtk+-1.2*
>=media-libs/libsndfile-1.0.4
sys-libs/gdbm
>=media-libs/ladspa-sdk-1.12
>=media-libs/libsamplerate-0.0.14
>=dev-libs/libxml2-2.5.7
>=media-libs/libart_lgpl-2.3.16"
DEPEND="${RDEPEND}
sys-devel/autoconf
sys-devel/automake
dev-util/pkgconfig
>=dev-util/scons-0.96.1
nls? ( sys-devel/gettext )"
S="${WORKDIR}/${P/_/}"
src_compile() {
# bug 99664
cd ${S}/libs/gtkmm
chmod a+x autogen.sh && ./autogen.sh || die "autogen failed"
econf || die "configure failed"
# Required for scons to "see" intermediate install location
mkdir -p ${D}
use altivec && ALTIVEC=1 || ALTIVEC=0
use debug && ARDOUR_DEBUG=1 || ARDOUR_DEBUG=0
use nls && NLS=1 || NLS=0
use sse && SSE=1 || SSE=0
cd ${S}
scons \
ALTIVEC=${ALTIVEC} \
DEBUG=${ARDOUR_DEBUG} \
DESTDIR=${D} \
NLS=${NLS} \
PREFIX=/usr \
USE_SSE_EVERYWHERE=${SSE} \
KSI=0 \
-j2
}
src_install() {
scons install || die "make install failed"
dodoc DOCUMENTATION/*
}
pkg_postinst() {
if useq sse
then
einfo ""
einfo "Start ardour with the -o argument to use the optimized SSE functions:"
einfo ""
einfo " ardour -o"
einfo ""
fi
}
|