wok view Py3Qt-x11-gpl/receipt @ rev 25782

Fix miss depends/bdepends for ffado-mixer
author Stanislas Leduc <shann@slitaz.org>
date Mon Sep 23 19:24:03 2024 +0200 (6 weeks ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="Py3Qt-x11-gpl"
4 SOURCE="PyQt4_gpl_x11"
5 VERSION="4.12.3"
6 CATEGORY="development"
7 SHORT_DESC="PyQt"
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL"
10 WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
14 DEPENDS="python3 libQtDesigner libQtScript libQtCore libQtGui \
15 libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
16 libQtDBus libQtClucene sip3 gcc-lib-base dbus"
17 BUILD_DEPENDS="python3-dev sip3-dev Qt4-dev qmake \
18 dbus-dev dbus-python3-dev"
20 HOST_ARCH="i486 x86_64"
22 current_version()
23 {
24 wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
25 sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py
32 python3 configure.py \
33 --confirm-license \
34 --dbus /usr/include/dbus-1.0
35 make $MAKEFLAGS &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share $fs/usr
46 }