Magellan Linux

Contents of /smage/branches/alx07x-unstable/extras/dconf/dconf-0.26.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9922 - (show annotations) (download)
Thu Aug 3 14:01:29 2017 UTC (6 years, 9 months ago) by niro
File size: 1078 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="dconf"
4 PVER="0.26.0"
5 PBUILD="r1"
6
7 PCAT="gnome-base"
8
9 DESCRIPTION="A low-level configuration system."
10 HOMEPAGE="http://www.gnome.org/"
11
12 DEPEND=">= dev-libs/glib2-2.52
13 >= sys-apps/dbus-1.10"
14
15 ALX_DEV_DEPEND=">= dev-libs/glib2-dev-2.52
16 >= sys-apps/dbus-dev-1.10
17 >= dev-libs/libxslt-dev-1.1.28"
18
19 SDEPEND=">= dev-util/pkgconfig-0.25
20 >= dev-lang/vala-0.36
21 >= app-text/docbook-xsl-stylesheets-1.78
22 ${ALX_DEV_DEPEND}"
23
24 SRCFILE="${PNAME}-${PVER}.tar.xz"
25
26 sminclude mtools gnome2
27
28 UP2DATE="updatecmd_gnome ${PNAME}"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 gn2_configure --disable-schema-compile || die
35 mmake || die
36 }
37
38 src_install_dconf()
39 {
40 cd ${SRCDIR}
41 mmake DESTDIR=${BINDIR} install || die
42
43 # GSettings backend may be one of: memory, gconf, dconf
44 # Only dconf is really considered functional by upstream
45 # must have it enabled over gconf if both are installed
46 minstalldir /etc/env.d || die
47 MCONFIG="/etc/env.d/51dconf"
48 mclearconfig || die
49 maddconfig 'CONFIG_PROTECT_MASK="/etc/dconf"'
50 maddconfig 'GSETTINGS_BACKEND="dconf"'
51
52 minstalldocs COPYING NEWS || die
53 }