Gentoo Archives: gentoo-commits

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