SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "copyq"

# SliTaz package receipt.

PACKAGE="copyq"
VERSION="2.4.2"
CATEGORY="utilities"
SHORT_DESC="Clipboard Manager with Advanced Features"
WEB_SITE="http://hluk.github.io/CopyQ/"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
MAINTAINER="psychomaniak@xakep.ru"
WGET_URL="https://github.com/hluk/CopyQ/archive/v$VERSION.tar.gz"

DEPENDS="libQtGui libQtNetwork libQtScript libQtSvg librsvg libQtXml libQtWebkit"
BUILD_DEPENDS="wget Qt4-dev cmake qmake"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cat > p.diff <<EOT
--- o.cpp
+++ configurationmanager.cpp
@@ -54 +54 @@
-#   define DEFAULT_EDITOR "gedit %1"
+#   define DEFAULT_EDITOR "editor %1"
@@ -468 +468 @@
-    bind("check_selection", ui->checkBoxSel, false);
+    bind("check_selection", ui->checkBoxSel, true);
EOT
    patch $src/src/gui/configurationmanager.cpp p.diff
    mkdir $src/b
    cd $src/b && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make &&    make install
    rm -rf $src/b
}

genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)