wok rev 25782

Fix miss depends/bdepends for ffado-mixer
author Stanislas Leduc <shann@slitaz.org>
date Mon Sep 23 19:24:03 2024 +0200 (8 weeks ago)
parents 0d41479b7e7f
children 2b88f36eab80
files Py3Qt-x11-gpl/receipt dbus-python3-dev/receipt dbus-python3/receipt libffado/receipt sip3-dev/receipt sip3/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Py3Qt-x11-gpl/receipt	Mon Sep 23 19:24:03 2024 +0200
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="Py3Qt-x11-gpl"
     1.7 +SOURCE="PyQt4_gpl_x11"
     1.8 +VERSION="4.12.3"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="PyQt"
    1.11 +MAINTAINER="allan316@gmail.com"
    1.12 +LICENSE="GPL"
    1.13 +WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
    1.16 +
    1.17 +DEPENDS="python3 libQtDesigner libQtScript  libQtCore libQtGui \
    1.18 +libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \
    1.19 +libQtDBus libQtClucene sip3 gcc-lib-base dbus"
    1.20 +BUILD_DEPENDS="python3-dev sip3-dev Qt4-dev qmake \
    1.21 +dbus-dev dbus-python3-dev"
    1.22 +
    1.23 +HOST_ARCH="i486 x86_64"
    1.24 +
    1.25 +current_version()
    1.26 +{
    1.27 +	wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \
    1.28 +	sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q"
    1.29 +}
    1.30 +
    1.31 +# Rules to configure and make the package.
    1.32 +compile_rules()
    1.33 +{
    1.34 +	sed -i 's|sys.stdin.readline()|"yes"	# &|' configure.py
    1.35 +	python3 configure.py \
    1.36 +	    --confirm-license \
    1.37 +	    --dbus /usr/include/dbus-1.0
    1.38 +	make $MAKEFLAGS &&
    1.39 +	make DESTDIR=$DESTDIR install
    1.40 +}
    1.41 +
    1.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.43 +genpkg_rules()
    1.44 +{
    1.45 +	mkdir -p $fs/usr
    1.46 +	cp -a $install/usr/bin $fs/usr
    1.47 +	cp -a $install/usr/lib $fs/usr
    1.48 +	cp -a $install/usr/share $fs/usr
    1.49 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dbus-python3-dev/receipt	Mon Sep 23 19:24:03 2024 +0200
     2.3 @@ -0,0 +1,26 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="dbus-python3-dev"
     2.7 +VERSION="1.2.18"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="D-Bus python3 binding - development files."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"
    2.13 +
    2.14 +DEPENDS="dbus-python3 pkg-config"
    2.15 +WANTED="dbus-python3"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr
    2.21 +
    2.22 +	cp -a $install/usr/lib		$fs/usr
    2.23 +	cp -a $install/usr/include	$fs/usr
    2.24 +	rm -rf				$fs/usr/lib/*/site-packages/dbus
    2.25 +	rm -rf				$fs/usr/lib/*/site-packages/*.so
    2.26 +
    2.27 +        # Ensure remove .la files
    2.28 +        find $fs -name "*.la" -delete
    2.29 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dbus-python3/receipt	Mon Sep 23 19:24:03 2024 +0200
     3.3 @@ -0,0 +1,40 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="dbus-python3"
     3.7 +SOURCE="dbus-python"
     3.8 +VERSION="1.2.18"
     3.9 +CATEGORY="system-tools"
    3.10 +SHORT_DESC="D-Bus python3 binding."
    3.11 +MAINTAINER="pankso@slitaz.org"
    3.12 +LICENSE="GPL2"
    3.13 +WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"
    3.14 +
    3.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    3.16 +WGET_URL="https://dbus.freedesktop.org/releases/dbus-python/$TARBALL"
    3.17 +
    3.18 +DEPENDS="dbus dbus-glib glib libgio python3"
    3.19 +BUILD_DEPENDS="dbus-dev dbus-glib-dev glib-dev libgio-dev python3-dev"
    3.20 +
    3.21 +# What is the latest version available today?
    3.22 +current_version()
    3.23 +{
    3.24 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    3.25 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    3.26 +}
    3.27 +
    3.28 +# Rules to configure and make the package.
    3.29 +compile_rules()
    3.30 +{
    3.31 +	./configure $CONFIGURE_ARGS PYTHON_VERSION=3 &&
    3.32 +	make &&
    3.33 +	make install
    3.34 +}
    3.35 +
    3.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.37 +genpkg_rules()
    3.38 +{
    3.39 +	mkdir -p $fs/usr/lib
    3.40 +
    3.41 +	cp -a $install/usr/lib/python*	$fs/usr/lib
    3.42 +	rm				$fs/usr/lib/python*/*/*.la
    3.43 +}
     4.1 --- a/libffado/receipt	Mon Sep 23 18:13:10 2024 +0200
     4.2 +++ b/libffado/receipt	Mon Sep 23 19:24:03 2024 +0200
     4.3 @@ -11,9 +11,10 @@
     4.4  WGET_URL="$WEB_SITE/files/$TARBALL"
     4.5  
     4.6  DEPENDS="libraw1394 libconfig libxml3++ libiec61883"
     4.7 -BUILD_DEPENDS="scons dbus-python-dev dbus-dev gcc83 \
     4.8 -dbus-c++-dev libraw1394-dev libconfig-dev alsa-lib-dev \
     4.9 -libiec61883-dev libxml3++-dev jack-audio-connection-kit-dev"
    4.10 +BUILD_DEPENDS="scons dbus-python3-dev Py3Qt-x11-gpl sip3 \
    4.11 +dbus-dev gcc83 dbus-c++-dev libraw1394-dev libconfig-dev \
    4.12 +alsa-lib-dev libiec61883-dev libxml3++-dev xdg-utils \
    4.13 +jack-audio-connection-kit-dev"
    4.14  
    4.15  # Rules to configure and make the package.
    4.16  compile_rules()
    4.17 @@ -30,11 +31,15 @@
    4.18      # see https://github.com/Beep6581/RawTherapee/issues/3024
    4.19      export CXXFLAGS="$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0"
    4.20  
    4.21 -    scons                      		\
    4.22 -	CUSTOM_ENV=True			\
    4.23 -        DIST_TARGET=$arch		\
    4.24 -	DETECT_USERSPACE_ENV=False	\
    4.25 -        PREFIX=/usr             	\
    4.26 +    site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
    4.27 +
    4.28 +    scons                      			\
    4.29 +	CUSTOM_ENV=True				\
    4.30 +        DIST_TARGET=$arch			\
    4.31 +        DETECT_USERSPACE_ENV=False		\
    4.32 +        PREFIX=/usr             		\
    4.33 +        PYPKGDIR=$site_packages			\
    4.34 +        PYTHON_INTERPRETER=/usr/bin/python3	\
    4.35          DEBUG=no
    4.36  
    4.37      scons DESTDIR=$install install
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/sip3-dev/receipt	Mon Sep 23 19:24:03 2024 +0200
     5.3 @@ -0,0 +1,21 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="sip3-dev"
     5.7 +VERSION="4.19.25"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Development files for sip3."
    5.10 +MAINTAINER="allan316@gmail.com"
    5.11 +LICENSE="GPL2 GPL3"
    5.12 +WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
    5.13 +
    5.14 +WANTED="sip3"
    5.15 +DEPENDS="sip3"
    5.16 +
    5.17 +HOST_ARCH="i486 x86_64"
    5.18 +
    5.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.20 +genpkg_rules()
    5.21 +{
    5.22 +	mkdir -p $fs/usr
    5.23 +	cp -a $install/usr/include $fs/usr
    5.24 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/sip3/receipt	Mon Sep 23 19:24:03 2024 +0200
     6.3 @@ -0,0 +1,49 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="sip3"
     6.7 +VERSION="4.19.25"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="C/C++ Bindings Generator for Python v3."
    6.10 +MAINTAINER="allan316@gmail.com"
    6.11 +LICENSE="GPL2 GPL3"
    6.12 +WEB_SITE="https://www.riverbankcomputing.com/software/sip/intro"
    6.13 +REPOLOGY="python:sip"
    6.14 +
    6.15 +TARBALL="sip-$VERSION.tar.gz"
    6.16 +#WGET_URL="$SF_MIRROR/pyqt/$TARBALL"
    6.17 +WGET_URL="https://www.riverbankcomputing.com/static/Downloads/sip/$VERSION/$TARBALL"
    6.18 +
    6.19 +DEPENDS="gcc-lib-base python3"
    6.20 +BUILD_DEPENDS="python3-dev"
    6.21 +
    6.22 +HOST_ARCH="i486 x86_64"
    6.23 +
    6.24 +# What is the latest version available today?
    6.25 +current_version()
    6.26 +{
    6.27 +	wget -O - $WEB_SITE 2>/dev/null | \
    6.28 +	sed '/SIP/!d;/eleased/!d;s|.*SIP v||;s| .*||;q'
    6.29 +}
    6.30 +
    6.31 +# Rules to configure and make the package.
    6.32 +compile_rules()
    6.33 +{
    6.34 +	python3 configure.py &&
    6.35 +	make &&
    6.36 +	make install DESTDIR=$DESTDIR
    6.37 +
    6.38 +        # SIP module
    6.39 +	make clean
    6.40 +        python3 configure.py \
    6.41 +          --sip-module PyQt4.sip \
    6.42 +          --no-tools &&
    6.43 +        make &&
    6.44 +        make install DESTDIR=$DESTDIR
    6.45 +}
    6.46 +
    6.47 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.48 +genpkg_rules()
    6.49 +{
    6.50 +	cook_copy_folders	bin
    6.51 +	cook_copy_folders	lib
    6.52 +}