diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /app-crypt/moolticute | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'app-crypt/moolticute')
-rw-r--r-- | app-crypt/moolticute/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/moolticute/files/moolticuted.init-r1 | 12 | ||||
-rw-r--r-- | app-crypt/moolticute/moolticute-0.43.19-r1.ebuild | 66 | ||||
-rw-r--r-- | app-crypt/moolticute/moolticute-9999.ebuild | 4 |
4 files changed, 83 insertions, 3 deletions
diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest index 871e4004f22a..8aa49c1f07a5 100644 --- a/app-crypt/moolticute/Manifest +++ b/app-crypt/moolticute/Manifest @@ -1,6 +1,8 @@ AUX 50-mooltipass.rule 84 BLAKE2B 574568b60d33216a8de4a90866f2dd4a53d5369fb7e112c6125b8492e8cdaff51067dffe4e36e07fa24cf8a9aaaa77a388f3217ad039a51d7ba0781239020a43 SHA512 26f8a9f2c5fb2f3a87a486f91d5fae7069955dc528eacb8a37a833d393be38b70e3a9784024287cdfeb93a90abad83400395bb803e82a091100bd44cb7b2c28d AUX moolticuted.init 309 BLAKE2B 1f967b7e497e7e2d5547baf3e1b18127590997d8221ed34da1b4b4b2843bb1590fbb0c4153cb89d7f68b4fc0852e66f38879362fdd482414e4b6ba6862f06e30 SHA512 bbb80cf14d3adf744538f03513b461eb8bd2b633ef314f9e935e919f288f629aa8d84ff856e3aa104a2933e16143fbdbff90d9df8651473c39907f5aff580ed0 +AUX moolticuted.init-r1 262 BLAKE2B 42ac9a89fc99f54bf1ce986f9b77703dfe7db7a3abadf136c5756de7fc556210496c16fca6e84fe148d88c2f61e94c1fa813b840bb1814e3e01f685c83e5f956 SHA512 558eba22241351b3cba3f1e346bb45a76942a5a26a991a99ba5b4d26513f829e2ac8527a6692a57ed022ee695950338fe8c7b2a0cbf354beb358dadce12b752e DIST moolticute-0.43.19.tar.gz 5675421 BLAKE2B 8fbe68a86978970768870ac334c38b5cd532e97cb29e03975d6700a98074c51959747c35dee528275b41ef08cf42817f69337c8b93b8c2554729754d4ee818dd SHA512 fb343411854490f8e9bf937728889fc329d2f90274a34bafebacf711b02b3ff04ecad34480b786a59fda07a50f12f572b58fd2c397d46b63dc76df9228ad8711 +EBUILD moolticute-0.43.19-r1.ebuild 1237 BLAKE2B 8a88551a38062e833e3c4ba08ad1c48dcab0154bb855cdc8e3f553aa5e7fe51e297af22e7498328657db7b19f2b9c5c34d00a42e4808154cb3240bf59364906a SHA512 cca54e3655c9037b3abc20a971e58b4ff37f33c6a591e373f2d7ed484ba74b16c3a773d09001e69679ca000d65e162415ad1c7ba415152ade428e6f3eb591861 EBUILD moolticute-0.43.19.ebuild 1234 BLAKE2B b084b0e2a94b272d775823e64336de19f8aa377c44aabe733866fa9eb80bccf8ab366a29b0c2d9bfb094ac28d3ce2fb0d0b47138eec8d2c20667ff9183a4a511 SHA512 67b55d0e56e7c96f45af9cf41487fc4aa40cdbc700e03d10a4441cee5b376df51986ecb8f6433e5c905f99eb93986692d582dab9477ff396dcacf04d50a4f30a -EBUILD moolticute-9999.ebuild 1234 BLAKE2B 1eb30c66363b678fe65906aeb0818dbd9a7dffe2e851d13ce62b71da58185e06be623db0ab0cc1368eea4d90ae117771b16d62f3d5f1d5edd6f183b8c7d10902 SHA512 75b781007c139ab687ee02af561afdcf890c0e6888949235d371bbc5e2017b65df275ef4f68a2bdd53a5c9baa5c79635585ad6b1bed08918f31daf8b8f342ebb +EBUILD moolticute-9999.ebuild 1237 BLAKE2B 8a88551a38062e833e3c4ba08ad1c48dcab0154bb855cdc8e3f553aa5e7fe51e297af22e7498328657db7b19f2b9c5c34d00a42e4808154cb3240bf59364906a SHA512 cca54e3655c9037b3abc20a971e58b4ff37f33c6a591e373f2d7ed484ba74b16c3a773d09001e69679ca000d65e162415ad1c7ba415152ade428e6f3eb591861 MISC metadata.xml 561 BLAKE2B 3acaed8d64be983605a440f04e23f2ea9c6a8f8506276900a1b7256e863d2ebd1713a5310740e3b670997c3420b038703ead60db752d1d8a1b7ff0d0885dc854 SHA512 a83b9cfd8d7d94df853e5d1abde7bc01137d847679c9dc96203af4cd87547ec747e557502a1e34e713e11f4867da4b0b784428b75a6af2e97d57f63b920cb730 diff --git a/app-crypt/moolticute/files/moolticuted.init-r1 b/app-crypt/moolticute/files/moolticuted.init-r1 new file mode 100644 index 000000000000..8c4942a34935 --- /dev/null +++ b/app-crypt/moolticute/files/moolticuted.init-r1 @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/bin/moolticuted +command_background="yes" +pidfile=/var/run/moolticuted.pid +command_user="nobody:usb" + +depend() { + need udev +} diff --git a/app-crypt/moolticute/moolticute-0.43.19-r1.ebuild b/app-crypt/moolticute/moolticute-0.43.19-r1.ebuild new file mode 100644 index 000000000000..ea058a356a20 --- /dev/null +++ b/app-crypt/moolticute/moolticute-0.43.19-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/mooltipass/moolticute.git" + inherit git-r3 +else + SRC_URI="https://github.com/mooltipass/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm" +fi + +inherit xdg-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/qtdbus:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qttest:5 + dev-qt/qtwebsockets:5 + dev-qt/qtwidgets:5 +" +BDEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +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-r1" moolticuted +} + +pkg_postinst() { + udev_reload + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-crypt/moolticute/moolticute-9999.ebuild b/app-crypt/moolticute/moolticute-9999.ebuild index 08512b4847b9..ea058a356a20 100644 --- a/app-crypt/moolticute/moolticute-9999.ebuild +++ b/app-crypt/moolticute/moolticute-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -53,7 +53,7 @@ src_install() { emake install INSTALL_ROOT="${D}" udev_dorules "${FILESDIR}/50-mooltipass.rule" - newinitd "${FILESDIR}/moolticuted.init" moolticuted + newinitd "${FILESDIR}/moolticuted.init-r1" moolticuted } pkg_postinst() { |