net-im/Quaternion: New package

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2022-04-10 23:46:27 +02:00
parent b34f842176
commit a78a84fa03
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST Quaternion-0.0.95.1.tar.gz 1224589 BLAKE2B 8ae7bd59493bc564f55a36f8aab0ccddbe9efe53abebabc5a049b8f7cbb69b118b5a601b6fd918a1ac1d8fe5d057926b58f28a4a1df26233ae27ae1443f7decd SHA512 465e49b90fef88b252f26b5791c2d491bfa451dd3b876b1fce8732bf96276437343fd368d1d48d20a2b5ec993a3e0a36709232f60fadd176548a7b942b22b678

View file

@ -0,0 +1,44 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="A Qt5-based IM client for the Matrix protocol"
HOMEPAGE="https://github.com/QMatrixClient/Quaternion https://matrix.org/docs/projects/client/quaternion.html"
SRC_URI="https://github.com/QMatrixClient/Quaternion/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64"
IUSE="+keychain"
DEPEND="
dev-qt/qtwidgets:5=
dev-qt/qtnetwork:5=
dev-qt/qtquickcontrols:5=
dev-qt/qtquickcontrols2:5=
dev-qt/qtscript:5=
dev-qt/qtgui:5=
dev-qt/linguist-tools:5=
dev-qt/qtmultimedia:5=
>=net-libs/libqmatrixclient-0.5.1:=
keychain? ( dev-libs/qtkeychain:= )
"
src_prepare() {
# I wouldn't be surprised that Qt on a Ubuntu PPA is broken
# https://github.com/quotient-im/Quaternion/pull/484/files#r256167611
sed -i 's/Multimedia DBus)/Multimedia)/' CMakeLists.txt || die "Failed removing hard-dep on QtDbus"
default
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DUSE_KEYCHAIN=$(usex keychain)
)
cmake_src_configure
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<use>
<flag name="keychain">Enable support for password storage via <pkg>dev-libs/qtkeychain</pkg></flag>
</use>
</pkgmetadata>