Browse Source

l/gcab: Disable Vala bindings.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
eaa3d86f2f
  1. 13
      l/gcab/gcab-1.1-disable-vapi.diff
  2. 9
      l/gcab/gcab.SlackBuild

13
l/gcab/gcab-1.1-disable-vapi.diff

@ -0,0 +1,13 @@
diff -Naur gcab-1.1.old/libgcab/meson.build gcab-1.1/libgcab/meson.build
--- gcab-1.1.old/libgcab/meson.build 2018-02-09 12:44:30.000000000 +0000
+++ gcab-1.1/libgcab/meson.build 2018-03-23 11:29:22.330165988 +0000
@@ -93,9 +93,4 @@
],
install : true
)
- gnome.generate_vapi('libgcab-1.0',
- sources: gir[0],
- packages : ['gio-2.0'],
- install : true,
- )
endif

9
l/gcab/gcab.SlackBuild

@ -25,7 +25,7 @@
# Latest gcab sourcecode is available at:
# <https://download.gnome.org/sources/gcab/>.
#
# Depends: d/vala, d/meson
# Depends: d/meson
# Source package infos
NAMESRC=${NAMESRC:-gcab}
@ -74,6 +74,13 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Disable forced generation of Vala interface.
# (This used to be conditional with the old Autotools build system,
# but the new Meson-based system simply aborts if vapigen is not
# found; Doh!)
patch -p 1 < $CWD/gcab-1.1-disable-vapi.diff
mkdir build && cd build
meson .. \
--prefix /usr \

Loading…
Cancel
Save