wok-next view libxkbcommon/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxkbcommon"
4 VERSION="0.8.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Keyboard handling library using XKB data"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://xkbcommon.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libxkbcommon.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://xkbcommon.org/download/$TARBALL"
14 TARBALL_SHA1="5589b09b8490392573bba5527cc0cc82824028b1"
16 BUILD_DEPENDS="libxcb-dev util-macros xkeyboard-config-dev bison \
17 wayland-protocols-dev wayland-dev"
18 SPLIT="$PACKAGE-x11 $PACKAGE $PACKAGE-dev \
19 $PACKAGE-wayland:w $PACKAGE-wayland-dev:w"
21 COPY_x11="libxkbcommon-x11.so*"
22 COPY_wayland="@std"
23 COPY_wayland_dev="@dev"
25 DEPENDS_x11="libxkbcommon libxcb xkeyboard-config libx11"
26 DEPENDS_dev="$PACKAGE $PACKAGE-x11 libxcb-dev"
27 DEPENDS_wayland_dev="$PACKAGE-wayland"
29 CAT_wayland="x-window|Wayland support"
30 CAT_wayland_dev="development|development files with Wayland support"
32 compile_rules() {
33 case $SET in
34 '') SET_ARGS='--disable-wayland --enable-x11';;
35 w) SET_ARGS='--enable-wayland --disable-x11';;
36 esac
38 ./configure \
39 --with-xkb-config-root=/usr/share/X11/xkb \
40 $SET_ARGS \
41 $CONFIGURE_ARGS &&
42 fix libtool &&
43 make &&
44 make install
45 }