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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Jun 13 13:06:33 2003 UTC (16 years, 9 months ago) by robh
Branch: MAIN
Branch point for: RELEASE-1_4
Clean ups due to changes in the build system for Ardour

1 robh 1.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.8 2003/05/31 10:48:53 robh Exp $
4    
5     IUSE="nls ardour-ksi"
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     use nls || myconf="${myconf} --disable-nls"
45     use ksi || myconf="${myconf} --disable-ksi"
46     econf ${myconf} || die "configure failed"
47    
48     emake || die "parallel make failed"
49     }
50    
51     src_install() {
52    
53     einstall || die "make install failed"
54    
55     pushd ${WORKDIR}
56     mkdir pixmaps
57     cd pixmaps
58     unpack ${DISTFILES}/ardour-pixmaps-2.6.tar.bz2
59     dodir /usr/share/ardour/pixmaps
60     cp * ${D}/usr/share/ardour/pixmaps
61     popd
62    
63     insinto /usr/share/ardour
64    
65     cp ardour.rc ardour.rc~
66     sed -e 's:/usr/local/music/src/ardour/:/usr/share/ardour/:' \
67     -e 's:/home/paul/:/usr/share/ardour/:' ardour.rc~ > ardour.rc
68     cp ardour.rc sample_ardour.rc
69    
70     cp ardour_ui.rc sample_ardour_ui.rc
71    
72     cp ardour_system.rc ardour_system.rc~
73     sed -e 's:/usr/local/music/src/ardour/:/usr/share/ardour/:' ardour_system.rc~ > ardour_system.rc
74    
75     doins ${S}/ardour_system.rc
76    
77     dodoc ${S}/AUTHORS ${S}/INSTALL ${S}/README ${S}/README.it \
78     ${S}/NEWS ${S}/COPYING ${S}/ChangeLog ${S}/sample_ardour.rc \
79     ${S}/FAQ ${S}/sample_ardour_ui.rc
80     doman ${S}/ardour.1
81     }
82    
83     pkg_postinst() {
84     einfo ""
85     einfo "ardour-cvs depends on jack-cvs"
86     einfo "make sure to re-emerge jack-cvs before re-emerging ardour-cvs"
87     einfo "as the development of both programs are closely linked."
88     einfo ""
89     einfo "to get ardour to run you will need to copy the files sample_ardour.rc"
90     einfo "and sample_ardour_ui.rc from /usr/share/doc/${P}/ to your homedirectory"
91     einfo "(dropping the 'sample_' from the name :)"
92     einfo "and set three environment variables."
93     einfo "ARDOUR_RC should point to your where-ever you put your ardour.rc file"
94     einfo "ARDOUR_SYSTEM_RC should point to /usr/share/ardour/ardour_system.rc"
95     einfo "ARDOUR_UI_RC should point to where-ever you put your ardour_ui.rc file"
96     einfo ""
97     }

  ViewVC Help
Powered by ViewVC 1.1.20