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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libmediaart |
---|
7 | version 0.3.0 |
---|
8 | license GPL-2,LGPL-2.1 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | description Library tasked with managing, extracting and handling media art caches. |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | maintainers gmail.com:juanrgar openmaintainer |
---|
14 | categories graphics gnome |
---|
15 | platforms darwin |
---|
16 | homepage https://wiki.gnome.org/MediaArtStorageSpec |
---|
17 | master_sites gnome:sources/${name}/${branch}/ |
---|
18 | |
---|
19 | use_xz yes |
---|
20 | |
---|
21 | checksums rmd160 656b3ecb9fad4370be5412221fdf20ccc07c76a2 \ |
---|
22 | sha256 d9c16e040d1ee7ef0b6d2387419cc74b462ffbfd1325975f1951dcbf7632f77e |
---|
23 | |
---|
24 | depends_build port:pkgconfig |
---|
25 | |
---|
26 | depends_lib port:glib2 \ |
---|
27 | port:gobject-introspection \ |
---|
28 | port:vala |
---|
29 | |
---|
30 | configure.args --disable-silent-rules \ |
---|
31 | --enable-introspection=yes \ |
---|
32 | --enable-vala \ |
---|
33 | --enable-gdkpixbuf=no \ |
---|
34 | --enable-qt=no \ |
---|
35 | --enable-nemo=no |
---|
36 | |
---|
37 | variant gdkpixbuf conflicts qt4 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 | |
---|
44 | variant qt4 conflicts gdkpixbuf description {Enable Qt4 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 | |
---|
51 | if {![variant_isset qt4]} { |
---|
52 | default_variants +gdkpixbuf |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.type gnome-with-unstable |
---|