wok-next rev 19974

qt4-base: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 17 20:18:31 2017 +0200 (2017-10-17)
parents 65e658782e9a
children 9b14aa36cd1f
files libQtWebkit/receipt qt4-base/receipt qt4-base/stuff/qtconfig.desktop qtconfig/receipt qtconfig/stuff/qtconfig.desktop
line diff
     1.1 --- a/libQtWebkit/receipt	Tue Oct 17 20:06:27 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="libQtWebkit"
     1.7 -VERSION="4.8.6"
     1.8 -CATEGORY="network"
     1.9 -SHORT_DESC="Web browser engine for Qt"
    1.10 -MAINTAINER="psychomaniak@xakep.ru"
    1.11 -LICENSE="GPL3 LGPL2.1"
    1.12 -WEB_SITE="http://qt-project.org/"
    1.13 -WANTED="qt4-base"
    1.14 -
    1.15 -DEPENDS="libQtCore libQtGui libQtNetwork libpng"
    1.16 -
    1.17 -#Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/lib/libQtWebKit.so* $fs/usr/lib
    1.22 -}
    1.23 -
     2.1 --- a/qt4-base/receipt	Tue Oct 17 20:06:27 2017 +0200
     2.2 +++ b/qt4-base/receipt	Tue Oct 17 20:18:31 2017 +0200
     2.3 @@ -1,4 +1,4 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="qt4-base"
     2.8  SOURCE="qt-everywhere-opensource-src"
     2.9 @@ -10,10 +10,7 @@
    2.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.11  WEB_SITE="http://qt-project.org/"
    2.12  WGET_URL="http://download.qt-project.org/archive/qt/${VERSION%.*}/$VERSION/$TARBALL"
    2.13 -# PROVIDE="qt-x11-opensource-src Qt4"
    2.14 -TAGS="qt"
    2.15  
    2.16 -DEPENDS="libQtWebkit qtconfig"
    2.17  BUILD_DEPENDS="xorg-libX11-dev dbus-dev libmng-dev \
    2.18  cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev \
    2.19  postgresql-dev atk-dev autoconf automake bash \
    2.20 @@ -23,6 +20,7 @@
    2.21  pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
    2.22  pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
    2.23  sqlite-dev libQtClucene wayland-dev"
    2.24 +SPLIT="qt-base libQtWebkit qtconfig"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28 @@ -67,5 +65,27 @@
    2.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.30  genpkg_rules()
    2.31  {
    2.32 -	mkdir -p $fs/etc/xdg
    2.33 +	case $PACKAGE in
    2.34 +	qt4-base)
    2.35 +		# PROVIDE="qt-x11-opensource-src Qt4"
    2.36 +		TAGS="qt"
    2.37 +		DEPENDS="libQtWebkit qtconfig"
    2.38 +		mkdir -p $fs/etc/xdg
    2.39 +		;;
    2.40 +	libQtWebkit)
    2.41 +		CAT="network|Web browser engine for Qt"
    2.42 +		DEPENDS="libQtCore libQtGui libQtNetwork libpng"
    2.43 +		mkdir -p $fs/usr/lib
    2.44 +		cp -a $install/usr/lib/libQtWebKit.so* $fs/usr/lib
    2.45 +		;;
    2.46 +	qtconfig)
    2.47 +		CAT="x-window|Qtconfig is a tool that allows users to customize the default settings for Qt applications"
    2.48 +		DEPENDS="libQt3Support libQtNetwork libQtDBus"
    2.49 +		mkdir -p $fs/usr/bin $fs/usr/share/qt/translations $fs/usr/share/icons/hicolor/22x22/apps
    2.50 +		cp -a $install/usr/bin/qtconfig $fs/usr/bin
    2.51 +		cp -a $install/usr/share/qt/translations/qtconfig*.qm $fs/usr/share/qt/translations
    2.52 +		cp -a $WOK/qt4/source/qt4-4.8.6/tools/designer/src/components/formeditor/images/qtlogo.png \
    2.53 +		$fs/usr/share/icons/hicolor/22x22/apps/qtlogo.png
    2.54 +		;;
    2.55 +	esac
    2.56  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/qt4-base/stuff/qtconfig.desktop	Tue Oct 17 20:18:31 2017 +0200
     3.3 @@ -0,0 +1,9 @@
     3.4 +[Desktop Entry]
     3.5 +Name=Qt Config 
     3.6 +Comment=Configure Qt behavior, styles, fonts
     3.7 +Exec=/usr/bin/qtconfig
     3.8 +Icon=/usr/share/icons/hicolor/22x22/apps/qtlogo.png
     3.9 +Terminal=false
    3.10 +Encoding=UTF-8
    3.11 +Type=Application
    3.12 +Categories=Qt;Settings;
    3.13 \ No newline at end of file
     4.1 --- a/qtconfig/receipt	Tue Oct 17 20:06:27 2017 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,22 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="qtconfig"
     4.7 -VERSION="4.8.6"
     4.8 -CATEGORY="x-window"
     4.9 -SHORT_DESC="Qtconfig is a tool that allows users to customize the default settings for Qt applications"
    4.10 -MAINTAINER="slaxemulator@gmail.com"
    4.11 -LICENSE="GPL3 LGPL2.1"
    4.12 -WEB_SITE="http://qt-project.org/"
    4.13 -WANTED="qt4-base"
    4.14 -
    4.15 -DEPENDS="libQt3Support libQtNetwork libQtDBus"
    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/bin $fs/usr/share/qt/translations $fs/usr/share/icons/hicolor/22x22/apps
    4.21 -	cp -a $install/usr/bin/qtconfig $fs/usr/bin
    4.22 -	cp -a $install/usr/share/qt/translations/qtconfig*.qm $fs/usr/share/qt/translations
    4.23 -	cp -a $WOK/qt4/source/qt4-4.8.6/tools/designer/src/components/formeditor/images/qtlogo.png \
    4.24 -	$fs/usr/share/icons/hicolor/22x22/apps/qtlogo.png
    4.25 -}
     5.1 --- a/qtconfig/stuff/qtconfig.desktop	Tue Oct 17 20:06:27 2017 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,9 +0,0 @@
     5.4 -[Desktop Entry]
     5.5 -Name=Qt Config 
     5.6 -Comment=Configure Qt behavior, styles, fonts
     5.7 -Exec=/usr/bin/qtconfig
     5.8 -Icon=/usr/share/icons/hicolor/22x22/apps/qtlogo.png
     5.9 -Terminal=false
    5.10 -Encoding=UTF-8
    5.11 -Type=Application
    5.12 -Categories=Qt;Settings;
    5.13 \ No newline at end of file