Contents of /branches/R11-stable/extras/dconf/dconf-0.22.0-r1.smage2
Parent Directory | Revision Log
Revision 22866 -
(show annotations)
(download)
Tue Oct 28 09:04:55 2014 UTC (9 years, 11 months ago) by niro
File size: 1516 byte(s)
Tue Oct 28 09:04:55 2014 UTC (9 years, 11 months ago) by niro
File size: 1516 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="dconf" |
4 | PVER="0.22.0" |
5 | PBUILD="r1" |
6 | |
7 | SPLIT_PACKAGES="dconf dconf-editor" |
8 | |
9 | PCAT="gnome-base" |
10 | HOMEPAGE="http://www.gnome.org/" |
11 | |
12 | COMMON_DEPEND=">= dev-libs/glib2-2.42 |
13 | >= sys-apps/dbus-1.8" |
14 | |
15 | EDITOR_DEPEND=">= dev-libs/libxml2-2.7 |
16 | >= x11-libs/gtk3+-3.14 |
17 | >= x11-apps/gtk-update-icon-cache-2.24" |
18 | |
19 | SDEPEND="${COMMON_DEPEND} |
20 | ${EDITOR_DEPEND} |
21 | >= dev-util/pkgconfig-0.25 |
22 | >= dev-lang/vala-0.26" |
23 | |
24 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
25 | |
26 | sminclude mtools gnome2 |
27 | |
28 | UP2DATE="updatecmd_gnome ${PNAME}" |
29 | |
30 | split_info_dconf() |
31 | { |
32 | DESCRIPTION="A low-level configuration system." |
33 | DEPEND="${COMMON_DEPEND}" |
34 | } |
35 | split_info_dconf-editor() |
36 | { |
37 | DESCRIPTION="GTK3 editor gui for dconf." |
38 | DEPEND="== gnome-base/dconf-${PVER} |
39 | ${EDITOR_DEPEND}" |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | gn2_configure --disable-schema-compile --enable-editor || die |
47 | mmake || die |
48 | } |
49 | |
50 | src_install_dconf() |
51 | { |
52 | cd ${SRCDIR} |
53 | local i |
54 | for i in bin client common dbus-1 docs engine gsettings service |
55 | do |
56 | mmake -C ${i} DESTDIR=${BINDIR} install || die |
57 | done |
58 | |
59 | # GSettings backend may be one of: memory, gconf, dconf |
60 | # Only dconf is really considered functional by upstream |
61 | # must have it enabled over gconf if both are installed |
62 | minstalldir /etc/env.d || die |
63 | MCONFIG="/etc/env.d/51dconf" |
64 | mclearconfig || die |
65 | maddconfig 'CONFIG_PROTECT_MASK="/etc/dconf"' |
66 | maddconfig 'GSETTINGS_BACKEND="dconf"' |
67 | |
68 | minstalldocs COPYING NEWS || die |
69 | } |
70 | |
71 | src_install_dconf-editor() |
72 | { |
73 | cd ${SRCDIR} |
74 | mmake -C editor DESTDIR=${BINDIR} install || die |
75 | minstalldocs COPYING NEWS || die |
76 | } |