SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "phonon-backend-gstreamer"

# SliTaz package receipt.

PACKAGE="phonon-backend-gstreamer"
VERSION="4.7.2"
CATEGORY="multimedia"
LICENSE="LGPL2.1"
SHORT_DESC="gstreamer lib for phonon"
MAINTAINER="psychomaniak@xakep.ru"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://github.com/KDE/phonon"
WGET_URL="https://download.kde.org/stable/phonon/$PACKAGE/$VERSION/src/$TARBALL"

DEPENDS="phonon gst-plugins-base gst-plugins-good gst-ffmpeg"
BUILD_DEPENDS="phonon phonon-dev cmake qmake automoc4 Qt4-dev \
gst-plugins-base gst-plugins-base-dev"

PROVIDE="qt4-phonon"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

compile_rules()
{
    mkdir build; cd build
    cmake    -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON .. &&
    make && make DESTDIR=$DESTDIR install
}
genpkg_rules()
{
    cp -a $install/* $fs
    rm -fr $fs/usr/share/icons
    mkdir -p $fs/usr/lib/qt/plugins
    ln -s /usr/lib/kde4/plugins/phonon_backend $fs/usr/lib/qt/plugins/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)