SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wayland-protocols"

# SliTaz package receipt.

PACKAGE="wayland-protocols"
VERSION="1.25"
CATEGORY="system-tools"
SHORT_DESC="Additional Wayland protocols"
MAINTAINER="maintainer@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://wayland.freedesktop.org/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL"

DEPENDS="wayland"
BUILD_DEPENDS="wayland-dev meson"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/tags?sort=updated_desc' 2>/dev/null | \
    sed '/item-title/!d;s|.*">||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    meson    _build    \
        --buildtype=release \
        --prefix=/usr &&
    ninja    -C _build &&
    ninja    -C _build install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $install/usr/share/pkgconfig $fs/usr/share
    cp -a $install/usr/share/wayland-protocols $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)