wok annotate xpra/receipt @ rev 24382

updated bluefish (2.2.10 -> 2.2.12)
author Hans-G?nter Theisgen
date Sun Feb 06 10:59:31 2022 +0100 (2022-02-06)
parents 029363c383f4
children 0262035dc1e7
rev   line source
pascal@14161 1 # SliTaz package receipt.
pascal@14161 2
pascal@14161 3 PACKAGE="xpra"
Hans-G?nter@22306 4 VERSION="3.0.2"
pascal@14161 5 CATEGORY="network"
Hans-G?nter@21798 6 SHORT_DESC="Screen for X."
pascal@14161 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
Hans-G?nter@21798 9 WEB_SITE="https://xpra.org/"
Hans-G?nter@21798 10
pascal@14161 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@14161 12 WGET_URL="${WEB_SITE}src/$TARBALL"
pascal@14161 13
Hans-G?nter@21798 14 DEPENDS="ffmpeg gcc83-lib-base gtk+ libvpx pygobject pygtk python x264"
Hans-G?nter@21798 15 BUILD_DEPENDS="ffmpeg-dev gcc83 gtk+-dev libvpx-dev pkg-config \
Hans-G?nter@21798 16 pygobject-dev pygtk-dev python-cython python-dev x264-dev xorg-dev"
pascal@14161 17
pascal@24304 18 # What is the latest version available today?
pascal@24304 19 current_version()
pascal@24304 20 {
pascal@24304 21 wget -O - https://github.com/Xpra-org/xpra/releases 2>/dev/null | \
pascal@24304 22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
pascal@24304 23 }
pascal@24304 24
pascal@14161 25 # Rules to configure and make the package.
pascal@14161 26 compile_rules()
pascal@14161 27 {
Hans-G?nter@21798 28 #2.5.3 Setting also needed for SliTaz:
Hans-G?nter@22306 29 # sed -i '736s/if/if True or/' setup.py
Hans-G?nter@22306 30 #3.0.2 Setting also needed for SliTaz:
Hans-G?nter@22306 31 sed -i '678s/if/if True or/' setup.py
Hans-G?nter@21798 32
Hans-G?nter@21798 33 export CC=gcc-83
Hans-G?nter@21798 34 export CXX=g++-83
Hans-G?nter@21798 35
pascal@14161 36 python setup.py build &&
pascal@14161 37 python setup.py install --root=$DESTDIR
pascal@14161 38 }
pascal@14161 39
pascal@14161 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14161 41 genpkg_rules()
pascal@14161 42 {
pascal@14161 43 cp -a $install/* $fs/
pascal@14161 44 }