# HG changeset patch # User Stanislas Leduc # Date 1727207120 -7200 # Node ID 48cd9a3a247410631c87186501b80157bd8cd89e # Parent 7582bdc812ce0d390313934316d3ed722d76275e Add sip-pyqt and update PyQt-x11-gpl for ffado-mixer diff -r 7582bdc812ce -r 48cd9a3a2474 PyQt-x11-gpl/receipt --- a/PyQt-x11-gpl/receipt Tue Sep 24 14:47:04 2024 +0000 +++ b/PyQt-x11-gpl/receipt Tue Sep 24 21:45:20 2024 +0200 @@ -14,7 +14,8 @@ DEPENDS="python libQtDesigner libQtScript libQtCore libQtGui \ libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \ libQtDBus libQtClucene sip gcc-lib-base dbus" -BUILD_DEPENDS="python-dev sip-dev Qt4-dev qmake" +BUILD_DEPENDS="python-dev sip-dev Qt4-dev qmake \ +dbus-dev dbus-python-dev" current_version() { @@ -25,8 +26,8 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py - python configure.py + python configure.py \ + --confirm-license make $MAKEFLAGS && make DESTDIR=$DESTDIR install } diff -r 7582bdc812ce -r 48cd9a3a2474 ffado-tools/receipt --- a/ffado-tools/receipt Tue Sep 24 14:47:04 2024 +0000 +++ b/ffado-tools/receipt Tue Sep 24 21:45:20 2024 +0200 @@ -9,7 +9,8 @@ WEB_SITE="https://www.ffado.org/" WANTED="libffado" -DEPENDS="libffado libdbus-c++" +DEPENDS="libffado libdbus-c++ python libQtCore \ +libQtGui libQtWidgets" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() @@ -17,4 +18,5 @@ mkdir -p $fs/usr/bin $fs/usr/lib cp -a $install/usr/bin/ffado* $fs/usr/bin cp -a $install/usr/lib/libffado $fs/usr/lib + cp -a $install/usr/lib/python* $fs/usr/lib } diff -r 7582bdc812ce -r 48cd9a3a2474 libffado/receipt --- a/libffado/receipt Tue Sep 24 14:47:04 2024 +0000 +++ b/libffado/receipt Tue Sep 24 21:45:20 2024 +0200 @@ -11,10 +11,10 @@ WGET_URL="$WEB_SITE/files/$TARBALL" DEPENDS="libraw1394 libconfig libxml3++ libiec61883" -BUILD_DEPENDS="scons dbus-python3-dev Py3Qt-x11-gpl sip3 \ +BUILD_DEPENDS="scons dbus-python-dev PyQt-x11-gpl sip \ dbus-dev gcc83 dbus-c++-dev libraw1394-dev libconfig-dev \ alsa-lib-dev libiec61883-dev libxml3++-dev xdg-utils \ -jack-audio-connection-kit-dev" +jack-audio-connection-kit-dev sip-pyqt" # Rules to configure and make the package. compile_rules() @@ -39,7 +39,7 @@ DETECT_USERSPACE_ENV=False \ PREFIX=/usr \ PYPKGDIR=$site_packages \ - PYTHON_INTERPRETER=/usr/bin/python3 \ + PYTHON_INTERPRETER=/usr/bin/python \ DEBUG=no scons DESTDIR=$install install diff -r 7582bdc812ce -r 48cd9a3a2474 sip-pyqt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sip-pyqt/receipt Tue Sep 24 21:45:20 2024 +0200 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="sip-pyqt" +SOURCE="sip" +VERSION="4.19.25" # last version for Python 2 +CATEGORY="development" +SHORT_DESC="PyQt sip module." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2 GPL3" +WEB_SITE="https://github.com/Python-SIP/sip" +REPOLOGY="python:sip" + +TARBALL="$SOURCE-$VERSION.tar.gz" +#WGET_URL="$SF_MIRROR/pyqt/$TARBALL" +WGET_URL="https://www.riverbankcomputing.com/static/Downloads/$SOURCE/$VERSION/$TARBALL" + +DEPENDS="gcc-lib-base python" +BUILD_DEPENDS="python-dev" + +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + python configure.py --sip-module PyQt4.sip --no-tools && + make && + make install DESTDIR=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders bin + cook_copy_folders lib +} diff -r 7582bdc812ce -r 48cd9a3a2474 sip3-dev/receipt --- a/sip3-dev/receipt Tue Sep 24 14:47:04 2024 +0000 +++ b/sip3-dev/receipt Tue Sep 24 21:45:20 2024 +0200 @@ -6,7 +6,7 @@ SHORT_DESC="Development files for sip3." MAINTAINER="allan316@gmail.com" LICENSE="GPL2 GPL3" -WEB_SITE="https://sip3.io/" +WEB_SITE="https://github.com/Python-SIP/sip" WANTED="sip3" DEPENDS="sip3" diff -r 7582bdc812ce -r 48cd9a3a2474 sip3/receipt --- a/sip3/receipt Tue Sep 24 14:47:04 2024 +0000 +++ b/sip3/receipt Tue Sep 24 21:45:20 2024 +0200 @@ -6,7 +6,7 @@ SHORT_DESC="C/C++ Bindings Generator for Python v3." MAINTAINER="allan316@gmail.com" LICENSE="GPL2 GPL3" -WEB_SITE="https://sip3.io/" +WEB_SITE="https://github.com/Python-SIP/sip" REPOLOGY="python:sip" TARBALL="sip-$VERSION.tar.gz"