wok-next view libxkbcommon/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | f48456621a9d |
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/stable/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="libxkbcommon-x11 libxkbcommon libxkbcommon-dev \
18 libxkbcommon-wayland:w libxkbcommon-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 }