mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
gsettings-qt: fix cross gsettings-qt.pc file
The pkgconfig file also contained a wrong, extra path component
This commit is contained in:
parent
510a1a2d1e
commit
ccedd46555
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gsettings-qt'
|
# Template file for 'gsettings-qt'
|
||||||
pkgname=gsettings-qt
|
pkgname=gsettings-qt
|
||||||
version=0.1+17.10.20170824
|
version=0.1+17.10.20170824
|
||||||
revision=1
|
revision=2
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="qt5-qmake pkg-config qt5-declarative"
|
hostmakedepends="qt5-qmake pkg-config qt5-declarative"
|
||||||
makedepends="qt5-devel qt5-declarative-devel glib-devel"
|
makedepends="qt5-devel qt5-declarative-devel glib-devel"
|
||||||
|
@ -28,6 +28,8 @@ post_install() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
rm -r ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/tests
|
rm -r ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/tests
|
||||||
cp -a ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/* ${DESTDIR}/usr/
|
cp -a ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/* ${DESTDIR}/usr/
|
||||||
|
vsed -i ${DESTDIR}/usr/lib/pkgconfig/gsettings-qt.pc \
|
||||||
|
-e "s;${XBPS_CROSS_TRIPLET}\${prefix}/;;"
|
||||||
else
|
else
|
||||||
rm -r ${DESTDIR}/usr/tests
|
rm -r ${DESTDIR}/usr/tests
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue