wok-next annotate weston/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@20462 | 1 # SliTaz package receipt v2. |
pankso@16204 | 2 |
pankso@16204 | 3 PACKAGE="weston" |
pankso@16204 | 4 VERSION="1.4.0" |
pankso@16204 | 5 CATEGORY="x-window" |
al@20462 | 6 SHORT_DESC="Reference implementation of a Wayland compositor" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pankso@16204 | 8 LICENSE="MIT" |
al@20462 | 9 WEB_SITE="https://wayland.freedesktop.org/" |
al@20462 | 10 |
pankso@16204 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16204 | 12 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL" |
pankso@16204 | 13 |
al@21105 | 14 BUILD_DEPENDS="wayland-dev mesa-dev cairo-dev libxkbcommon-dev \ |
al@21078 | 15 libunwind-dev mtdev-dev libxcursor-dev pam-dev xz-dev \ |
al@21078 | 16 gegl-dev libdrm-dev libxxf86vm-dev eudev-dev libjpeg-turbo-dev expat-dev \ |
al@21078 | 17 libxshmfence-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
pankso@16204 | 19 |
al@20462 | 20 compile_rules() { |
pankso@16204 | 21 ./configure \ |
pankso@16204 | 22 --prefix=/usr \ |
pankso@16204 | 23 --libexec=/usr/lib/weston \ |
pankso@16204 | 24 --disable-documentation \ |
pankso@16204 | 25 --enable-fbdev-compositor && |
al@20504 | 26 fix libtool && |
al@20534 | 27 make && |
al@20534 | 28 make install || return 1 |
al@20504 | 29 |
al@20504 | 30 # Custom weston-session |
al@20504 | 31 cp -f $stuff/weston-session $install/usr/bin |
pankso@16204 | 32 } |
pankso@16204 | 33 |
al@20462 | 34 genpkg_rules() { |
al@20462 | 35 case $PACKAGE in |
al@20462 | 36 weston) |
al@20504 | 37 copy @std |
al@21105 | 38 DEPENDS="libcairo eudev libdrm libjpeg-turbo libpng libunwind \ |
al@20504 | 39 libxkbcommon-wayland mesa mesa-libegl mesa-libgbm \ |
al@21078 | 40 mesa-libwayland-egl mtdev pam wayland libx11 libxcursor \ |
al@21078 | 41 libxcb pixman" |
al@20462 | 42 ;; |
al@20462 | 43 *-dev) |
al@20504 | 44 copy @dev |
al@20462 | 45 ;; |
al@20462 | 46 esac |
pankso@16204 | 47 } |