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-static \
--disable-nautilus-extension --disable-nautilus-extension
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install
rm -rf $PKG/usr/share/applications rm -rf $PKG/usr/share/applications
} }

View File

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