summaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-12 05:28:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-12 05:28:28 +0000
commit343576b60d95d89e6165d24813c57e3bd92d3911 (patch)
tree5aa0e47928ce82deb2467b0d3b9ceccd93ab889f /app-crypt
parent8e95bde8579d855189ccca3e693b4e3792f136c2 (diff)
gentoo auto-resync : 12:12:2023 - 05:28:28
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/Manifest.gzbin24635 -> 24634 bytes
-rw-r--r--app-crypt/moolticute/Manifest3
-rw-r--r--app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch13
-rw-r--r--app-crypt/moolticute/moolticute-1.03.0.ebuild72
4 files changed, 88 insertions, 0 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz
index e3e3680334c4..a24080c2b156 100644
--- a/app-crypt/Manifest.gz
+++ b/app-crypt/Manifest.gz
Binary files differ
diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest
index 02555ddc408d..6fba316107ba 100644
--- a/app-crypt/moolticute/Manifest
+++ b/app-crypt/moolticute/Manifest
@@ -1,8 +1,11 @@
AUX 50-mooltipass.rules 963 BLAKE2B cb2d382eb57f3d802e23b115d6978373dd5e4c250e82804af59ae5ea15db3853765fb0afe9a7ba928be6dbd9069714480b683b3129802b9fe2cb234e10cfcdb8 SHA512 223bdc6b8c5b87ef2691d45cb3888ad83a58d42383331a1fbf9ffa359f8c78b51b4ea188dc1d52db7f5cdaa8b6a1393452fcfc22fbcb1b4bfed0cb146f68be0f
+AUX moolticute-1.03.0-fix-return-type.patch 428 BLAKE2B f85cd7f9e8eb788236eabf4d6a58d45f1f82abca1ecd01189368088783089538f1f07f051bc4648a0fb98adb88c9af82f1d849dea0e8e7cf498ecb1e21fdde35 SHA512 845fe2502375d76017b38c7318c5479d1eca411bffae825889ecb301c0bd59a4603e4889939433dab10b64a7189155f13269601942f65f4974bd313b7ed09fa2
AUX moolticuted.init 262 BLAKE2B f4eb3e905d03de4586d040dbcbeb3e381e6ae64d80b10f69b0f3016018276d8f0d5a0f42102f5e75c43531fe94693565d29417c116f9e0ea196f3634f6e69355 SHA512 42ab6aa95943bc16e32914d05a6f418e7e84f60b9516304ab3790e3992f51d9d552e14606b944b96868d826e86ba10ac1e2ba57568fe8ca13eb107c4bd433f35
DIST moolticute-1.00.1.tar.gz 5911062 BLAKE2B c3e20d4466c6020842447cb2fa54eee309664e8bbbb52aff8582ff7d333c8e5a9a2d286dace8207f62aacc41e0d9a99b733cfc5788dac72933ae7e15dc91a779 SHA512 c1a4ab39abc8360d088f267ae06f69deb135975caaf9224488d5e33127c1a9c1d2c80795d901e83bd13c82f80f1e362acfe59b03ad024b88ef7b8a7d56acd79b
DIST moolticute-1.01.0.tar.gz 5912712 BLAKE2B dd6e22235978424744a6b0791c479c6cf233645a1a3879db6913acfca16ccb49eec45be5e9e2f6ba0f730edec658daa3aba91fcbd0389e734aeab7f89ca7a7ba SHA512 b5998f6739bd095e0ce8a18a9cc576a9f97b6e214b47670e5858937358f35c9dc36c3357b9ff943eabcd4a3feb7179cbc2640888aae8d59481abb41a81527c52
+DIST moolticute-1.03.0.tar.gz 5963926 BLAKE2B a5b5f98bb501811891c9ac22754538cd1df21b9cc848cb883d5babad89bb76bb9f9b4c533250b0eedca7a8b79ff44f85e6de1e00cdd6d6220ba61b67958be3fc SHA512 450753c5d7f1e226d9b75b8ab4d61970120a2685d249a637c1323141b73108321b346001d2310558e2365ca842c7a3d5ab2f7773d32b5365d2bb3f937108d186
EBUILD moolticute-1.00.1.ebuild 1357 BLAKE2B b1d01c117607f24f66d78a700ed270ca045080af61ae3f26b176387bd16e97467dd0e4c514047ca9d3c739838113e0aaf7c9477448a908ab96892273041aeb2d SHA512 333701b211629d8a0fe8caf28f53cf87d3ab3daa1cc95489ec2906fbaa8d4ed1742ba2ca8467945796f3379afc7e3b8f3f0e93638d56f3bac060167c96f92aaa
EBUILD moolticute-1.01.0.ebuild 1357 BLAKE2B b1d01c117607f24f66d78a700ed270ca045080af61ae3f26b176387bd16e97467dd0e4c514047ca9d3c739838113e0aaf7c9477448a908ab96892273041aeb2d SHA512 333701b211629d8a0fe8caf28f53cf87d3ab3daa1cc95489ec2906fbaa8d4ed1742ba2ca8467945796f3379afc7e3b8f3f0e93638d56f3bac060167c96f92aaa
+EBUILD moolticute-1.03.0.ebuild 1420 BLAKE2B 648e5f3a7a8ae401aec580cd0ef338093d1729563b9bdd9023ba9d872eca9a83f70457f400897abdb6509585a970f1bc2751e331d1ede7909251fc6489392c9e SHA512 293b782fb8dedaae6ee88fd3e9cb43588588dc9754b63651e49df8e468e7799c3df0d3c42eabd57fd4d1a444329855cdec467fb9dc40c7cc5a4f090ddd3f406a
EBUILD moolticute-9999.ebuild 1357 BLAKE2B b1d01c117607f24f66d78a700ed270ca045080af61ae3f26b176387bd16e97467dd0e4c514047ca9d3c739838113e0aaf7c9477448a908ab96892273041aeb2d SHA512 333701b211629d8a0fe8caf28f53cf87d3ab3daa1cc95489ec2906fbaa8d4ed1742ba2ca8467945796f3379afc7e3b8f3f0e93638d56f3bac060167c96f92aaa
MISC metadata.xml 561 BLAKE2B 3acaed8d64be983605a440f04e23f2ea9c6a8f8506276900a1b7256e863d2ebd1713a5310740e3b670997c3420b038703ead60db752d1d8a1b7ff0d0885dc854 SHA512 a83b9cfd8d7d94df853e5d1abde7bc01137d847679c9dc96203af4cd87547ec747e557502a1e34e713e11f4867da4b0b784428b75a6af2e97d57f63b920cb730
diff --git a/app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch b/app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch
new file mode 100644
index 000000000000..039f2ccb6605
--- /dev/null
+++ b/app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch
@@ -0,0 +1,13 @@
+https://github.com/mooltipass/moolticute/pull/1204
+https://bugs.gentoo.org/916994
+--- a/src/MPDeviceBleImpl.cpp
++++ b/src/MPDeviceBleImpl.cpp
+@@ -735,7 +735,7 @@ bool MPDeviceBleImpl::processReceivedData(const QByteArray &data, QByteArray &da
+ {
+ if (data.size() < 2)
+ {
+- return {0};
++ return {QByteArray::number(0)};
+ }
+ QVector<QByteArray> res;
+ for (int i = 0; i < data.size() - 1; i += 2)
diff --git a/app-crypt/moolticute/moolticute-1.03.0.ebuild b/app-crypt/moolticute/moolticute-1.03.0.ebuild
new file mode 100644
index 000000000000..706c83a1a2da
--- /dev/null
+++ b/app-crypt/moolticute/moolticute-1.03.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils systemd udev xdg-utils
+
+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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm"
+fi
+
+DESCRIPTION="Mooltipass crossplatform daemon/tools"
+HOMEPAGE="https://github.com/mooltipass/moolticute"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="systemd"
+
+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
+ systemd? ( sys-apps/systemd )
+ !systemd? ( sys-apps/systemd-utils )
+"
+BDEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.03.0-fix-return-type.patch
+)
+
+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.rules"
+ systemd_dounit systemd/moolticuted.service
+ newinitd "${FILESDIR}/moolticuted.init" moolticuted
+}
+
+pkg_postinst() {
+ udev_reload
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ udev_reload
+ xdg_icon_cache_update
+}