app-crypt/moolticute: version bump.
authorPierre-Olivier Mercier <nemunaire@nemunai.re>
Sun, 24 Dec 2017 13:32:31 +0000 (14:32 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 1 Jan 2018 23:36:11 +0000 (00:36 +0100)
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6711

app-crypt/moolticute/Manifest
app-crypt/moolticute/moolticute-0.11.4_beta.ebuild [new file with mode: 0644]

index 3a0bf3ff78bda9dd886ce37625b665f2b770ba26..ca47fbdbee30aeb07b7e76cb81c60c443660e11a 100644 (file)
@@ -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 (file)
index 0000000..6176b1b
--- /dev/null
@@ -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
+}