1 |
commit: c6898f81d6cb6a0c64861a04741b9aabdcf88310 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Mon Jun 11 13:27:03 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 13 10:42:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6898f81 |
7 |
|
8 |
app-crypt/moolticute: bump to 0.18.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
app-crypt/moolticute/Manifest | 1 + |
13 |
app-crypt/moolticute/moolticute-0.18.1.ebuild | 66 +++++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest |
17 |
index 01119df6f68..f88a4326923 100644 |
18 |
--- a/app-crypt/moolticute/Manifest |
19 |
+++ b/app-crypt/moolticute/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST moolticute-0.12.9.tar.gz 5364306 BLAKE2B adf101a779d4a7dc801f9d7705e6d6b624fb380a502a0fadf38463045af38d7d3a0a2005d1617f9d5874349b347b39632ccbb89f9edb97f7f74f62a7fd129220 SHA512 c02542f3bc3db4740e981cdec8ffb753189b15a341e55812de0f0592e23a678a1be73167d6fa5ca32e943d9cdf5f4937abe8132332b490104beed82d5b8d24a7 |
22 |
+DIST moolticute-0.18.1.tar.gz 5549370 BLAKE2B 11a1a40e799e54f18e44eacb6ded1892681932676328bfcf0dfc23d197fc418bbe5b726adee280125e974bdf0497e9148f60735e0f80785380ae1b2894d1b187 SHA512 166c2091e84bbe19fced593c97f195d958feb37556670a1e457a0532bf4df399dce214e89782cb8006db5eedad5b9d2c21e5dc9902137f5b2b17b96aa6780366 |
23 |
|
24 |
diff --git a/app-crypt/moolticute/moolticute-0.18.1.ebuild b/app-crypt/moolticute/moolticute-0.18.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..da3da6c6597 |
27 |
--- /dev/null |
28 |
+++ b/app-crypt/moolticute/moolticute-0.18.1.ebuild |
29 |
@@ -0,0 +1,66 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+if [[ ${PV} == 9999* ]]; then |
36 |
+ EGIT_REPO_URI="https://github.com/mooltipass/moolticute.git" |
37 |
+ inherit git-r3 |
38 |
+ KEYWORDS="" |
39 |
+else |
40 |
+ SRC_URI="https://github.com/mooltipass/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" |
41 |
+ KEYWORDS="~amd64 ~arm" |
42 |
+fi |
43 |
+ |
44 |
+inherit gnome2-utils qmake-utils udev |
45 |
+ |
46 |
+DESCRIPTION="Mooltipass crossplatform daemon/tools" |
47 |
+HOMEPAGE="https://github.com/mooltipass/moolticute" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+IUSE="" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=dev-libs/libusb-1.0.20 |
55 |
+ dev-qt/qtcore:5 |
56 |
+ dev-qt/qtgui:5 |
57 |
+ dev-qt/qtnetwork:5 |
58 |
+ dev-qt/qttest:5 |
59 |
+ dev-qt/qtwebsockets:5 |
60 |
+ dev-qt/qtwidgets:5 |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ dev-qt/linguist-tools:5 |
64 |
+" |
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 |
+} |