wok annotate weston/receipt @ rev 25064

openvas-libraries, openvas-client: update gnutls calls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 08 16:46:37 2022 +0000 (2022-06-08)
parents 7c0170dd3ecc
children 05dca430ef91
rev   line source
pankso@16204 1 # SliTaz package receipt.
pankso@16204 2
pankso@16204 3 PACKAGE="weston"
pankso@16204 4 VERSION="1.4.0"
pankso@16204 5 CATEGORY="x-window"
pankso@16204 6 SHORT_DESC="Reference implementation of a Wayland compositor."
pankso@16204 7 MAINTAINER="pankso@slitaz.org"
pankso@16204 8 LICENSE="MIT"
pankso@16204 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@24974 10 WEB_SITE="https://wayland.freedesktop.org/"
pascal@24974 11 WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL"
pankso@16204 12
pankso@16204 13 DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \
pankso@16204 14 xorg-libXcursor pam liblzma"
pankso@16204 15 BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \
pascal@16212 16 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev \
pascal@20586 17 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev file"
pankso@16204 18
pascal@24535 19 # What is the latest version available today?
pascal@24535 20 current_version()
pascal@24535 21 {
pascal@24535 22 wget -O - 'https://gitlab.freedesktop.org/wayland/weston/-/tags?sort=updated_desc' 2>/dev/null | \
pascal@24535 23 sed '/item-title/!d;s|.*">||;s|<.*||;q'
pascal@24535 24 }
pascal@24535 25
pankso@16204 26 # Rules to configure and make the package.
pankso@16204 27 compile_rules()
pankso@16204 28 {
pascal@23873 29 sed -i 's|git-version.h : .FORCE|git-version.h :|' src/Makefile*
pankso@16204 30 ./configure \
pankso@16204 31 --prefix=/usr \
pankso@16204 32 --libexec=/usr/lib/weston \
pankso@16204 33 --disable-documentation \
pankso@16204 34 --enable-fbdev-compositor &&
pankso@16204 35 make && make install
pankso@16204 36 }
pankso@16204 37
pankso@16204 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16204 39 genpkg_rules()
pankso@16204 40 {
pankso@16204 41 mkdir -p $fs/usr/lib/weston $fs/usr/share
pankso@16204 42 cp -a $install/usr/bin $fs/usr
pankso@16204 43 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
pankso@16204 44 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
pankso@16204 45 cp -a $install/usr/share/weston $fs/usr/share
pankso@16204 46 # Custom weston-session
pankso@16204 47 cp -f $stuff/weston-session $fs/usr/bin
pankso@16204 48 }
psychomaniak@19154 49