wok-current view wayland-protocols/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (5 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wayland-protocols"
4 VERSION="1.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="Additional Wayland protocols"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wayland.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL"
14 DEPENDS="wayland"
15 BUILD_DEPENDS="wayland-dev meson"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/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 meson _build \
30 --buildtype=release \
31 --prefix=/usr &&
32 ninja -C _build &&
33 ninja -C _build install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/share/pkgconfig $fs/usr/share
41 cp -a $install/usr/share/wayland-protocols $fs/usr/share
42 }