mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/appstream-glib: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f12ed97819
commit
03f93f4ba2
1 changed files with 7 additions and 4 deletions
|
@ -80,6 +80,8 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
meson \
|
||||
|
@ -89,14 +91,15 @@ meson \
|
|||
--mandir=/usr/man \
|
||||
-Dgtk-doc=true \
|
||||
-Dstemmer=false \
|
||||
build
|
||||
..
|
||||
|
||||
# not sure why this is necessary
|
||||
sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s/-lyaml//" build/build.ninja
|
||||
sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s/-lyaml//" build.ninja
|
||||
|
||||
"${NINJA:=ninja}"
|
||||
$NINJA -C build
|
||||
DESTDIR=$PKG $NINJA -C build install
|
||||
$NINJA
|
||||
DESTDIR=$PKG $NINJA install
|
||||
cd ..
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
|
Loading…
Reference in a new issue