gconf-merge-schema

This commit is contained in:
milisbir 2017-08-12 22:01:52 +03:00
parent 457bfd0460
commit 358820feb0
2 changed files with 13 additions and 8 deletions

View File

@ -16,7 +16,7 @@ build() {
--disable-static \
--disable-nautilus-extension
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/applications
}

View File

@ -30,13 +30,18 @@ build() {
intltoolize --force --copy --automake
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static --disable-schemas-install
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-schemas-install
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${PKG}" install
rm -f ${PKG}/usr/lib/*.a
install -m755 -d "${PKG}/usr/share/gconf/schemas"
# gconf-merge-schema "${PKG}/usr/share/gconf/schemas/$name.schemas" --domain libgksu ${PKG}/etc/gconf/schemas/*.schemas
rm -f ${PKG}/etc/gconf/schemas/*.schemas
gconf-merge-schema "${PKG}/usr/share/gconf/schemas/$name.schemas" --domain libgksu ${PKG}/etc/gconf/schemas/*.schemas
rm -f ${PKG}/etc/gconf
rm -f ${PKG}/usr/share/gtk-doc
}