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 | |
parent | 1cdbc0190e937fe6428f7f51cb0e315e24e9c0b3 (diff) |
libraries/libxkbcommon: Updated for version 0.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libxkbcommon/README | 6 | ||||
-rw-r--r-- | libraries/libxkbcommon/libxkbcommon.SlackBuild | 23 | ||||
-rw-r--r-- | libraries/libxkbcommon/libxkbcommon.info | 8 |
3 files changed, 20 insertions, 17 deletions
diff --git a/libraries/libxkbcommon/README b/libraries/libxkbcommon/README index 4099b0a642e28..6a31b3a410715 100644 --- a/libraries/libxkbcommon/README +++ b/libraries/libxkbcommon/README @@ -3,3 +3,9 @@ loading them from disk, parsing them and handling their state. It's mainly meant for client toolkits, window systems, and other system applications; currently that includes Wayland, kmscon, GTK+, Clutter, and more. + +This Slackbuild disables Wayland support by default. In enabling +Wayland support (which requires wayland-protocols), run the script +with the following command: + +WAYLAND=yes ./libxkbcommon.SlackBuild diff --git a/libraries/libxkbcommon/libxkbcommon.SlackBuild b/libraries/libxkbcommon/libxkbcommon.SlackBuild index 937a45dd60605..fb22069506e24 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 diff --git a/libraries/libxkbcommon/libxkbcommon.info b/libraries/libxkbcommon/libxkbcommon.info index 2d00d3d848fe1..0d7c18be1791a 100644 --- a/libraries/libxkbcommon/libxkbcommon.info +++ b/libraries/libxkbcommon/libxkbcommon.info @@ -1,10 +1,10 @@ PRGNAM="libxkbcommon" -VERSION="0.8.4" +VERSION="0.9.1" HOMEPAGE="https://xkbcommon.org/" -DOWNLOAD="https://xkbcommon.org/download/libxkbcommon-0.8.4.tar.xz" -MD5SUM="3c4409058dfd203f641a563358e0187d" +DOWNLOAD="https://xkbcommon.org/download/libxkbcommon-0.9.1.tar.xz" +MD5SUM="4662756fd73ab0ac9e32efdad8f807f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="meson" MAINTAINER="Isaac Yu" EMAIL="isaacyu1@isaacyu1.com" |