SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libvdpau"

# SliTaz package receipt.

PACKAGE="libvdpau"
VERSION="1.4"
CATEGORY="x-window"
SHORT_DESC="VDPAU (Video Decode and Presentation API for Unix) library"
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.freedesktop.org/wiki/Software/VDPAU/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$VERSION/$TARBALL"

BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev \
xorg-dev-proto meson"

# Rules to configure and make the package.
compile_rules()
{
    mkdir mbuild && cd mbuild
        meson setup \
            --prefix=/usr \
            --libdir=lib \
            --bindir=/usr/bin \
            --sbindir=/usr/sbin \
            --buildtype=release \
    ..

    ninja build
    DESTDIR=$install ninja install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
        mkdir -p $fs/usr/lib/vdpau
        cp -a $install/usr/lib/*.so*    $fs/usr/lib
    cp -a $install/usr/lib/vdpau/*.so* $fs/usr/lib/vdpau
}
6047 packages and 205722 files in current database (Sun Jun 16 09:23:30 2024)