wok-next view libxkbcommon/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children | d01953cd12ed |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libxkbcommon"
4 VERSION="0.7.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"
15 BUILD_DEPENDS="xorg-libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev \
16 bison wayland-protocols-dev wayland-dev"
17 SPLIT="$PACKAGE-x11 $PACKAGE $PACKAGE-dev \
18 $PACKAGE-wayland:w $PACKAGE-wayland-dev:w"
20 compile_rules() {
21 case $SET in
22 '') SET_ARGS='--disable-wayland --enable-x11';;
23 w) SET_ARGS='--enable-wayland --disable-x11';;
24 esac
26 ./configure \
27 --with-xkb-config-root=/usr/share/X11/xkb \
28 $SET_ARGS \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 libxkbcommon-x11)
38 copy libxkbcommon-x11.so*
39 DEPENDS="libxkbcommon xorg-libXau xorg-libXdmcp xorg-libxcb \
40 xorg-xkeyboard-config xorg-libX11"
41 ;;
42 libxkbcommon)
43 copy @std @rm
44 DEPENDS=" "
45 ;;
46 libxkbcommon-dev)
47 copy @dev
48 DEPENDS="libxkbcommon libxkbcommon-x11 \
49 xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev"
50 ;;
52 libxkbcommon-wayland)
53 CAT="x-window|Wayland support"
54 copy @std
55 ;;
56 libxkbcommon-wayland-dev)
57 CAT="development|development files with Wayland support"
58 copy @dev
59 ;;
60 esac
61 }