/[gentoo-x86]/media-sound/ardour-cvs/ardour-cvs-0.6.4.ebuild
Gentoo

Contents of /media-sound/ardour-cvs/ardour-cvs-0.6.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Nov 7 15:29:35 2003 UTC (16 years, 5 months ago) by tigger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
removing cvs ebuilds. please use the beta ebuilds now

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-sound/ardour-cvs/ardour-cvs-0.6.4.ebuild,v 1.10 2003/09/11 01:21:31 msterret Exp $
4
5 IUSE="nls"
6
7 inherit cvs
8
9 ECVS_SERVER="cvs.ardour.sourceforge.net:/cvsroot/ardour"
10 ECVS_MODULE="ardour"
11 ECVS_TOP_DIR="${DISTDIR}/cvs-src/ardour"
12
13 DESCRIPTION="multi-track hard disk recording software"
14 HOMEPAGE="http://ardour.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/ardour/ardour-pixmaps-2.6.tar.bz2"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~x86"
20
21 DEPEND="$DEPEND
22 dev-util/pkgconfig
23 >=media-libs/alsa-lib-0.9.0_rc7
24 media-sound/jack-cvs
25 =dev-libs/glib-1.2*
26 =x11-libs/gtk+-1.2*
27 >=media-libs/libsndfile-1.0.4
28 sys-libs/gdbm
29 >=media-libs/ladspa-sdk-1.12
30 >=media-libs/libsamplerate-0.0.14
31 >=media-libs/liblrdf-0.3.1
32 >=dev-libs/libxml2-2.5.7
33 =media-libs/libart_lgpl-2.3*"
34
35 RDEPEND="nls? ( sys-devel/gettext )"
36
37 S="${WORKDIR}/${PN/-cvs/}"
38
39 src_compile() {
40
41 local myconf="--disable-dependency-tracking"
42 export WANT_AUTOCONF_2_5=1
43 sh autogen.sh
44 # nasty little hack to create version.h, will remove when this
45 # is fixed upstream...
46 cd gtk_ardour
47 sh version.sh remake || die "failed to create version.h"
48 cd ..
49 use nls || myconf="${myconf} --disable-nls"
50 # diable ksi for now, not currently compiling...
51 myconf="${myconf} --disable-ksi"
52 econf ${myconf} || die "configure failed"
53
54 # while troubleshooting upgrades to ardour-cvs-0.6 i changed from
55 # emake to make. Can probably change back. Need to test.
56 emake || die "parallel make failed"
57
58 }
59
60 src_install() {
61
62 einstall || die "make install failed"
63
64 pushd ${WORKDIR}
65 mkdir pixmaps
66 cd pixmaps
67 unpack ${DISTFILES}/ardour-pixmaps-2.6.tar.bz2
68 dodir /usr/share/ardour/pixmaps
69 cp * ${D}/usr/share/ardour/pixmaps
70 popd
71
72 insinto /usr/share/ardour
73
74 cp ardour.rc ardour.rc~
75 sed -e 's/\/usr\/local\/music\/src\/ardour\//\/usr\/local\/share\/ardour\//' \
76 -e 's/\/home\/paul\//\/usr\/local\/share\/ardour\//' ardour.rc~ > ardour.rc
77 cp ardour.rc sample_ardour.rc
78
79 cp ardour_system.rc ardour_system.rc~
80 sed -e 's/\/usr\/local\/music\/src\/ardour\//\/usr\/local\/share\/ardour\//' ardour_system.rc~ > ardour_system.rc
81
82 doins ${S}/ardour_system.rc
83 doins ${S}/ardour_ui.rc
84
85 dodoc ${S}/AUTHORS ${S}/INSTALL ${S}/README ${S}/README.it \
86 ${S}/NEWS ${S}/COPYING ${S}/ChangeLog ${S}/sample_ardour.rc \
87 ${S}/FAQ
88 doman ${S}/ardour.1
89 }
90
91 pkg_postinst() {
92
93 einfo ""
94 einfo "ardour-cvs now depends on jack-cvs"
95 einfo "make sure to re-emerge jack-cvs before re-emerging ardour-cvs"
96 einfo "as the development of both programs are closely linked."
97 einfo ""
98 einfo "to get ardour to run you will need to copy the file sample_ardour.rc"
99 einfo "from /usr/share/doc/${P}/sample_ardour.rc to your homedirectory"
100 einfo "and set two environment variables."
101 einfo "ARDOUR_RC should point to your where-ever you put your ardour.rc file"
102 einfo "ARDOUR_SYSTEM_RC should point to /usr/share/ardour/ardour_system.rc"
103 einfo ""
104
105 }

  ViewVC Help
Powered by ViewVC 1.1.20