Ticket #42902: Portfile

File Portfile, 1.7 KB (added by juanrgar (Juan R. García Blanco), 10 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                libmediaart
7version             0.3.0
8license             GPL-2,LGPL-2.1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10description         Library tasked with managing, extracting and handling media art caches.
11long_description    ${description}
12
13maintainers         gmail.com:juanrgar openmaintainer
14categories          graphics gnome
15platforms           darwin
16homepage            https://wiki.gnome.org/MediaArtStorageSpec
17master_sites        gnome:sources/${name}/${branch}/
18
19use_xz              yes
20
21checksums           rmd160  656b3ecb9fad4370be5412221fdf20ccc07c76a2 \
22                    sha256  d9c16e040d1ee7ef0b6d2387419cc74b462ffbfd1325975f1951dcbf7632f77e
23
24depends_build       port:pkgconfig
25
26depends_lib         port:glib2 \
27                    port:gobject-introspection \
28                    port:vala
29
30configure.args      --disable-silent-rules \
31                    --enable-introspection=yes \
32                    --enable-vala \
33                    --enable-gdkpixbuf=no \
34                    --enable-qt=no \
35                    --enable-nemo=no
36
37variant gdkpixbuf description {Enable GdkPixbuf support, (MP3 album art)} {
38    configure.args-delete   --enable-gdkpixbuf=no
39    configure.args-append   --enable-gdkpixbuf=yes
40
41    depends_lib-append      port:gdk-pixbuf2
42}
43
44variant qt description {Enable Qt support, (MP3 album art)} {
45    configure.args-delete   --enable-qt=no
46    configure.args-append   --enable-qt=yes
47
48    depends_lib-append      port:qt4-mac
49}
50
51default_variants    +gdkpixbuf
52
53livecheck.type  gnome