wok view xpra/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | 922f061231c2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xpra"
4 VERSION="3.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Screen for X."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://xpra.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}src/$TARBALL"
14 DEPENDS="ffmpeg gcc83-lib-base gtk+ libvpx pygobject pygtk python x264"
15 BUILD_DEPENDS="ffmpeg-dev gcc83 gtk+-dev libvpx-dev pkg-config \
16 pygobject-dev pygtk-dev python-cython python-dev x264-dev xorg-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/Xpra-org/xpra/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 #2.5.3 Setting also needed for SliTaz:
29 # sed -i '736s/if/if True or/' setup.py
30 #3.0.2 Setting also needed for SliTaz:
31 sed -i '678s/if/if True or/' setup.py
33 export CC=gcc-83
34 export CXX=g++-83
36 python setup.py build &&
37 python setup.py install --root=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs/
44 }