1 |
commit: 263c1153ed8d6f2c489d7d064101384fb3424137 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Fri Jan 26 10:08:40 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 28 23:19:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=263c1153 |
7 |
|
8 |
app-crypt/moolticute: 0.11.6_beta version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/6985 |
12 |
|
13 |
app-crypt/moolticute/Manifest | 1 + |
14 |
app-crypt/moolticute/moolticute-0.11.6_beta.ebuild | 64 ++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest |
18 |
index ca47fbdbee3..ccda40db65c 100644 |
19 |
--- a/app-crypt/moolticute/Manifest |
20 |
+++ b/app-crypt/moolticute/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST moolticute-0.10.0_beta.tar.gz 4945663 BLAKE2B 371ab382239d635251b3921cbae24ee8f0ccefdd2ca2a102e73ecf2eccdef5a86f1613d9cc051871b37ebe9936ffb5f95719f7e3c36c4d7fdc58a18ba9948b73 SHA512 febb828cc179cbbc40684b7c382babfe998d8e14c59358d985658dabc0c414de7b5bec3187336459b286fb85b79f8d781254c7dc55ecd6519fc4ea50952af9b4 |
23 |
DIST moolticute-0.11.4_beta.tar.gz 5278216 BLAKE2B 7d78549e9ea384669ea2fcea3f543e543ece87b9ce016fbb8675d0ea9065957c0d10bd6048a43c37715de3d1638fa75c518640feca22702713c7c7ab6c9e2ea1 SHA512 4c832b286784c4e8fbfc2eea498e4b7c57377ba745ba226c88001a3ab564d6e7c719dcdb849a409e367eaebc43a8b4c6e756b8a3e90a722f48554df4822e7a19 |
24 |
+DIST moolticute-0.11.6_beta.tar.gz 5279167 BLAKE2B 4b93dbb038f75502907729398e7315397d5fd46fd7ee57214d5ea2f8dfdddd6c6d1e02242384ec8ca3a67a94711b7b3b68f28e4bb63cb24b224fcdfd75de1435 SHA512 5caf3ad6063da6d1761af37e52561b5834753abbc433e221b874788dd5c98782af8b4e723a78b2e849b8fe7cd0378e9304e5e93ac47e76d547dfc6b8ebe3c92a |
25 |
|
26 |
diff --git a/app-crypt/moolticute/moolticute-0.11.6_beta.ebuild b/app-crypt/moolticute/moolticute-0.11.6_beta.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b5153ad45a3 |
29 |
--- /dev/null |
30 |
+++ b/app-crypt/moolticute/moolticute-0.11.6_beta.ebuild |
31 |
@@ -0,0 +1,64 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+if [[ ${PV} == 9999* ]]; then |
38 |
+ EGIT_REPO_URI="https://github.com/mooltipass/moolticute.git" |
39 |
+ inherit git-r3 |
40 |
+ KEYWORDS="" |
41 |
+else |
42 |
+ SRC_URI="https://github.com/mooltipass/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" |
43 |
+ KEYWORDS="~amd64 ~arm" |
44 |
+fi |
45 |
+ |
46 |
+inherit gnome2-utils qmake-utils udev |
47 |
+ |
48 |
+DESCRIPTION="Mooltipass crossplatform daemon/tools" |
49 |
+HOMEPAGE="https://github.com/mooltipass/moolticute" |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+IUSE="" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-libs/libusb-1.0.20 |
57 |
+ >=dev-qt/qtcore-5.6:5 |
58 |
+ dev-qt/qtgui:5 |
59 |
+ dev-qt/qtnetwork:5 |
60 |
+ dev-qt/qttest:5 |
61 |
+ dev-qt/qtwebsockets:5 |
62 |
+ dev-qt/qtwidgets:5 |
63 |
+" |
64 |
+DEPEND="${RDEPEND}" |
65 |
+ |
66 |
+S="${WORKDIR}/${P/_/-}" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ # Fill version.h with package version |
72 |
+ if [[ ${PV} != 9999* ]]; then |
73 |
+ sed -i "s/\"git\"/\"v${PV/_/-}\"/" src/version.h || die |
74 |
+ fi |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ eqmake5 PREFIX="/usr" Moolticute.pro |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ emake install INSTALL_ROOT="${D}" |
83 |
+ |
84 |
+ udev_dorules "${FILESDIR}/50-mooltipass.rule" |
85 |
+ newinitd "${FILESDIR}/moolticuted.init" moolticuted |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ udev_reload |
90 |
+ gnome2_icon_cache_update |
91 |
+} |
92 |
+ |
93 |
+pkg_postrm() { |
94 |
+ gnome2_icon_cache_update |
95 |
+} |