source: trunk/dports/graphics/libmediaart/Portfile

Last change on this file was 136168, checked in by devans@…, 2 years ago

libmediaart: update to version 1.9.0, use gnome unstable livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
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: Portfile 136168 2015-05-11 22:41:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                libmediaart
8version             1.9.0
9license             GPL-2 LGPL-2.1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         Library tasked with managing, extracting and handling media art caches.
12long_description    ${description}
13
14maintainers         juanrgar devans openmaintainer
15categories          graphics gnome
16platforms           darwin
17homepage            https://wiki.gnome.org/DraftSpecs/MediaArtStorageSpec
18master_sites        gnome:sources/${name}/${branch}/
19
20use_xz              yes
21
22checksums           rmd160  290b472cac1790edd88486d14ef31a69221b293c \
23                    sha256  94668adb29d4dc3115b0fd105942ebd5ca6f5f9dbb2afa8a191a73a747dd506f
24
25depends_build       port:pkgconfig
26
27depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
28                    port:vala
29
30configure.args      --disable-silent-rules \
31                    --enable-vala \
32                    --enable-gdkpixbuf=no \
33                    --enable-qt=no \
34                    --enable-nemo=no
35
36gobject_introspection   yes
37
38variant gdkpixbuf conflicts qt4 description {Enable GdkPixbuf support, (MP3 album art)} {
39    configure.args-delete   --enable-gdkpixbuf=no
40    configure.args-append   --enable-gdkpixbuf=yes
41
42    depends_lib-append      port:gdk-pixbuf2
43}
44
45variant qt4 conflicts gdkpixbuf description {Enable Qt4 support, (MP3 album art)} {
46    configure.args-delete   --enable-qt=no
47    configure.args-append   --enable-qt=yes
48
49    depends_lib-append      port:qt4-mac
50}
51
52if {![variant_isset qt4]} {
53    default_variants    +gdkpixbuf
54}
55
56livecheck.type      gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.