1 |
commit: a031d3b2a7ae4e854eee9c1fe135db33a893441b |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Wed Mar 21 19:06:39 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 24 13:10:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a031d3b2 |
7 |
|
8 |
app-crypt/moolticute: bump to 0.12.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
app-crypt/moolticute/Manifest | 1 + |
13 |
app-crypt/moolticute/moolticute-0.12.7.ebuild | 64 +++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest |
17 |
index 80569395c5b..4d7f4cbe64e 100644 |
18 |
--- a/app-crypt/moolticute/Manifest |
19 |
+++ b/app-crypt/moolticute/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST moolticute-0.11.11_beta.tar.gz 5363395 BLAKE2B 0d37c3af1fb79510a7203951d28426897ee6ed4ddf53d8ac84013ca1eb939a90b4ab6008a47a2d8974588dcc0fc7109e3a7e5770783c9312ed4335e14a016b18 SHA512 5b9fd72c52eec6755474a187dcd7af9ead89e2c08504d25ab6e4ab36991e032699cb8a9e02f402f7e5e551238bcfd225d2b5415945df07ec2bde7625c7041659 |
22 |
+DIST moolticute-0.12.7.tar.gz 5364075 BLAKE2B a85a18264e5658a96454d4b934cca1b62b63b2d1b90352fe750f973e28dd2da78d0a95d3103d4e213d9bb96b76d28c79d6d77127a6c85078036b63e61889afe0 SHA512 f7db56c9bdf6d3f8d1ad573f37f0c394b53fd2acc1f257f2f8b113af1c1a050f40a3cdbf7d559cb45eb5e61533bae084f0b574db43da1598bfd056131df8edd9 |
23 |
|
24 |
diff --git a/app-crypt/moolticute/moolticute-0.12.7.ebuild b/app-crypt/moolticute/moolticute-0.12.7.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b5153ad45a3 |
27 |
--- /dev/null |
28 |
+++ b/app-crypt/moolticute/moolticute-0.12.7.ebuild |
29 |
@@ -0,0 +1,64 @@ |
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.6: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 |
+ |
64 |
+S="${WORKDIR}/${P/_/-}" |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ # Fill version.h with package version |
70 |
+ if [[ ${PV} != 9999* ]]; then |
71 |
+ sed -i "s/\"git\"/\"v${PV/_/-}\"/" src/version.h || die |
72 |
+ fi |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ eqmake5 PREFIX="/usr" Moolticute.pro |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ emake install INSTALL_ROOT="${D}" |
81 |
+ |
82 |
+ udev_dorules "${FILESDIR}/50-mooltipass.rule" |
83 |
+ newinitd "${FILESDIR}/moolticuted.init" moolticuted |
84 |
+} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ udev_reload |
88 |
+ gnome2_icon_cache_update |
89 |
+} |
90 |
+ |
91 |
+pkg_postrm() { |
92 |
+ gnome2_icon_cache_update |
93 |
+} |