wok rev 25740

Fix vlc build, 3.x required Qt5
author Stanislas Leduc <shann@slitaz.org>
date Sun Aug 25 19:45:07 2024 +0200 (3 months ago)
parents e07ec60deaab
children d462db8f0258
files Qt5-dev/receipt Qt5/receipt libQt5Widgets/receipt libQt5X11Extras/receipt libQt5Xcb/receipt qt5/receipt vlc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Qt5-dev/receipt	Sun Aug 25 19:45:07 2024 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="Qt5-dev"
     1.7 +VERSION="5.14.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="qt5 x11 toolkit"
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL3 LGPL2.1"
    1.12 +SUGGESTED="libmng nvidia"
    1.13 +WEB_SITE="https://qt-project.org/"
    1.14 +WANTED="qt5"
    1.15 +
    1.16 +DEPENDS="Qt5Designer jpeg tiff libpng mesa libglu-mesa \
    1.17 +freetds libmysqlclient libpostgresqlclient libunixODBC xcb-util \
    1.18 +libQt3Support libQt5Plugins libQt5DBus libQt5Help libQt5OpenGL \
    1.19 +libQt5Script libQt5Sql libQt5ScriptTools libQt5Test libQt5Widgets \
    1.20 +libQt5X11Extras qtconfig gcc83-lib-base pkg-config"
    1.21 +
    1.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 +genpkg_rules()
    1.24 +{
    1.25 +	mkdir -p $fs/usr/lib $fs/usr/include/private
    1.26 +	cp -a $install/usr/include $fs/usr
    1.27 +	cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
    1.28 +	cp -a $install/usr/lib/*.prl  $fs/usr/lib/	
    1.29 +	cp -a $install/usr/share  $fs/usr	
    1.30 +	cp -a $install/usr/lib/qt5 $fs/usr/lib
    1.31 +
    1.32 +	#private qt includes
    1.33 +	for i in $install/include/*/private/*; do cp $install/$(cat $i | sed 's/^#include "[./]*\([a-z].*\)"$/\1/') $fs/usr/include/private; done
    1.34 +	
    1.35 +	# all qt plugins are in libQtPlugins
    1.36 +	rm -rf $fs/usr/lib/qt/plugins
    1.37 +	# all bin and remove QT applications designer, qmake, assistant, linguist: provide seperate packages
    1.38 +	cp -a $install/usr/bin $fs/usr	
    1.39 +	rm $fs/usr/bin/qmake
    1.40 +	rm $fs/usr/bin/designer
    1.41 +	# Linguist and assistant are now part of QTDesigner packages
    1.42 +	rm $fs/usr/bin/linguist
    1.43 +	rm $fs/usr/bin/assistant
    1.44 +	# qtconfig packaged now in separate package
    1.45 +	rm $fs/usr/bin/qtconfig
    1.46 +	rm $fs/usr/share/qt/translations/qtconfig*.qm
    1.47 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/Qt5/receipt	Sun Aug 25 19:45:07 2024 +0200
     2.3 @@ -0,0 +1,16 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="Qt5"
     2.7 +VERSION="5.14.2"
     2.8 +CATEGORY="meta"
     2.9 +SHORT_DESC="qt5 x11 toolkit"
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL3 LGPL2.1"
    2.12 +WEB_SITE="https://qt-project.org/"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	# dummy tree to avoid 'tazwok cmp --cook' building loop
    2.18 +	mkdir $fs/etc
    2.19 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libQt5Widgets/receipt	Sun Aug 25 19:45:07 2024 +0200
     3.3 @@ -0,0 +1,20 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libQt5Widgets"
     3.7 +VERSION="5.14.2"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Qt5 Widgets library."
    3.10 +MAINTAINER="maintainer@slitaz.org"
    3.11 +LICENSE="GPL3 LGPL3"
    3.12 +WEB_SITE="https://www.qt.io/"
    3.13 +
    3.14 +DEPENDS="libQt5Gui"
    3.15 +WANTED="qt5"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +genpkg_rules()
    3.19 +{
    3.20 +	mkdir -p $fs/usr/lib
    3.21 +
    3.22 +	cp -a $install/usr/lib/libQt5Widgets.so*	$fs/usr/lib
    3.23 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/libQt5X11Extras/receipt	Sun Aug 25 19:45:07 2024 +0200
     4.3 @@ -0,0 +1,20 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="libQt5X11Extras"
     4.7 +VERSION="5.14.2"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Qt5 X11 Extras library."
    4.10 +MAINTAINER="maintainer@slitaz.org"
    4.11 +LICENSE="GPL3 LGPL3"
    4.12 +WEB_SITE="https://www.qt.io/"
    4.13 +
    4.14 +DEPENDS="libQt5Gui"
    4.15 +WANTED="qt5"
    4.16 +
    4.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 +genpkg_rules()
    4.19 +{
    4.20 +	mkdir -p $fs/usr/lib
    4.21 +
    4.22 +	cp -a $install/usr/lib/libQt5X11Extras.so*	$fs/usr/lib
    4.23 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/libQt5Xcb/receipt	Sun Aug 25 19:45:07 2024 +0200
     5.3 @@ -0,0 +1,22 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="libQt5Xcb"
     5.7 +VERSION="5.14.2"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Qt5 Xcb library."
    5.10 +MAINTAINER="maintainer@slitaz.org"
    5.11 +LICENSE="GPL3 LGPL3"
    5.12 +WEB_SITE="https://www.qt.io/"
    5.13 +
    5.14 +DEPENDS="libQt5Gui libQt5DBus libxkbcommon"
    5.15 +WANTED="qt5"
    5.16 +
    5.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 +genpkg_rules()
    5.19 +{
    5.20 +	mkdir -p $fs/usr/lib/qt5/plugins/platforms
    5.21 +
    5.22 +	cp -a $install/usr/lib/libQt5XcbQpa.so*		$fs/usr/lib
    5.23 +	cp -a $install/usr/lib/qt5/plugins/platforms/libqxcb.so	\
    5.24 +		$fs/usr/lib/qt5/plugins/platforms
    5.25 +}
     6.1 --- a/qt5/receipt	Sun Aug 25 11:47:10 2024 +0200
     6.2 +++ b/qt5/receipt	Sun Aug 25 19:45:07 2024 +0200
     6.3 @@ -16,7 +16,7 @@
     6.4  
     6.5  SUGGESTED="libQt5Plugins libQt5ScriptTools"
     6.6  PROVIDE="qt-x11-opensource-src Qt5"
     6.7 -DEPENDS="gcc83-lib-base glibc-locale libQt5Core libQt5DBus 
     6.8 +DEPENDS="gcc83-lib-base icu glibc-locale libQt5Core libQt5DBus 
     6.9  	libQt5Designer libQt5Gui libQt5Help libQt5Network libQt5OpenGL 
    6.10  	libQt5Script libQt5Sql libQt5Svg libQt5Xml"
    6.11  BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev gcc83 glib-dev 
     7.1 --- a/vlc/receipt	Sun Aug 25 11:47:10 2024 +0200
     7.2 +++ b/vlc/receipt	Sun Aug 25 19:45:07 2024 +0200
     7.3 @@ -12,17 +12,18 @@
     7.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     7.5  WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
     7.6  
     7.7 -DEPENDS="gcc83-lib-base libQtCore libQtGui libvlc"
     7.8 +DEPENDS="gcc83-lib-base libQt5Core libQt5Gui libQt5Svg libQt5Widgets 
     7.9 +	libQt5X11Extras libQt5Xcb libvlc"
    7.10  BUILD_DEPENDS="alsa-lib-dev cairo-dev dbus-dev expat-dev ffmpeg-dev flac-dev 
    7.11  	fluidsynth-dev fribidi-dev gcc83 gcc83-lib-base gettext gmp-dev gnutls-dev 
    7.12  	hicolor-icon-theme jack-audio-connection-kit-dev libarchive-dev 
    7.13 -	libavc1394-dev libcaca-dev libcddb-dev libdvdread-dev libdvdnav-dev 
    7.14 +	libavc1394-dev libcddb-dev libdvdread-dev libdvdnav-dev 
    7.15  	libegl-mesa libgnutls libmad-dev libmodplug-dev libmpeg2-dev libmtp-dev 
    7.16  	libraw1394-dev librsvg-dev libsamplerate-dev libsdl-image-dev libsecret-dev 
    7.17  	libtheora-dev libtheora-enc libupnp-dev libvorbis-dev libxml2-dev lua5.1-dev 
    7.18 -	ncurses-dev opus-dev pango-dev protobuf-dev Qt4-dev speex-dev taglib-dev tar 
    7.19 +	ncurses-dev opus-dev pango-dev protobuf-dev Qt5-dev speex-dev taglib-dev tar 
    7.20  	util-linux-uuid-dev x264-dev x265-dev xcb-util-dev xcb-util-keysyms-dev yasm 
    7.21 -	zvbi-dev"
    7.22 +	zvbi-dev icu-dev"
    7.23  
    7.24  COOKOPTS="!fixdesktops"
    7.25