wok-next diff copyq/receipt @ rev 21449

updated slock (1.1 -> 1.4)
author Hans-G?nter Theisgen
date Thu May 07 07:51:56 2020 +0100 (2020-05-07)
parents c0521c689857
children
line diff
     1.1 --- a/copyq/receipt	Fri Mar 16 00:27:34 2018 +0200
     1.2 +++ b/copyq/receipt	Thu May 07 07:51:56 2020 +0100
     1.3 @@ -2,21 +2,19 @@
     1.4  
     1.5  PACKAGE="copyq"
     1.6  VERSION="3.1.1+git"
     1.7 -VERSION_GIT="4d97bdb"
     1.8  CATEGORY="utilities"
     1.9  SHORT_DESC="Clipboard Manager with Advanced Features"
    1.10  WEB_SITE="http://hluk.github.io/CopyQ/"
    1.11  LICENSE="GPL3"
    1.12 +MAINTAINER="psychomaniak@xakep.ru"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -MAINTAINER="psychomaniak@xakep.ru"
    1.16 +VERSION_GIT="4d97bdb"
    1.17  WGET_URL="https://github.com/hluk/CopyQ/archive/$VERSION_GIT.tar.gz"
    1.18  
    1.19 -DEPENDS="qt5-base"
    1.20  BUILD_DEPENDS="qt5-dev cmake expat-dev xorg-dev zlib-dev expat-dev mesa-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	cat > p.diff <<EOT
    1.27  --- o.cpp
    1.28  +++ configurationmanager.cpp
    1.29 @@ -29,12 +27,18 @@
    1.30  EOT
    1.31  	patch $src/src/gui/configurationmanager.cpp p.diff
    1.32  	mkdir $src/b
    1.33 -	cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    1.34 -	make &&	make install
    1.35 +	cd $src/b
    1.36 +
    1.37 +	cmake \
    1.38 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.39 +		.. &&
    1.40 +	make &&
    1.41 +	make install
    1.42 +
    1.43  	rm -rf $src/b
    1.44  }
    1.45  
    1.46 -genpkg_rules()
    1.47 -{
    1.48 +genpkg_rules() {
    1.49  	cp -a $install/* $fs
    1.50 +	DEPENDS="qt5-base"
    1.51  }