Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/ardour: ChangeLog ardour-2.7_p4225.ebuild
Date: Sun, 23 Nov 2008 12:25:47
Message-Id: E1L4E23-0005NL-Iz@stork.gentoo.org
1 aballier 08/11/23 12:25:43
2
3 Modified: ChangeLog
4 Added: ardour-2.7_p4225.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc15/cvs/Linux 2.6.27.5 x86_64)
8
9 Revision Changes Path
10 1.82 media-sound/ardour/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ardour/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ardour/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ardour/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 3 Nov 2008 21:48:43 -0000 1.81
23 +++ ChangeLog 23 Nov 2008 12:25:43 -0000 1.82
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/ardour
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.81 2008/11/03 21:48:43 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.82 2008/11/23 12:25:43 aballier Exp $
29 +
30 +*ardour-2.7_p4225 (23 Nov 2008)
31 +
32 + 23 Nov 2008; Alexis Ballier <aballier@g.o>
33 + +ardour-2.7_p4225.ebuild:
34 + version bump
35
36 *ardour-2.6.1_p4010 (03 Nov 2008)
37
38
39
40
41 1.1 media-sound/ardour/ardour-2.7_p4225.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ardour/ardour-2.7_p4225.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ardour/ardour-2.7_p4225.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ardour-2.7_p4225.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-2.7_p4225.ebuild,v 1.1 2008/11/23 12:25:43 aballier Exp $
51
52 EAPI=2
53
54 inherit eutils toolchain-funcs flag-o-matic versionator
55
56 DESCRIPTION="multi-track hard disk recording software"
57 HOMEPAGE="http://ardour.org/"
58 SRC_URI="http://ardour.org/files/releases/${P/_p/-}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="altivec debug freesound nls sse"
64
65 RDEPEND="media-libs/liblo
66 media-libs/aubio
67 >=media-libs/liblrdf-0.4.0
68 >=media-libs/raptor-1.4.2
69 >=media-sound/jack-audio-connection-kit-0.109.2
70 >=dev-libs/glib-2.10.3
71 x11-libs/pango
72 >=x11-libs/gtk+-2.8.8
73 media-libs/flac
74 >=media-libs/alsa-lib-1.0.14a-r1[midi]
75 >=media-libs/libsamplerate-0.1.1-r1
76 >=dev-libs/libxml2-2.6.0
77 dev-libs/libxslt
78 >=media-libs/libsndfile-1.0.16
79 gnome-base/libgnomecanvas
80 x11-themes/gtk-engines
81 >=dev-cpp/gtkmm-2.12.3[accessibility]
82 >=dev-cpp/glibmm-2.14.2
83 >=dev-cpp/libgnomecanvasmm-2.20.0
84 dev-cpp/cairomm
85 >=dev-libs/libsigc++-2.0
86 media-libs/libsoundtouch
87 dev-libs/libusb
88 =sci-libs/fftw-3*
89 freesound? ( net-misc/curl )"
90 # slv2? ( >=media-libs/slv2-0.6.1 )
91
92 DEPEND="${RDEPEND}
93 sys-devel/libtool
94 dev-libs/boost
95 dev-util/pkgconfig
96 >=dev-util/scons-0.98.5
97 nls? ( sys-devel/gettext )"
98
99 S=${WORKDIR}/${P%_p*}
100
101 src_unpack() {
102 unpack ${A}
103 cd "${S}"
104
105 epatch "${FILESDIR}/${PN}-2.0.3-sndfile-external.patch"
106 epatch "${FILESDIR}/${PN}-2.4-cflags.patch"
107 }
108
109 ardour_use_enable() {
110 use ${2} && echo "${1}=1" || echo "${1}=0"
111 }
112
113 src_compile() {
114 # Required for scons to "see" intermediate install location
115 mkdir -p "${D}"
116
117 local FPU_OPTIMIZATION=$((use altivec || use sse) && echo 1 || echo 0)
118 cd "${S}"
119
120 tc-export CC CXX
121
122 scons \
123 $(ardour_use_enable DEBUG debug) \
124 FPU_OPTIMIZATION=${FPU_OPTIMIZATION} \
125 DESTDIR="${D}" \
126 $(ardour_use_enable NLS nls) \
127 $(ardour_use_enable FREESOUND freesound) \
128 FFT_ANALYSIS=1 \
129 SYSLIBS=1 \
130 CFLAGS="${CFLAGS}" \
131 LV2=0 \
132 PREFIX=/usr || die "scons failed"
133 }
134
135 src_install() {
136 scons install || die "make install failed"
137
138 dodoc DOCUMENTATION/*
139
140 doicon "${S}/icons/icon/ardour_icon_mac.png"
141 make_desktop_entry ardour2 Ardour2 ardour_icon_mac AudioVideo
142 }
143
144 pkg_postinst() {
145 ewarn "---------------- WARNING -------------------"
146 ewarn ""
147 ewarn "Do not use Ardour 2.0 to open the only copy of sessions created with Ardour 0.99."
148 ewarn "Ardour 2.0 saves the session file in a new format that Ardour 0.99 will"
149 ewarn "not understand."
150 ewarn ""
151 ewarn "MAKE BACKUPS OF THE SESSION FILES."
152 ewarn ""
153 ewarn "The simplest way to address this is to make a copy of the session file itself"
154 ewarn "(e.g mysession/mysession.ardour) and make that file unreadable using chmod(1)."
155 ewarn ""
156 ewarn "---------------- WARNING -------------------"
157 ewarn ""
158 ewarn "If you use KDE 3.5, be sure to uncheck 'Apply colors to non-KDE applications' in"
159 ewarn "the colors configuration module if you want to be able to actually see various"
160 ewarn "texts in Ardour 2."
161 }