summaryrefslogtreecommitdiff
path: root/packages/dev-util/glade/glade-3.20.3.exheres-0
blob: 6db51596d8b9cd19a7a53be9928f411c0ecc922f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org>
# Distributed under the terms of the GNU General Public License v2

require gnome.org [ suffix=tar.xz ]
require python [ blacklist=none with_opt='true' multibuild=false ]
require freedesktop-desktop gtk-icon-cache

SUMMARY="GTK+ UI Designer"
HOMEPAGE="http://glade.gnome.org"

LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="gobject-introspection gtk-doc python"

DEPENDENCIES="
    build:
        dev-libs/libxslt
        dev-util/intltool[>=0.41.0]
        gnome-desktop/yelp-tools
        sys-devel/gettext
        virtual/pkg-config[>=0.20]
        gtk-doc? ( dev-doc/gtk-doc[>=1.13] )
    build+run:
        dev-libs/glib:2[>=2.32]
        dev-libs/libxml2:2.0[>=2.4.0]
        x11-libs/gtk+:3[>=3.20.0]
        gobject-introspection? ( gnome-desktop/gobject-introspection:1[>=1.32.0] )
        python? ( gnome-bindings/pygobject:3[>=3.8.0][python_abis:*(-)?] )
"

# Require X11
RESTRICT="test"

DEFAULT_SRC_CONFIGURE_PARAMS=(
    '--enable-gladeui'
    '--enable-man-pages'
    '--disable-debug'
)

DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
    'gobject-introspection introspection'
    'gtk-doc'
    'python'
)

AT_M4DIR=( 'm4' )

pkg_postinst() {
    freedesktop-desktop_pkg_postinst
    gtk-icon-cache_pkg_postinst
}

pkg_postrm() {
    freedesktop-desktop_pkg_postrm
    gtk-icon-cache_pkg_postrm
}