Annotation of /trunk/extras/dconf/dconf-0.34.0-r2.smage2
Parent Directory | Revision Log
Revision 33287 -
(hide annotations)
(download)
Thu Oct 24 13:24:09 2019 UTC (4 years, 6 months ago) by niro
File size: 1480 byte(s)
Thu Oct 24 13:24:09 2019 UTC (4 years, 6 months ago) by niro
File size: 1480 byte(s)
auto added: ver bump to 0.34.0-r2
1 | niro | 33287 | # $Id$ |
2 | |||
3 | PNAME="dconf" | ||
4 | PVER="0.34.0" | ||
5 | PBUILD="r2" | ||
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.62 | ||
13 | >= sys-apps/dbus-1.10" | ||
14 | |||
15 | # rebuilds using meson-0.51.2 until upstream has fixed ftbfs with >=meson-0.52 | ||
16 | SDEPEND=">= dev-util/pkgconfig-0.25 | ||
17 | >= dev-lang/vala-0.46 | ||
18 | >= app-text/docbook-xsl-stylesheets-1.78 | ||
19 | == dev-util/meson-0.51.2" | ||
20 | |||
21 | SRCFILE="${PNAME}-${PVER}.tar.xz" | ||
22 | |||
23 | sminclude mtools gnome2 meson | ||
24 | msetfeature "!check" # dbus test will fail, because of buildroot | ||
25 | |||
26 | UP2DATE="updatecmd_gnome ${PNAME}" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # rebuilds using meson-0.51.2 until upstream has fixed this issue | ||
34 | # fix a ftbfs with meson-0.52 | ||
35 | # see: https://www.linuxquestions.org/questions/slackware-14/dconf-package-does-not-build-with-meson-0-52-a-4175662298/ | ||
36 | # and: https://gitlab.gnome.org/GNOME/dconf/issues/59 | ||
37 | # sed -i "s|link_whole: libdconf_common,|link_with: libdconf_common,|g" common/meson.build || die | ||
38 | } | ||
39 | |||
40 | src_compile() | ||
41 | { | ||
42 | meson_src_compile $(meson_bool_false bash_completion) || die | ||
43 | } | ||
44 | |||
45 | src_install() | ||
46 | { | ||
47 | meson_src_install || die | ||
48 | |||
49 | # GSettings backend may be one of: memory, gconf, dconf | ||
50 | # Only dconf is really considered functional by upstream | ||
51 | # must have it enabled over gconf if both are installed | ||
52 | minstalldir /etc/env.d || die | ||
53 | MCONFIG="/etc/env.d/51dconf" | ||
54 | mclearconfig || die | ||
55 | maddconfig 'CONFIG_PROTECT_MASK="/etc/dconf"' | ||
56 | maddconfig 'GSETTINGS_BACKEND="dconf"' | ||
57 | } |