source: trunk/dports/gnome/gnome-desktop/Portfile

Last change on this file was 153809, checked in by devans@…, 11 months ago

gnome-desktop: update to version 3.22.1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 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 153809 2016-10-11 23:09:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           gobject_introspection 1.0
7
8name                gnome-desktop
9version             3.22.1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11maintainers         devans openmaintainer
12categories          gnome
13license             LGPL-2+
14platforms           darwin
15description         gnome-desktop contains the libgnome-desktop library, the gnome-about \
16                    program as well as some desktop-wide documents.
17
18long_description    ${description} The libgnome-desktop library provides API shared \
19                    by several applications on the desktop, but that cannot live \
20                    in the platform for various reasons. Documentation for the API \
21                    is available with gtk-doc.
22
23homepage            http://www.gnome.org/
24master_sites        gnome:sources/${name}/${branch}/
25
26use_xz              yes
27
28checksums           rmd160  104e34b1df91839201b4b8c877be350149ff860d \
29                    sha256  6458add4fc3a81fbd9a63db90de22a1e3a62644c1bfd1aca042c43836195aab2
30
31depends_build       port:pkgconfig \
32                    port:intltool \
33                    port:gnome-common \
34                    port:gtk-doc \
35                    port:yelp-tools \
36                    port:autoconf \
37                    port:automake \
38                    port:libtool
39
40depends_lib         port:desktop-file-utils \
41                    port:gsettings-desktop-schemas \
42                    port:gnome-themes-standard \
43                    port:adwaita-icon-theme \
44                    port:gtk3 \
45                    port:iso-codes \
46                    port:xorg-libXext \
47                    port:xorg-libXrandr \
48                    port:xkeyboard-config \
49                    port:xorg-libxkbfile
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-maintainer-mode \
62                    --disable-silent-rules \
63                    --enable-desktop-docs \
64                    --enable-compile-warnings=minimum \
65                    --with-gnome-distributor=MacPorts \
66                    --x-includes=${prefix}/include \
67                    --x-libraries=${prefix}/lib
68
69#
70#  portions of this port are strictly X11 specific
71#  so a +quartz build is not possible (fails in configure if X11 is absent)
72#
73
74require_active_variants port:gtk3 x11
75
76post-activate {
77    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
78}
79
80livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.