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