wok view copyq/receipt @ rev 24842

updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author Hans-G?nter Theisgen
date Fri Mar 25 09:45:42 2022 +0100 (2022-03-25)
parents 2a7968e9d2a7
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="copyq"
4 VERSION="2.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Clipboard Manager with Advanced Features"
7 WEB_SITE="http://hluk.github.io/CopyQ/"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 MAINTAINER="psychomaniak@xakep.ru"
11 WGET_URL="https://github.com/hluk/CopyQ/archive/v$VERSION.tar.gz"
13 DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg librsvg libQtXml libQtWebkit"
14 BUILD_DEPENDS="wget Qt4-dev cmake qmake"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cat > p.diff <<EOT
26 --- o.cpp
27 +++ configurationmanager.cpp
28 @@ -54 +54 @@
29 -# define DEFAULT_EDITOR "gedit %1"
30 +# define DEFAULT_EDITOR "editor %1"
31 @@ -468 +468 @@
32 - bind("check_selection", ui->checkBoxSel, false);
33 + bind("check_selection", ui->checkBoxSel, true);
34 EOT
35 patch $src/src/gui/configurationmanager.cpp p.diff
36 mkdir $src/b
37 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
38 make && make install
39 rm -rf $src/b
40 }
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }