mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
net-im/Quaternion: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
1
net-im/Quaternion/Manifest
Normal file
1
net-im/Quaternion/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST Quaternion-0.0.9.4e.tar.gz 999309 BLAKE2B 7f1763fa5340f11f7ed5aee0fa7e3f91764cad7f248ba1be26472866d7cf2b78e2144d0719a89a9b78503f744ca424c1eb2d3dd91f4c6677ea23255166466be8 SHA512 5478892b7dce96a60f1429ee6dff9dd0b4fbb89bf45ecc2e499ee90f615af4de12d1de0002804420a85a21a6ba533e4799c94d2411067cb7d7aacca183d9d981
|
||||
44
net-im/Quaternion/Quaternion-0.0.9.4e.ebuild
Normal file
44
net-im/Quaternion/Quaternion-0.0.9.4e.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 2019-2021 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
|
||||
}
|
||||
11
net-im/Quaternion/metadata.xml
Normal file
11
net-im/Quaternion/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user