source: trunk/dports/gnome/libgdata/Portfile

Last change on this file was 152989, checked in by devans@…, 10 months ago

libgdata: update to version 0.17.6.

  • 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 152989 2016-09-21 22:43:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                libgdata
8version             0.17.6
9set branch          [join [lrange [split ${version} .] 0 1] .]
10description         libgdata is a GLib-based library for accessing online service APIs using the \
11                    GData protocol --- most notably, Google's services.
12
13long_description    ${description} \
14                    It provides APIs to access the common Google services, and has full asynchronous support.
15
16maintainers         devans openmaintainer
17categories          gnome net
18license             LGPL-2.1+
19platforms           darwin
20homepage            https://wiki.gnome.org/Projects/${name}
21master_sites        gnome:sources/${name}/${branch}/
22
23use_xz              yes
24
25checksums           rmd160  9cfce8abae78e6c26669d9820369a4fc3217e3da \
26                    sha256  8b6a3ff1db23bd9e5ebbcc958b29b769a898f892eed4798222d562ba69df30b0
27
28depends_build       port:pkgconfig \
29                    port:intltool \
30                    port:gtk-doc \
31                    port:gnome-common \
32                    port:autoconf \
33                    port:automake \
34                    port:libtool
35
36depends_lib         port:gtk3 \
37                    port:gdk-pixbuf2 \
38                    port:json-glib \
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=no \
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.