wok-next annotate 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 |
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@20504 | 14 BUILD_DEPENDS="wayland-dev mesa-dev cairo-gl-dev libxkbcommon-dev \ |
al@20452 | 15 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev xz-dev \ |
al@20504 | 16 gegl-dev libdrm-dev xorg-libXxf86vm-dev eudev-dev libjpeg-turbo-dev expat-dev \ |
al@20504 | 17 xorg-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@20504 | 38 DEPENDS="cairo-gl eudev libdrm libjpeg-turbo libpng16 libunwind \ |
al@20504 | 39 libxkbcommon-wayland mesa mesa-libegl mesa-libgbm \ |
al@20504 | 40 mesa-libwayland-egl mtdev pam wayland xorg-libX11 xorg-libXcursor \ |
al@20504 | 41 xorg-libxcb xorg-pixman" |
al@20462 | 42 ;; |
al@20462 | 43 *-dev) |
al@20504 | 44 copy @dev |
al@20462 | 45 ;; |
al@20462 | 46 esac |
pankso@16204 | 47 } |