diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2019-11-09 12:47:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-09 12:47:25 +0700 |
commit | eaa0eb4e372b1fc8ea23a49f23a78081a05794c5 (patch) | |
tree | 5834f8ee39c4445851d8a040e6c53a1bbdb56b0b /libraries/libxkbcommon/libxkbcommon.SlackBuild | |
parent | 1cdbc0190e937fe6428f7f51cb0e315e24e9c0b3 (diff) | |
download | slackbuilds-eaa0eb4e372b1fc8ea23a49f23a78081a05794c5.tar.gz |
libraries/libxkbcommon: Updated for version 0.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libxkbcommon/libxkbcommon.SlackBuild')
-rw-r--r-- | libraries/libxkbcommon/libxkbcommon.SlackBuild | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/libraries/libxkbcommon/libxkbcommon.SlackBuild b/libraries/libxkbcommon/libxkbcommon.SlackBuild index 937a45dd60..fb22069506 100644 --- a/libraries/libxkbcommon/libxkbcommon.SlackBuild +++ b/libraries/libxkbcommon/libxkbcommon.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libxkbcommon -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,23 +70,20 @@ 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 {} \; +if [ ${WAYLAND:-no} = yes ]; then + ENABLE_WAYLAND=true +else + ENABLE_WAYLAND=false +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --disable-static +meson --prefix /usr --mandir /usr/man --libdir lib${LIBDIRSUFFIX} -Denable-wayland=$ENABLE_WAYLAND build -make -make install-strip DESTDIR=$PKG +DESTDIR=$PKG ninja -C build all install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.md NEWS PACKAGING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md NEWS PACKAGING doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |