wok-current view weston/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 5317a720eaa1 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
13 DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \
14 xorg-libXcursor pam liblzma"
15 BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \
16 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev \
17 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev file"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - 'https://gitlab.freedesktop.org/wayland/weston/-/tags?sort=updated_desc' 2>/dev/null | \
23 sed '/item-title/!d;s|.*">||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|git-version.h : .FORCE|git-version.h :|' src/Makefile*
30 ./configure \
31 --prefix=/usr \
32 --libexec=/usr/lib/weston \
33 --disable-documentation \
34 --enable-fbdev-compositor &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/weston $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
44 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
45 cp -a $install/usr/share/weston $fs/usr/share
46 # Custom weston-session
47 cp -f $stuff/weston-session $fs/usr/bin
48 }