# HG changeset patch # User Stanislas Leduc # Date 1727112243 -7200 # Node ID f25a84c6254abf4fb1be7f1ced2e41d70f8c978b # Parent 0d41479b7e7f792ebf2dab8288c8652894b5b307 Fix miss depends/bdepends for ffado-mixer diff -r 0d41479b7e7f -r f25a84c6254a Py3Qt-x11-gpl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Py3Qt-x11-gpl/receipt Mon Sep 23 19:24:03 2024 +0200 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="Py3Qt-x11-gpl" +SOURCE="PyQt4_gpl_x11" +VERSION="4.12.3" +CATEGORY="development" +SHORT_DESC="PyQt" +MAINTAINER="allan316@gmail.com" +LICENSE="GPL" +WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/pyqt/$TARBALL" + +DEPENDS="python3 libQtDesigner libQtScript libQtCore libQtGui \ +libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \ +libQtDBus libQtClucene sip3 gcc-lib-base dbus" +BUILD_DEPENDS="python3-dev sip3-dev Qt4-dev qmake \ +dbus-dev dbus-python3-dev" + +HOST_ARCH="i486 x86_64" + +current_version() +{ + wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + +# Rules to configure and make the package. +compile_rules() +{ + sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py + python3 configure.py \ + --confirm-license \ + --dbus /usr/include/dbus-1.0 + make $MAKEFLAGS && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share $fs/usr +} diff -r 0d41479b7e7f -r f25a84c6254a dbus-python3-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbus-python3-dev/receipt Mon Sep 23 19:24:03 2024 +0200 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="dbus-python3-dev" +VERSION="1.2.18" +CATEGORY="development" +SHORT_DESC="D-Bus python3 binding - development files." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/" + +DEPENDS="dbus-python3 pkg-config" +WANTED="dbus-python3" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/include $fs/usr + rm -rf $fs/usr/lib/*/site-packages/dbus + rm -rf $fs/usr/lib/*/site-packages/*.so + + # Ensure remove .la files + find $fs -name "*.la" -delete +} diff -r 0d41479b7e7f -r f25a84c6254a dbus-python3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbus-python3/receipt Mon Sep 23 19:24:03 2024 +0200 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="dbus-python3" +SOURCE="dbus-python" +VERSION="1.2.18" +CATEGORY="system-tools" +SHORT_DESC="D-Bus python3 binding." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/" + +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://dbus.freedesktop.org/releases/dbus-python/$TARBALL" + +DEPENDS="dbus dbus-glib glib libgio python3" +BUILD_DEPENDS="dbus-dev dbus-glib-dev glib-dev libgio-dev python3-dev" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS PYTHON_VERSION=3 && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + + cp -a $install/usr/lib/python* $fs/usr/lib + rm $fs/usr/lib/python*/*/*.la +} diff -r 0d41479b7e7f -r f25a84c6254a libffado/receipt --- a/libffado/receipt Mon Sep 23 18:13:10 2024 +0200 +++ b/libffado/receipt Mon Sep 23 19:24:03 2024 +0200 @@ -11,9 +11,10 @@ WGET_URL="$WEB_SITE/files/$TARBALL" DEPENDS="libraw1394 libconfig libxml3++ libiec61883" -BUILD_DEPENDS="scons dbus-python-dev dbus-dev gcc83 \ -dbus-c++-dev libraw1394-dev libconfig-dev alsa-lib-dev \ -libiec61883-dev libxml3++-dev jack-audio-connection-kit-dev" +BUILD_DEPENDS="scons dbus-python3-dev Py3Qt-x11-gpl sip3 \ +dbus-dev gcc83 dbus-c++-dev libraw1394-dev libconfig-dev \ +alsa-lib-dev libiec61883-dev libxml3++-dev xdg-utils \ +jack-audio-connection-kit-dev" # Rules to configure and make the package. compile_rules() @@ -30,11 +31,15 @@ # see https://github.com/Beep6581/RawTherapee/issues/3024 export CXXFLAGS="$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0" - scons \ - CUSTOM_ENV=True \ - DIST_TARGET=$arch \ - DETECT_USERSPACE_ENV=False \ - PREFIX=/usr \ + site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + + scons \ + CUSTOM_ENV=True \ + DIST_TARGET=$arch \ + DETECT_USERSPACE_ENV=False \ + PREFIX=/usr \ + PYPKGDIR=$site_packages \ + PYTHON_INTERPRETER=/usr/bin/python3 \ DEBUG=no scons DESTDIR=$install install diff -r 0d41479b7e7f -r f25a84c6254a sip3-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sip3-dev/receipt Mon Sep 23 19:24:03 2024 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="sip3-dev" +VERSION="4.19.25" +CATEGORY="development" +SHORT_DESC="Development files for sip3." +MAINTAINER="allan316@gmail.com" +LICENSE="GPL2 GPL3" +WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro" + +WANTED="sip3" +DEPENDS="sip3" + +HOST_ARCH="i486 x86_64" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr +} diff -r 0d41479b7e7f -r f25a84c6254a sip3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sip3/receipt Mon Sep 23 19:24:03 2024 +0200 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="sip3" +VERSION="4.19.25" +CATEGORY="development" +SHORT_DESC="C/C++ Bindings Generator for Python v3." +MAINTAINER="allan316@gmail.com" +LICENSE="GPL2 GPL3" +WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro" +REPOLOGY="python:sip" + +TARBALL="sip-$VERSION.tar.gz" +#WGET_URL="$SF_MIRROR/pyqt/$TARBALL" +WGET_URL="https://www.riverbankcomputing.com/static/Downloads/sip/$VERSION/$TARBALL" + +DEPENDS="gcc-lib-base python3" +BUILD_DEPENDS="python3-dev" + +HOST_ARCH="i486 x86_64" + +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + python3 configure.py && + make && + make install DESTDIR=$DESTDIR + + # SIP module + make clean + python3 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 +}