[118001] trunk/dports/graphics
devans at macports.org
devans at macports.org
Tue Mar 18 12:42:27 PDT 2014
Revision: 118001
https://trac.macports.org/changeset/118001
Author: devans at macports.org
Date: 2014-03-18 12:42:26 -0700 (Tue, 18 Mar 2014)
Log Message:
-----------
libmediaart: new port, maintainer submission (#42902).
Added Paths:
-----------
trunk/dports/graphics/libmediaart/
trunk/dports/graphics/libmediaart/Portfile
Added: trunk/dports/graphics/libmediaart/Portfile
===================================================================
--- trunk/dports/graphics/libmediaart/Portfile (rev 0)
+++ trunk/dports/graphics/libmediaart/Portfile 2014-03-18 19:42:26 UTC (rev 118001)
@@ -0,0 +1,55 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name libmediaart
+version 0.3.0
+license GPL-2,LGPL-2.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Library tasked with managing, extracting and handling media art caches.
+long_description ${description}
+
+maintainers gmail.com:juanrgar openmaintainer
+categories graphics gnome
+platforms darwin
+homepage https://wiki.gnome.org/MediaArtStorageSpec
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 656b3ecb9fad4370be5412221fdf20ccc07c76a2 \
+ sha256 d9c16e040d1ee7ef0b6d2387419cc74b462ffbfd1325975f1951dcbf7632f77e
+
+depends_build port:pkgconfig
+
+depends_lib port:glib2 \
+ port:gobject-introspection \
+ port:vala
+
+configure.args --disable-silent-rules \
+ --enable-introspection=yes \
+ --enable-vala \
+ --enable-gdkpixbuf=no \
+ --enable-qt=no \
+ --enable-nemo=no
+
+variant gdkpixbuf conflicts qt4 description {Enable GdkPixbuf support, (MP3 album art)} {
+ configure.args-delete --enable-gdkpixbuf=no
+ configure.args-append --enable-gdkpixbuf=yes
+
+ depends_lib-append port:gdk-pixbuf2
+}
+
+variant qt4 conflicts gdkpixbuf description {Enable Qt4 support, (MP3 album art)} {
+ configure.args-delete --enable-qt=no
+ configure.args-append --enable-qt=yes
+
+ depends_lib-append port:qt4-mac
+}
+
+if {![variant_isset qt4]} {
+ default_variants +gdkpixbuf
+}
+
+livecheck.type gnome-with-unstable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140318/7fe27217/attachment.html>
More information about the macports-changes
mailing list