commit:     c229a26de4b625a3ca67774428aa79ea2ebb49aa
Author:     Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
AuthorDate: Sun Dec 24 13:32:31 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 23:36:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c229a26d

app-crypt/moolticute: version bump.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6711

 app-crypt/moolticute/Manifest                      |  1 +
 app-crypt/moolticute/moolticute-0.11.4_beta.ebuild | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest
index 3a0bf3ff78b..ca47fbdbee3 100644
--- a/app-crypt/moolticute/Manifest
+++ b/app-crypt/moolticute/Manifest
@@ -1 +1,2 @@
 DIST moolticute-0.10.0_beta.tar.gz 4945663 BLAKE2B 
371ab382239d635251b3921cbae24ee8f0ccefdd2ca2a102e73ecf2eccdef5a86f1613d9cc051871b37ebe9936ffb5f95719f7e3c36c4d7fdc58a18ba9948b73
 SHA512 
febb828cc179cbbc40684b7c382babfe998d8e14c59358d985658dabc0c414de7b5bec3187336459b286fb85b79f8d781254c7dc55ecd6519fc4ea50952af9b4
+DIST moolticute-0.11.4_beta.tar.gz 5278216 BLAKE2B 
7d78549e9ea384669ea2fcea3f543e543ece87b9ce016fbb8675d0ea9065957c0d10bd6048a43c37715de3d1638fa75c518640feca22702713c7c7ab6c9e2ea1
 SHA512 
4c832b286784c4e8fbfc2eea498e4b7c57377ba745ba226c88001a3ab564d6e7c719dcdb849a409e367eaebc43a8b4c6e756b8a3e90a722f48554df4822e7a19

diff --git a/app-crypt/moolticute/moolticute-0.11.4_beta.ebuild 
b/app-crypt/moolticute/moolticute-0.11.4_beta.ebuild
new file mode 100644
index 00000000000..6176b1bb867
--- /dev/null
+++ b/app-crypt/moolticute/moolticute-0.11.4_beta.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999* ]]; then
+       EGIT_REPO_URI="https://github.com/mooltipass/moolticute.git";
+       inherit git-r3
+       KEYWORDS=""
+else
+       
SRC_URI="https://github.com/mooltipass/moolticute/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm"
+fi
+
+inherit gnome2-utils qmake-utils udev
+
+DESCRIPTION="Mooltipass crossplatform daemon/tools"
+HOMEPAGE="https://github.com/mooltipass/moolticute";
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+       >=dev-libs/libusb-1.0.20
+       >=dev-qt/qtcore-5.6:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qttest:5
+       dev-qt/qtwebsockets:5
+       dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_prepare() {
+       default
+
+       # Fill version.h with package version
+       if [[ ${PV} != 9999* ]]; then
+               sed -i "s/\"git\"/\"v${PV/_/-}\"/" src/version.h || die
+       fi
+}
+
+src_configure() {
+       eqmake5 PREFIX="/usr" Moolticute.pro
+}
+
+src_install() {
+       emake install INSTALL_ROOT="${D}"
+
+       udev_dorules "${FILESDIR}/50-mooltipass.rule"
+       newinitd "${FILESDIR}/moolticuted.init" moolticuted
+}
+
+pkg_postinst() {
+       udev_reload
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to