wok-next view weston/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 757d032c55c7 |
children | 5669e8b3be70 |
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-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="$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="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 }