source: trunk/dports/multimedia/gtkpod/Portfile

Last change on this file was 148922, checked in by devans@…, 14 months ago

gtkpod: update to version 2.1.5, dependencies.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148922 2016-05-22 23:03:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gtkpod
7version             2.1.5
8categories          multimedia gnome
9platforms           darwin
10maintainers         nomaintainer
11description         gtkpod is a platform independent Graphical User Interface for Apple's iPod using GTK3.
12long_description    ${description} It supports the first to fifth Generation including the iPod mini, iPod Photo, iPod Shuffle, iPod nano, and iPod Video.
13homepage            http://www.gtkpod.org/
14master_sites        sourceforge:gtkpod
15license             GPL-2+
16
17checksums           rmd160  ff20819458e731d8350e774ef4134a319fe7511d \
18                    sha256  a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
19
20depends_build       port:pkgconfig \
21                    port:intltool \
22                    port:autoconf \
23                    port:automake \
24                    port:libtool
25
26depends_lib         port:desktop-file-utils \
27                    port:gtk3 \
28                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
29                    port:anjuta \
30                    port:curl \
31                    port:faad2 \
32                    port:flex \
33                    port:flac \
34                    port:gstreamer1-gst-plugins-base \
35                    port:libgpod \
36                    port:libid3tag \
37                    path:lib/libmp4v2.dylib:mp4v2 \
38                    port:libmusicbrainz5 \
39                    port:libvorbis \
40                    path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
41
42platform darwin {
43    if {${configure.cxx_stdlib} eq "libstdc++"} {
44       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
45       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
46    }
47}
48
49patchfiles          patch-autogen.sh.diff \
50                    patch-configure.ac.diff \
51                    patch-use_extern.diff
52
53# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
54
55configure.cmd       ./autogen.sh
56
57configure.args      --disable-schemas-compile \
58                    --disable-silent-rules
59
60post-activate {
61    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
62    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
63}
64
65livecheck.type      regex
66livecheck.url       http://sourceforge.net/projects/gtkpod/files/gtkpod/
67livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.