1 |
commit: 11a917ce209ddf77241fe29a4d5c41e0d7a80d12 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 26 10:16:30 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 26 12:01:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a917ce |
7 |
|
8 |
app-backup/luckybackup: 0.5.0 version bump, EAPI-7 bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/674324 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
app-backup/luckybackup/Manifest | 1 + |
15 |
.../files/luckybackup-0.5.0-nomancompress.patch | 24 ++++++++++ |
16 |
app-backup/luckybackup/luckybackup-0.5.0.ebuild | 54 ++++++++++++++++++++++ |
17 |
3 files changed, 79 insertions(+) |
18 |
|
19 |
diff --git a/app-backup/luckybackup/Manifest b/app-backup/luckybackup/Manifest |
20 |
index a34f9450f5f..65f1b17a952 100644 |
21 |
--- a/app-backup/luckybackup/Manifest |
22 |
+++ b/app-backup/luckybackup/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST luckybackup-0.4.9.tar.gz 5954338 BLAKE2B 632738f8c422ba7d56536fae866ce31d224910b41495e4df3be28a8013ba776e30b4d8e70ceb26c92d28aaf70c96402f27687c55d8f5d7aa5d405bab506a66be SHA512 86d6f1bd84f3bfd89734f0f2066cb17bbf9b4ede96167398de03a460c14d24bf4b50a91bb380655ace9a23497271e102b940ea99a7595cf17f596660dae7f7dd |
25 |
+DIST luckybackup-0.5.0.tar.gz 5954426 BLAKE2B 7243db713b8e5a6f3929e6d011faff8bdef8b7580c328d336843c71e738fd92a0fd19b2bc3dd0a4695f0af6ec5b436b18833dc20c5ad3479036a1a0bca22be12 SHA512 41fe878a8008b291c2e6f5f8a77ae7dba9d2c547689e53a2dde15cbe733eefd7debf21b3570bd3414dace522ec7843f645639af2cca49b7c2f950eeac62b1f45 |
26 |
|
27 |
diff --git a/app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch b/app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..b043182160f |
30 |
--- /dev/null |
31 |
+++ b/app-backup/luckybackup/files/luckybackup-0.5.0-nomancompress.patch |
32 |
@@ -0,0 +1,24 @@ |
33 |
+--- a/luckybackup.pro 2018-11-02 19:29:58.000000000 +0100 |
34 |
++++ b/luckybackup.pro 2020-06-26 13:25:02.798368937 +0200 |
35 |
+@@ -33,7 +33,7 @@ |
36 |
+ documentation.files = manual |
37 |
+ |
38 |
+ manpage.path = /usr/share/man/man8 |
39 |
+-manpage.files = manpage/luckybackup.8.gz manpage/luckybackup-pkexec.8 |
40 |
++manpage.files = manpage/luckybackup.8 manpage/luckybackup-pkexec.8 |
41 |
+ |
42 |
+ translations.path = /usr/share/luckybackup |
43 |
+ translations.files = translations |
44 |
+@@ -43,10 +43,8 @@ |
45 |
+ |
46 |
+ INSTALLS += target menu polkit polkitscript pixmap documentation manpage translations license |
47 |
+ |
48 |
+-system(gzip -c manpage/luckybackup.8 > manpage/luckybackup.8.gz) |
49 |
+-QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup.8.gz |
50 |
+-system(gzip -c manpage/luckybackup-pkexec.8 > manpage/luckybackup-pkexec.8.gz) |
51 |
+-QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup-pkexec.8.gz |
52 |
++QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup.8 |
53 |
++QMAKE_CLEAN = Makefile $${TARGET} manpage/luckybackup-pkexec.8 |
54 |
+ |
55 |
+ greaterThan(QT_MAJOR_VERSION, 4) { |
56 |
+ QT += widgets |
57 |
|
58 |
diff --git a/app-backup/luckybackup/luckybackup-0.5.0.ebuild b/app-backup/luckybackup/luckybackup-0.5.0.ebuild |
59 |
new file mode 100644 |
60 |
index 00000000000..b829da8b431 |
61 |
--- /dev/null |
62 |
+++ b/app-backup/luckybackup/luckybackup-0.5.0.ebuild |
63 |
@@ -0,0 +1,54 @@ |
64 |
+# Copyright 1999-2020 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=7 |
68 |
+ |
69 |
+inherit qmake-utils |
70 |
+ |
71 |
+DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt" |
72 |
+HOMEPAGE="http://luckybackup.sourceforge.net/" |
73 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
74 |
+ |
75 |
+LICENSE="GPL-3+" |
76 |
+SLOT="0" |
77 |
+KEYWORDS="~amd64 ~x86" |
78 |
+IUSE="" |
79 |
+ |
80 |
+DEPEND=" |
81 |
+ dev-qt/qtcore:5 |
82 |
+ dev-qt/qtgui:5 |
83 |
+ dev-qt/qtwidgets:5 |
84 |
+" |
85 |
+RDEPEND="${DEPEND} |
86 |
+ net-misc/rsync |
87 |
+ sys-auth/polkit |
88 |
+" |
89 |
+ |
90 |
+DOCS=( readme/{AUTHORS,README,TODO,TRANSLATIONS,changelog} ) |
91 |
+ |
92 |
+PATCHES=( "${FILESDIR}/${P}-nomancompress.patch" ) |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ default |
96 |
+ |
97 |
+ sed -i \ |
98 |
+ -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \ |
99 |
+ -e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \ |
100 |
+ luckybackup.pro src/global.cpp || die "sed failed" |
101 |
+ |
102 |
+ # bogus dependency - bug #645732 |
103 |
+ sed -i -e '/QT += network/s/^/#/' luckybackup.pro || die |
104 |
+ |
105 |
+ # remove text version - cannot remove HTML version |
106 |
+ # as it's used within the application |
107 |
+ rm license/gpl.txt || die "rm failed" |
108 |
+} |
109 |
+ |
110 |
+src_configure() { |
111 |
+ eqmake5 ${PN}.pro |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ emake INSTALL_ROOT="${D}" install |
116 |
+ einstalldocs |
117 |
+} |