wok rev 17055

qt4: copied to added "qt4-base", ln -s sources, modified
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 21 03:34:29 2014 +0200 (2014-08-21)
parents e1f5a5493f82
children 6dd4a6865e2e
files mplayer-opt/receipt qt4-base/receipt
line diff
     1.1 --- a/mplayer-opt/receipt	Thu Aug 21 00:37:34 2014 +0200
     1.2 +++ b/mplayer-opt/receipt	Thu Aug 21 03:34:29 2014 +0200
     1.3 @@ -75,7 +75,7 @@
     1.4  	cp $stuff/mplayer.conf $fs/etc/mplayer
     1.5  	# No-gui, OSD ($username@slitaz:~$ mplayer -menu filename)
     1.6  	cp $stuff/mplayer.desktop $fs/usr/share/applications
     1.7 -	cp $WOK/$SOURCE/etc/input.conf $fs/etc/mplayer
     1.8 +	cp $src/etc/input.conf $fs/etc/mplayer
     1.9  	# Font
    1.10  	cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.11  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/qt4-base/receipt	Thu Aug 21 03:34:29 2014 +0200
     2.3 @@ -0,0 +1,77 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="qt4-base"
     2.7 +SOURCE="qt-everywhere-opensource-src"
     2.8 +VERSION="4.8.6"
     2.9 +CATEGORY="development"
    2.10 +SHORT_DESC="Qt4 less deps experimental rebuild, empty package"
    2.11 +MAINTAINER="psychomaniak@xakep.ru"
    2.12 +LICENSE="GPL3 LGPL2.1"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://qt-project.org/"
    2.15 +WGET_URL="http://download.qt-project.org/archive/qt/4.8/$VERSION/$TARBALL"
    2.16 +PROVIDE="qt-x11-opensource-src Qt4"
    2.17 +TAGS="qt"
    2.18 +
    2.19 +DEPENDS=""
    2.20 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev libmng-dev \
    2.21 +cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev \
    2.22 +postgresql-dev atk-dev autoconf automake bash \
    2.23 +binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
    2.24 +freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
    2.25 +libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
    2.26 +pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
    2.27 +pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
    2.28 +sqlite-dev"
    2.29 +
    2.30 +# Rules to configure and make the package.
    2.31 +compile_rules()
    2.32 +{
    2.33 +	mkdir -p $WOK/$PACKAGE/source/
    2.34 +	ln -s $WOK/qt4/source/qt4-$VERSION $WOK/$PACKAGE/source/$PACKAGE-$VERSION
    2.35 +	cd $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
    2.36 +	#cd $src
    2.37 +	./configure\
    2.38 +		-silent \
    2.39 +		-prefix /usr \
    2.40 +		-confirm-license -opensource \
    2.41 +		-sysconfdir /etc/xdg \
    2.42 +		-plugindir /usr/lib/qt/plugins \
    2.43 +		-importdir /usr/lib/qt/imports \
    2.44 +		-translationdir /usr/share/qt/translations \
    2.45 +		-datadir /usr/share/qt \
    2.46 +		-docdir /usr/share/doc/qt \
    2.47 +		-examplesdir /usr/share/doc/qt/examples \
    2.48 +		-demosdir /usr/share/doc/qt/demos \
    2.49 +		-release \
    2.50 +		-nomake demos \
    2.51 +		-nomake examples \
    2.52 +		-nomake docs \
    2.53 +		-system-zlib \
    2.54 +		-system-libtiff \
    2.55 +		-system-libpng \
    2.56 +		-system-libmng \
    2.57 +		-system-libjpeg \
    2.58 +		-system-sqlite \
    2.59 +		-scripttools \
    2.60 +		-glib \
    2.61 +		-optimized-qmake \
    2.62 +		-gtkstyle \
    2.63 +		-no-opengl -no-openvg \
    2.64 +		-reduce-relocations \
    2.65 +		-no-gstreamer -no-phonon \
    2.66 +		-no-declarative -no-phonon-backend \
    2.67 +		-graphicssystem raster \
    2.68 +		-silent \
    2.69 +		-continue \
    2.70 +		2>&1 | sed 's/such file or directory/file/' &&
    2.71 +	make $MAKEFLAGS &&
    2.72 +	make INSTALL_ROOT=$DESTDIR install
    2.73 +}
    2.74 +
    2.75 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.76 +genpkg_rules()
    2.77 +{
    2.78 +	# dummy tree to avoid 'tazwok cmp --cook' building loop
    2.79 +	mkdir $fs/etc
    2.80 +}