source: trunk/dports/gnome/libgdata/Portfile @ 147747

Last change on this file since 147747 was 147747, checked in by devans@…, 4 years ago

libgdata: disable goa support on older platforms, legacy versions of gnome-online-accounts are incompatible with libgdata.

  • 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:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 147747 2016-04-14 14:05:16Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                libgdata
8version             0.17.4
9revision            1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         libgdata is a GLib-based library for accessing online service APIs using the \
12                    GData protocol --- most notably, Google's services.
13
14long_description    ${description} \
15                    It provides APIs to access the common Google services, and has full asynchronous support.
16
17maintainers         devans openmaintainer
18categories          gnome net
19license             LGPL-2.1+
20platforms           darwin
21homepage            https://wiki.gnome.org/Projects/${name}
22master_sites        gnome:sources/${name}/${branch}/
23
24use_xz              yes
25
26checksums           rmd160  7ff7fb61adae11149358d63024e1d1d69d05d6b3 \
27                    sha256  9f15fe0efe4d9a001d45853891ab3a7c45cadc4dea2252944b7341903ce1d1f6
28
29depends_build       port:pkgconfig \
30                    port:intltool \
31                    port:gtk-doc \
32                    port:gnome-common \
33                    port:autoconf \
34                    port:automake \
35                    port:libtool
36
37depends_lib         port:gtk3 \
38                    port:gdk-pixbuf2 \
39                    port:libxml2 \
40                    port:libsoup \
41                    port:liboauth \
42                    port:gnome-online-accounts \
43                    port:gcr \
44                    port:uhttpmock
45
46gobject_introspection yes
47
48patchfiles          patch-m4-ax_compiler_flags_ldflags.m4.diff \
49                    patch-Makefile.am.diff
50
51# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
52
53post-patch {
54    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
55}
56
57configure.cmd       ./autogen.sh
58
59configure.args      --enable-gnome \
60                    --enable-goa \
61                    --enable-compile-warnings=minimum \
62                    --disable-silent-rules
63
64test.run            yes
65test.target         check
66
67# disable goa support on older platforms
68# legacy versions of gnome-online-accounts are incompatible with libgdata
69platform darwin {
70    if {${configure.cxx_stdlib} eq "libstdc++"} {
71        depends_lib-delete  port:gnome-online-accounts
72        configure.args-replace --enable-goa --disable-goa
73    }
74}
75
76livecheck.type      gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.