wok-next annotate libxkbcommon/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19842 | 1 # SliTaz package receipt v2. |
pankso@16193 | 2 |
pankso@16193 | 3 PACKAGE="libxkbcommon" |
al@21072 | 4 VERSION="0.8.2" |
pankso@16193 | 5 CATEGORY="x-window" |
al@19842 | 6 SHORT_DESC="Keyboard handling library using XKB data" |
al@20595 | 7 MAINTAINER="al.bobylev@gmail.com" |
pankso@16193 | 8 LICENSE="custom" |
al@20018 | 9 WEB_SITE="https://xkbcommon.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libxkbcommon.html" |
al@19842 | 11 |
pankso@16193 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16193 | 13 WGET_URL="http://xkbcommon.org/download/$TARBALL" |
al@21072 | 14 TARBALL_SHA1="5589b09b8490392573bba5527cc0cc82824028b1" |
pankso@16193 | 15 |
al@21072 | 16 BUILD_DEPENDS="libxcb-dev util-macros xkeyboard-config-dev bison \ |
al@21072 | 17 wayland-protocols-dev wayland-dev" |
al@21020 | 18 SPLIT="$PACKAGE-x11 $PACKAGE $PACKAGE-dev \ |
al@21020 | 19 $PACKAGE-wayland:w $PACKAGE-wayland-dev:w" |
pankso@16193 | 20 |
al@21072 | 21 COPY_x11="libxkbcommon-x11.so*" |
al@21072 | 22 COPY_wayland="@std" |
al@21072 | 23 COPY_wayland_dev="@dev" |
al@21072 | 24 |
al@21072 | 25 DEPENDS_x11="libxkbcommon libxcb xkeyboard-config libx11" |
al@21072 | 26 DEPENDS_dev="$PACKAGE $PACKAGE-x11 libxcb-dev" |
al@21072 | 27 DEPENDS_wayland_dev="$PACKAGE-wayland" |
al@21072 | 28 |
al@21072 | 29 CAT_wayland="x-window|Wayland support" |
al@21072 | 30 CAT_wayland_dev="development|development files with Wayland support" |
al@21072 | 31 |
al@20534 | 32 compile_rules() { |
al@20595 | 33 case $SET in |
al@20595 | 34 '') SET_ARGS='--disable-wayland --enable-x11';; |
al@20595 | 35 w) SET_ARGS='--enable-wayland --disable-x11';; |
al@20595 | 36 esac |
al@20595 | 37 |
pankso@16193 | 38 ./configure \ |
pankso@16193 | 39 --with-xkb-config-root=/usr/share/X11/xkb \ |
al@20595 | 40 $SET_ARGS \ |
pankso@16193 | 41 $CONFIGURE_ARGS && |
al@20595 | 42 fix libtool && |
al@20534 | 43 make && |
al@20534 | 44 make install |
pankso@16193 | 45 } |