summaryrefslogtreecommitdiff
path: root/app-backup/luckybackup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /app-backup/luckybackup
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'app-backup/luckybackup')
-rw-r--r--app-backup/luckybackup/Manifest3
-rw-r--r--app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch24
-rw-r--r--app-backup/luckybackup/luckybackup-0.5.0.ebuild54
3 files changed, 81 insertions, 0 deletions
diff --git a/app-backup/luckybackup/Manifest b/app-backup/luckybackup/Manifest
index 8ba05fa49307..43bdddf01946 100644
--- a/app-backup/luckybackup/Manifest
+++ b/app-backup/luckybackup/Manifest
@@ -1,3 +1,6 @@
+AUX luckybackup-0.5.0-nomancompress.patch 991 BLAKE2B 6fcf029ea905d434215f61a49719d3e078b38d9193148d2266c08ae1cf22fe1b07b2afaed95f049fed7736b6c8bdf7a165e8746408516c553f252bdbe8b6d369 SHA512 344d182a44c3ad043f637b4c7ab5177b01db1f05773231fb41bdcf00bd25a1fd6dc31079a71c149a6983f756f8c42a1a707bbd7a48e512d87474ac6f1e3d6a5a
DIST luckybackup-0.4.9.tar.gz 5954338 BLAKE2B 632738f8c422ba7d56536fae866ce31d224910b41495e4df3be28a8013ba776e30b4d8e70ceb26c92d28aaf70c96402f27687c55d8f5d7aa5d405bab506a66be SHA512 86d6f1bd84f3bfd89734f0f2066cb17bbf9b4ede96167398de03a460c14d24bf4b50a91bb380655ace9a23497271e102b940ea99a7595cf17f596660dae7f7dd
+DIST luckybackup-0.5.0.tar.gz 5954426 BLAKE2B 7243db713b8e5a6f3929e6d011faff8bdef8b7580c328d336843c71e738fd92a0fd19b2bc3dd0a4695f0af6ec5b436b18833dc20c5ad3479036a1a0bca22be12 SHA512 41fe878a8008b291c2e6f5f8a77ae7dba9d2c547689e53a2dde15cbe733eefd7debf21b3570bd3414dace522ec7843f645639af2cca49b7c2f950eeac62b1f45
EBUILD luckybackup-0.4.9.ebuild 1442 BLAKE2B 07b9b559b32179733248d205b862f5e4eb1e4ccbf1e4fcd6ea63a0c07ffee7436055236bfc12fcc9aebfacd53b279379c1a0ee3d4d132fb892679f3cc338da4a SHA512 68d4d5e8b5d70b1b2a20471e97c65459969d2f7486fe700e1e18031c68eb612776970a2ac411b17cf8bc83e34e51dd87175bbfd62b405cbedecd32499eaf8cb8
+EBUILD luckybackup-0.5.0.ebuild 1146 BLAKE2B d3a1698afc0afc671b9cbaf98af9d3ae23593a9586b15af9d1098cb43238b949c8824659f64cd3baa64172f8334bb22547039693ed18af7d7271d8d40c9e9feb SHA512 ea328b39244632ec379b88b7e10a63b5caa0f3409981566342a4b256120b0e3765650fb2b0a568dfc880c66692747976557c933353024907e412bf8cfd426203
MISC metadata.xml 328 BLAKE2B b41ac27e6b5c14d5c6bf9df4a47291ffe57bc679b06ab27b3cf9135be123195a161be705ffd2349f3cc4a5f618c2e75740a677696afa244a3a3716be625aa223 SHA512 64415b71b483e93f41d75f858bbdbce2c612b5e7c37753237d7c2374b1bb2bd2d30a86d18b32f5ac015e15c57e94553019756d2cc6021c803d25da527929ddeb
diff --git a/app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch b/app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch
new file mode 100644
index 000000000000..b043182160f1
--- /dev/null
+++ b/app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch
@@ -0,0 +1,24 @@
+--- a/luckybackup.pro 2018-11-02 19:29:58.000000000 +0100
++++ b/luckybackup.pro 2020-06-26 13:25:02.798368937 +0200
+@@ -33,7 +33,7 @@
+ documentation.files = manual
+
+ manpage.path = /usr/share/man/man8
+-manpage.files = manpage/luckybackup.8.gz manpage/luckybackup-pkexec.8
++manpage.files = manpage/luckybackup.8 manpage/luckybackup-pkexec.8
+
+ translations.path = /usr/share/luckybackup
+ translations.files = translations
+@@ -43,10 +43,8 @@
+
+ INSTALLS += target menu polkit polkitscript pixmap documentation manpage translations license
+
+-system(gzip -c manpage/luckybackup.8 > manpage/luckybackup.8.gz)
+-QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup.8.gz
+-system(gzip -c manpage/luckybackup-pkexec.8 > manpage/luckybackup-pkexec.8.gz)
+-QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup-pkexec.8.gz
++QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup.8
++QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup-pkexec.8
+
+ greaterThan(QT_MAJOR_VERSION, 4) {
+ QT += widgets
diff --git a/app-backup/luckybackup/luckybackup-0.5.0.ebuild b/app-backup/luckybackup/luckybackup-0.5.0.ebuild
new file mode 100644
index 000000000000..b829da8b431e
--- /dev/null
+++ b/app-backup/luckybackup/luckybackup-0.5.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt"
+HOMEPAGE="http://luckybackup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+ net-misc/rsync
+ sys-auth/polkit
+"
+
+DOCS=( readme/{AUTHORS,README,TODO,TRANSLATIONS,changelog} )
+
+PATCHES=( "${FILESDIR}/${P}-nomancompress.patch" )
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \
+ -e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \
+ luckybackup.pro src/global.cpp || die "sed failed"
+
+ # bogus dependency - bug #645732
+ sed -i -e '/QT += network/s/^/#/' luckybackup.pro || die
+
+ # remove text version - cannot remove HTML version
+ # as it's used within the application
+ rm license/gpl.txt || die "rm failed"
+}
+
+src_configure() {
+ eqmake5 ${PN}.pro
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}