wok-next view weston/receipt @ rev 20672

font-manager: update bdeps / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 16:51:58 2018 +0300 (2018-05-11)
parents cc34674845c1
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="weston"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Reference implementation of a Wayland compositor"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://wayland.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
14 BUILD_DEPENDS="wayland-dev mesa-dev cairo-gl-dev libxkbcommon-dev \
15 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev xz-dev \
16 gegl-dev libdrm-dev xorg-libXxf86vm-dev eudev-dev libjpeg-turbo-dev expat-dev \
17 xorg-libxshmfence-dev"
18 SPLIT="weston-dev"
20 compile_rules() {
21 ./configure \
22 --prefix=/usr \
23 --libexec=/usr/lib/weston \
24 --disable-documentation \
25 --enable-fbdev-compositor &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 # Custom weston-session
31 cp -f $stuff/weston-session $install/usr/bin
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 weston)
37 copy @std
38 DEPENDS="cairo-gl eudev libdrm libjpeg-turbo libpng16 libunwind \
39 libxkbcommon-wayland mesa mesa-libegl mesa-libgbm \
40 mesa-libwayland-egl mtdev pam wayland xorg-libX11 xorg-libXcursor \
41 xorg-libxcb xorg-pixman"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }