wok-next view weston/receipt @ rev 20582
Up libjson-c (0.13.1-20180305)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:00:23 2018 +0300 (2018-04-14) |
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 }