wok rev 16868

qupzilla: update receipt, fix wrong path for translations search (now translations works).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 13 16:25:02 2014 +0300 (2014-07-13)
parents a72d91973e3e
children cd4350c5d47c
files qupzilla-locales/receipt qupzilla/receipt
line diff
     1.1 --- a/qupzilla-locales/receipt	Sun Jul 13 14:06:51 2014 +0100
     1.2 +++ b/qupzilla-locales/receipt	Sun Jul 13 16:25:02 2014 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="qupzilla-locales"
     1.7 -VERSION="v1.6.6"
     1.8 +VERSION="1.6.6"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Locales for the qupzilla browser"
    1.11 +SHORT_DESC="Translations for the QupZilla browser"
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="https://github.com/QupZilla/qupzilla"
    1.15 @@ -14,6 +14,7 @@
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	mkdir -p $fs/usr/share/$WANTED
    1.20 -	cp -a $install/usr/share/$WANTED/locale $fs/usr/share/$WANTED
    1.21 +	p=usr/share/qupzilla
    1.22 +	mkdir -p $fs/$p
    1.23 +	cp -a $install/$p/locale $fs/$p
    1.24  }
     2.1 --- a/qupzilla/receipt	Sun Jul 13 14:06:51 2014 +0100
     2.2 +++ b/qupzilla/receipt	Sun Jul 13 16:25:02 2014 +0300
     2.3 @@ -1,32 +1,37 @@
     2.4  # SliTaz PACKAGE receipt.
     2.5  
     2.6  PACKAGE="qupzilla"
     2.7 -VERSION="v1.6.6"
     2.8 -CATEGORY="x-window"
     2.9 -SHORT_DESC="QupZilla is a new, lightweight and very fast QtWebKit browser"
    2.10 +VERSION="1.6.6"
    2.11 +CATEGORY="network"
    2.12 +SHORT_DESC="QupZilla - QtWebKit browser"
    2.13  MAINTAINER="claudinei@slitaz.org"
    2.14  LICENSE="GPL3"
    2.15  WEB_SITE="https://github.com/QupZilla/qupzilla"
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    2.18 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    2.19 +GENERIC_PIXMAPS="no"
    2.20  
    2.21 -DEPENDS="qt4 openssl gst-plugins-base"
    2.22 -BUILD_DEPENDS="Qt4-dev qmake openssl-dev wget"
    2.23 -SUGGESTED="qupzilla-locales"
    2.24 +DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
    2.25 +libQtWebkit libQtXml libcrypto xorg-libX11 zlib"
    2.26 +BUILD_DEPENDS="wget cacerts Qt4-dev qmake openssl-dev xorg-libX11-dev"
    2.27 +SUGGESTED="qupzilla-locales gst-plugins-base"
    2.28  
    2.29  # Rules to configure and make the PACKAGE.
    2.30  compile_rules()
    2.31  {
    2.32 -	export QUPZILLA_PREFIX="$DESTDIR/usr/"
    2.33 -	qmake &&
    2.34 -	make && make install 
    2.35 +	qmake QupZilla.pro &&
    2.36 +	make &&
    2.37 +	make INSTALL_ROOT=$install install
    2.38  }
    2.39  
    2.40  # Rules to gen a SliTaz PACKAGE suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43 -	mkdir -p $fs/usr/share/$PACKAGE
    2.44 -	cp -a $install/usr/bin $fs/usr
    2.45 -	cp -a $install/usr/lib $fs/usr
    2.46 -	cp -a $install/usr/share/$PACKAGE/themes $fs/usr/share/$PACKAGE
    2.47 +	cp -a $install/* $fs
    2.48 +	rm -rf $fs/usr/share/bash-completion
    2.49 +	for size in 64 128 256; do
    2.50 +		rm -rf $fs/usr/share/icons/hicolor/${size}x$size
    2.51 +	done
    2.52 +	rm -rf $fs/usr/share/pixmaps
    2.53 +	rm -rf $fs/usr/share/qupzilla/locale
    2.54  }