source: trunk/dports/audio/arts/Portfile @ 5871

Last change on this file since 5871 was 5871, checked in by mij, 16 years ago

Chase the libintl library version from the gettext update.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1# $Id: Portfile,v 1.25 2004/03/19 23:18:39 mij Exp $
2
3PortSystem 1.0
4name            arts
5version         1.1.2
6revision        5
7categories      audio
8maintainers     ranger@befunk.com
9description     analog realtime synthesizer
10
11long_description aRts is a framework for developing modular multimedia applications. The \
12sound server, artsd, allows multiple applications to cooperatively process \
13and output sound and music. aRts is designed to provide its filter and \
14synthesis capabilities to other applications using the multimedia \
15communication protocol (MCOP). aRts is also capable of modular realtime \
16synthesis. It can create sounds & music (realtime midi synthesis) using \
17small modules like oscillators for creating waveforms, various filters, \
18mixers, faders, etc.
19
20platforms       darwin
21master_sites    \
22                kde:stable/3.1.2/src \
23                http://ranger.befunk.com/fink/:admin \
24                http://ranger.befunk.com/darwin/:darwin
25patch_sites     http://ranger.befunk.com/fink/
26extract.suffix  .tar.bz2
27use_bzip2       yes
28distname        arts-${version}
29distfiles       ${distname}.tar.bz2 kde-admindir-20030601.tar.bz2:admin detect-autoconf.tar.bz2:darwin
30
31depends_lib     lib:libaudiofile.0:audiofile lib:libesd:esound lib:libglib.2:glib2 \
32                lib:libiconv:libiconv lib:libintl.3:gettext lib:libmad:mad \
33                lib:libogg:libogg lib:libpng.3:libpng lib:libqt-mt.3.1:qt3 \
34                lib:libqui:qt3 lib:libvorbis.0:libvorbis lib:libX11.6:XFree86
35depends_build   bin:pkg-config:pkgconfig
36
37checksums       arts-${version}.tar.bz2 md5 5d5a1858f8dcf0d88600291899dff75b \
38                kde-admindir-20030601.tar.bz2 md5 6135f81de4b1561942be8fd31ae21297 \
39                detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
40
41set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
42
43variant darwin {
44                depends_lib-append      lib:libdl:dlcompat lib:libpoll:poll-emulator
45                patchfiles \
46                        stable/patch-arts-artsc-artsc-config.in.diff \
47                        stable/patch-arts-artsc-artsdsp.c.diff \
48                        stable/patch-arts-artsc-artsdsp.in.diff \
49                        stable/patch-arts-artsc-Makefile.am.diff \
50                        stable/patch-arts-configure.in.in.diff \
51                        stable/patch-arts-flow-audioiocoreaudio.cc.diff \
52                        stable/patch-arts-flow-audioioesd.cc.diff \
53                        stable/patch-arts-flow-audioiooss.cc.diff \
54                        stable/patch-arts-flow-gsl-gsldatahandle-mad.c.diff \
55                        stable/patch-arts-flow-gsl-gsldatahandle-vorbis.c.diff \
56                        stable/patch-arts-flow-Makefile.am.diff \
57                        stable/patch-arts-libltdl-ltdl.c.diff \
58                        stable/patch-arts-libltdl-ltdl.m4.diff \
59                        stable/patch-arts-soundserver-artsd.cc.diff \
60                        stable/patch-arts-soundserver-Makefile.am.diff \
61                        stable/patch-arts-soundserver-soundserverv2_impl.cc.diff
62}
63
64variant cvs {
65                ##### THIS IS UNSUPPORTED, DO NOT USE THIS IN YOUR PORTS! #####
66                cvs.root :pserver:anonymous@anoncvs.kde.org:/home/kde
67                cvs.module arts
68                pre-extract cvsfetch
69                ##### I MEAN IT, LANDONF WILL KILL YOU IF YOU DO THIS! #####
70
71                distname arts
72                version 1.2.0
73                distfiles kde-admindir-cvs-20030701.tar.bz2:admin
74                checksums kde-admindir-cvs-20030701.tar.bz2 md5 b9bf2dc286d2e434c2cfdadc421c79b6
75                patchfiles
76}
77
78variant aqua {
79                configure.args-append --enable-mac
80}
81
82patch {
83                foreach patch $patchfiles {
84                        system "cd '${workpath}/${distname}' && \
85                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0"
86                }
87}
88post-patch      {
89                system "cd '${worksrcpath}' && if test -d ../admin;   then cp -Rf ../admin/ admin; fi"
90                system "cd '${worksrcpath}' && if test -d ../libltdl; then cp -Rf ../libltdl/ libltdl; fi"
91                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
92}
93
94configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
95                LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib' \
96                LD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib' CFLAGS='-Os' CXXFLAGS='-Os'
97configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
98                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
99                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
100                --enable-rpath --with-pic --enable-shared=yes --enable-static=no \
101                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
102                --disable-dependency-tracking
103
104build.env       ${configure.env}
105pre-build       {
106                        puts depends_lib
107}
Note: See TracBrowser for help on using the repository browser.