SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xpra"

# SliTaz package receipt.

PACKAGE="xpra"
VERSION="3.0.2"
CATEGORY="network"
SHORT_DESC="Screen for X."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://xpra.org/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="${WEB_SITE}src/$TARBALL"

DEPENDS="ffmpeg gcc83-lib-base gtk+ libvpx pygobject pygtk python x264"
BUILD_DEPENDS="ffmpeg-dev gcc83 gtk+-dev libvpx-dev pkg-config \
    pygobject-dev pygtk-dev python-cython python-dev x264-dev xorg-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/Xpra-org/xpra/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    #2.5.3 Setting also needed for SliTaz:
#    sed -i '736s/if/if True or/'    setup.py
    #3.0.2 Setting also needed for SliTaz:
    sed -i '678s/if/if True or/'    setup.py

    export    CC=gcc-83
    export    CXX=g++-83

    python setup.py build &&
    python setup.py install --root=$DESTDIR
}

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