wok annotate copyq/receipt @ rev 23816
gettext: include its files (really) from /usr/share/gettext-0.19.8
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 26 14:50:14 2020 +0100 (2020-05-26) |
parents | 1524c6d20738 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
psychomaniak@17167 | 1 # SliTaz package receipt. |
psychomaniak@17167 | 2 |
psychomaniak@17167 | 3 PACKAGE="copyq" |
pascal@21279 | 4 VERSION="2.4.2" |
psychomaniak@17167 | 5 CATEGORY="utilities" |
psychomaniak@17167 | 6 SHORT_DESC="Clipboard Manager with Advanced Features" |
psychomaniak@17167 | 7 WEB_SITE="http://hluk.github.io/CopyQ/" |
psychomaniak@17167 | 8 LICENSE="GPL3" |
psychomaniak@17167 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@17167 | 10 MAINTAINER="psychomaniak@xakep.ru" |
pascal@21279 | 11 WGET_URL="https://github.com/hluk/CopyQ/archive/v$VERSION.tar.gz" |
psychomaniak@17167 | 12 |
psychomaniak@17181 | 13 DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg librsvg libQtXml libQtWebkit" |
psychomaniak@17167 | 14 BUILD_DEPENDS="wget Qt4-dev cmake qmake" |
psychomaniak@17167 | 15 |
psychomaniak@17167 | 16 # Rules to configure and make the package. |
psychomaniak@17167 | 17 compile_rules() |
psychomaniak@17167 | 18 { |
psychomaniak@17167 | 19 cat > p.diff <<EOT |
psychomaniak@17167 | 20 --- o.cpp |
psychomaniak@17167 | 21 +++ configurationmanager.cpp |
psychomaniak@17167 | 22 @@ -54 +54 @@ |
psychomaniak@17167 | 23 -# define DEFAULT_EDITOR "gedit %1" |
psychomaniak@17181 | 24 +# define DEFAULT_EDITOR "editor %1" |
pascal@21279 | 25 @@ -468 +468 @@ |
psychomaniak@17167 | 26 - bind("check_selection", ui->checkBoxSel, false); |
psychomaniak@17167 | 27 + bind("check_selection", ui->checkBoxSel, true); |
psychomaniak@17167 | 28 EOT |
psychomaniak@17167 | 29 patch $src/src/gui/configurationmanager.cpp p.diff |
psychomaniak@17167 | 30 mkdir $src/b |
psychomaniak@17167 | 31 cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
psychomaniak@17167 | 32 make && make install |
psychomaniak@17167 | 33 rm -rf $src/b |
psychomaniak@17167 | 34 } |
psychomaniak@17167 | 35 |
psychomaniak@17167 | 36 genpkg_rules() |
psychomaniak@17167 | 37 { |
psychomaniak@17167 | 38 cp -a $install/* $fs |
psychomaniak@17167 | 39 } |