Ticket #2686: Portfile

File Portfile, 2.1 KB (added by pesco@…, 19 years ago)

ATTACHMENT: rhythmbox-0.8.8

Line 
1# $Id: $
2PortSystem         1.0
3name               rhythmbox
4version            0.8.8
5categories         multimedia
6description        an iTunes-like audio player
7long_description   Rhythmbox is an integrated music management application, \
8                   originally inspired by Apple's iTunes. It is free \
9                   software, based on the powerful GStreamer media framework, \
10                   or the Xine framework. It supports all common data formats \
11                   from both local files and network streams.
12homepage           http://www.rhythmbox.org/
13master_sites       http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.8/
14checksums          md5 3b9b918d27dd44e80192e955f8aa3ccb
15
16depends_lib        lib:libmad:libmad \
17                   lib:libid3tag:libid3tag \
18                   lib:libogg:libogg \
19                   lib:libvorbis:libvorbis \
20                   lib:perl5/vendor_perl/5.8.6/darwin-2level/XML/Parser.pm:p5-xml-parser \
21                   lib:libgtk-x11-2.0:gtk2 \
22                   lib:libgnomeui-2:libgnomeui \
23                   lib:libxine:xine-lib \
24
25#TODO: Add mp4 support (via mpeg4ip -> libmp4v2)
26configure.args     --enable-mp3 \
27                   --disable-mp4 \
28                   --enable-vorbis \
29                   --enable-ipod \
30                   --with-player=xine
31#                   --disable-oggtest --disable-vorbistest
32configure.env      CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
33
34variant gstreamer {
35    depends_lib-delete      lib:libxine:xine-lib
36    configure.args-delete   --with-player=xine
37
38    depends_lib-append      lib:libgstreamer:gstreamer \
39                            lib:XXX:gst-plugins
40    configure.args-append   --with-player=gstreamer
41}
42
43variant novorbis {
44    depends_lib-delete      lib:libvorbis:libvorbis
45    depends_lib-delete      lib:libogg:libogg
46    configure.args-delete   --enable-vorbis
47    configure.args-append   --disable-vorbis
48}
49
50variant flac {
51    depends_lib-append      lib:libflac:flac
52    configure.args-append   --enable-flac
53}
54
55variant noipod {
56    configure.args-delete   --enable-ipod
57    configure.args-append   --disable-ipod
58}