wok-next rev 20000

Up qedit, qbittorrent, qps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 21:57:15 2017 +0200 (2017-10-20)
parents 43c177b957bc
children 2ae3e1b1e442
files qbittorrent/receipt qedit/receipt qedit/stuff/qedit.desktop qps/receipt
line diff
     1.1 --- a/qbittorrent/receipt	Fri Oct 20 21:21:58 2017 +0200
     1.2 +++ b/qbittorrent/receipt	Fri Oct 20 21:57:15 2017 +0200
     1.3 @@ -32,8 +32,8 @@
     1.4  	cp -a $install/usr/bin $fs/usr
     1.5  
     1.6  	cp -a $install/usr/share/applications $fs/usr/share
     1.7 -	sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
     1.8 -	sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
     1.9 +	# sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
    1.10 +	# sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
    1.11  
    1.12  	for size in 16 24 32 48; do
    1.13  		cp -a $install/usr/share/icons/hicolor/${size}x$size \
     2.1 --- a/qedit/receipt	Fri Oct 20 21:21:58 2017 +0200
     2.2 +++ b/qedit/receipt	Fri Oct 20 21:57:15 2017 +0200
     2.3 @@ -12,7 +12,7 @@
     2.4  TAGS="text-editor"
     2.5  
     2.6  DEPENDS="qt5-base xcb-util-keysyms"
     2.7 -BUILD_DEPENDS="qt5-dev cmake xcb-util-keysyms-dev xorg-dev zlib-dev"
     2.8 +BUILD_DEPENDS="qt5-dev cmake xcb-util-keysyms-dev xorg-dev zlib-dev mesa17-dev"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/qedit/stuff/qedit.desktop	Fri Oct 20 21:57:15 2017 +0200
     3.3 @@ -0,0 +1,5 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Name=qedit
     3.7 +Exec=qedit
     3.8 +Categories=Development;TextEditor;
     3.9 \ No newline at end of file
     4.1 --- a/qps/receipt	Fri Oct 20 21:21:58 2017 +0200
     4.2 +++ b/qps/receipt	Fri Oct 20 21:57:15 2017 +0200
     4.3 @@ -1,30 +1,27 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="qps"
     4.7 -VERSION="1.10.16"
     4.8 +VERSION="1.10.17"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="Advanced process monitor (taskmanager)"
    4.11  MAINTAINER="psychomaniak@xakep.ru"
    4.12  LICENSE="GPL2"
    4.13 -WEB_SITE="http://kldp.net/projects/qps"
    4.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.15 -WGET_URL="http://kldp.net/frs/download.php/5963/$TARBALL"
    4.16 +WEB_SITE="https://github.com/QtDesktop/qps"
    4.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.18 +WGET_URL="${WEB_SITE}/releases/download/$VERSION/$TARBALL"
    4.19  
    4.20 -DEPENDS="libQtGui libQtDBus libQtXml"
    4.21 -BUILD_DEPENDS="Qt4-dev qmake"
    4.22 +DEPENDS="qt5-base qt5-x11extras"
    4.23 +BUILD_DEPENDS="qt5-dev xorg-dev zlib-dev"
    4.24  
    4.25  # Rules to configure and make the package.
    4.26  compile_rules()
    4.27  {
    4.28 -	cd $src
    4.29 -	sed -i 's|/local||g'			qps.pro
    4.30 -	sed -i 's|man/man1|applications|g'	qps.pro
    4.31 -	sed -i 's|qps.1|qps.desktop|g'		qps.pro
    4.32 -	sed -i 's/qps.xpm/utilities-system-monitor/g'	qps.desktop
    4.33 -
    4.34 -	qmake && sed -i 's/-O2/-Os/g' Makefile && make
    4.35 -	make INSTALL_ROOT=$install install
    4.36 -	rm -rf $src/.obj
    4.37 +	cmake .
    4.38 +	make
    4.39 +	install -D -m 755 src/qps "$DESTDIR"/usr/bin/qps
    4.40 +	# install -D -m 644 qps.1 "$DESTDIR"/usr/share/man/man1/qps.1
    4.41 +	install -D -m 644 "$src"/qps.desktop "$DESTDIR"/usr/share/applications/qps.desktop
    4.42 +	install -D -m 644 icon/icon.xpm "$DESTDIR"/usr/share/pixmaps/qps.xpm
    4.43  }
    4.44  
    4.45  # Rules to gen a SliTaz package suitable for Tazpkg.