wok-next view weston/receipt @ rev 21713
updated gtest (1.8.1 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 06 16:59:55 2020 +0100 (2020-07-06) |
parents | 5669e8b3be70 |
children |
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="devel@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-dev libxkbcommon-dev \
15 libunwind-dev mtdev-dev libxcursor-dev pam-dev xz-dev \
16 gegl-dev libdrm-dev libxxf86vm-dev eudev-dev libjpeg-turbo-dev expat-dev \
17 libxshmfence-dev"
18 SPLIT="$PACKAGE-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="libcairo eudev libdrm libjpeg-turbo libpng libunwind \
39 libxkbcommon-wayland mesa mesa-libegl mesa-libgbm \
40 mesa-libwayland-egl mtdev pam wayland libx11 libxcursor \
41 libxcb pixman"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }