mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
libglib-static: fix l10n dir, conflicts with libglib-devel
This commit is contained in:
parent
31065b22e2
commit
4428cf0f9c
1 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
pkgname=libglib-static
|
pkgname=libglib-static
|
||||||
version=2.58.3
|
version=2.58.3
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="glib-${version}"
|
wrksrc="glib-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libelf --disable-fam --disable-shared --with-pcre=system
|
configure_args="--enable-libelf --disable-fam --disable-shared --with-pcre=system
|
||||||
|
@ -20,6 +20,7 @@ homepage="https://wiki.gnome.org/Projects/GLib"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/glib/raw/master/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/glib/raw/master/NEWS"
|
||||||
distfiles="${GNOME_SITE}/glib/${version%.*}/glib-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/glib/${version%.*}/glib-${version}.tar.xz"
|
||||||
checksum=8f43c31767e88a25da72b52a40f3301fefc49a665b56dc10ee7cc9565cbe7481
|
checksum=8f43c31767e88a25da72b52a40f3301fefc49a665b56dc10ee7cc9565cbe7481
|
||||||
|
conflicts="libglib-devel>=0"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" glib-devel"
|
hostmakedepends+=" glib-devel"
|
||||||
|
@ -29,6 +30,15 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# Better to just rm -rf /usr/lib/locale in post_install?
|
||||||
|
vsed -i -e "s,localedir=.*,localedir=/usr/share/locale," \
|
||||||
|
-e "s,DATADIRNAME=lib,DATADIRNAME=share," \
|
||||||
|
m4macros/glib-gettext.m4
|
||||||
|
vsed -i -e "s,^localedir =.*,localedir = /usr/share/locale," \
|
||||||
|
po/Makefile.in.in
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue