wok-next view copyq/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c0521c689857
children
line source
1 # SliTaz package receipt.
3 PACKAGE="copyq"
4 VERSION="3.1.1+git"
5 CATEGORY="utilities"
6 SHORT_DESC="Clipboard Manager with Advanced Features"
7 WEB_SITE="http://hluk.github.io/CopyQ/"
8 LICENSE="GPL3"
9 MAINTAINER="psychomaniak@xakep.ru"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 VERSION_GIT="4d97bdb"
13 WGET_URL="https://github.com/hluk/CopyQ/archive/$VERSION_GIT.tar.gz"
15 BUILD_DEPENDS="qt5-dev cmake expat-dev xorg-dev zlib-dev expat-dev mesa-dev"
17 compile_rules() {
18 cat > p.diff <<EOT
19 --- o.cpp
20 +++ configurationmanager.cpp
21 @@ -54 +54 @@
22 -# define DEFAULT_EDITOR "gedit %1"
23 +# define DEFAULT_EDITOR "editor %1"
24 @@ -484 +484 @@
25 - bind("check_selection", ui->checkBoxSel, false);
26 + bind("check_selection", ui->checkBoxSel, true);
27 EOT
28 patch $src/src/gui/configurationmanager.cpp p.diff
29 mkdir $src/b
30 cd $src/b
32 cmake \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 .. &&
35 make &&
36 make install
38 rm -rf $src/b
39 }
41 genpkg_rules() {
42 cp -a $install/* $fs
43 DEPENDS="qt5-base"
44 }