wok view xpra/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents 029363c383f4
children 0262035dc1e7
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 '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;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 }