source: trunk/dports/gnome/accountsservice/Portfile

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

accountsservice: for now document build failures for versions 0.6.43+.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 153051 2016-09-22 22:43:58Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                accountsservice
8# unconditional use of <shadow.h> breaks macos build for 0.6.43+
9# caused by an attempt to fix
10# https://bugs.freedesktop.org/show_bug.cgi?id=48177
11# using the following commit
12# https://cgit.freedesktop.org/accountsservice/commit/src?id=14ca4245b6c842b9c69f0c245bdd6d38bd7f1cb6
13# don't update further until this is addressed
14version             0.6.42
15description         AccountsService provides a set of D-Bus interfaces for querying \
16                    and manipulating user account information.
17
18long_description    ${description}
19maintainers         devans openmaintainer
20categories          gnome security
21platforms           darwin
22license             GPL-3+
23homepage            https://www.freedesktop.org/wiki/Software/AccountsService/
24master_sites        https://www.freedesktop.org/software/accountsservice/
25
26use_xz              yes
27
28checksums           rmd160  72b3025468b855d50517729530a92e5cb31ca82e \
29                    sha256  e56494c2f18627900b57234e5628923cc16a37bf8fd16b06c46118d6ae9c007e
30
31depends_build       port:pkgconfig \
32                    port:intltool \
33                    port:xmlto \
34                    port:libxslt \
35                    port:gtk-doc \
36                    port:autoconf \
37                    port:automake \
38                    port:libtool
39
40depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
41                    port:policykit
42
43patchfiles          patch-define-wtmpx_filename.diff \
44                    patch-src-daemon.c.diff \
45                    patch-src-libaccountsservice-Makefile.am.diff
46
47post-patch {
48    reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/src/daemon.c
49}
50
51gobject_introspection yes
52
53# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
54
55post-patch {
56    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
57}
58
59configure.cmd       ./autogen.sh
60
61configure.args      --disable-systemd \
62                    --disable-silent-rules
63
64livecheck.type      regex
65livecheck.url       ${master_sites}
66livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.