Add quaternion matrix client
This commit is contained in:
parent
58e302990d
commit
83c1ac0a43
1
dev-libs/libolm/Manifest
Normal file
1
dev-libs/libolm/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST olm-3.1.4.tar.gz 521495 BLAKE2B 069544f656fca53ef2ec39d54904b788ac564cce153e8a9ed75b76ae27b4f8a223ffdc4ab7f04850bd7d32044e379ee4a85542161dd09adf19c66195ab544d85 SHA512 d4781d37da48e30e259b388d2cd7a4fd126411a5fd563ad66b3ef170274296f9eb32eca0dd72a2c0fcba91a87021d1d55a3d18b8ee0fcf64605b984e4eea4355
|
||||
36
dev-libs/libolm/libolm-3.1.4.ebuild
Normal file
36
dev-libs/libolm/libolm-3.1.4.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 2020 rexy712
|
||||
# Distributed under the terms of the GNU General Public License v3
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
MY_P="olm"
|
||||
S="${WORKDIR}/${MY_P}-${PV}"
|
||||
|
||||
DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets"
|
||||
HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
|
||||
SRC_URI="https://gitlab.matrix.org/matrix-org/olm/-/archive/${PV}/${MY_P}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3/1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare(){
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
src_configure(){
|
||||
local mycmakeargs=(
|
||||
-DOLM_TESTS=$(usex test ON OFF)
|
||||
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
|
||||
)
|
||||
cmake-multilib_src_configure
|
||||
}
|
||||
18
dev-libs/libolm/metadata.xml
Normal file
18
dev-libs/libolm/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>rexerton.rexy@tutamail.com</email>
|
||||
<name>rexy712</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
An implementation of the Double Ratchet cryptographic ratchet described by https://whispersystems.org/docs/specifications/doubleratchet/, written in C and C++11 and exposed as a C API.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="static-libs">Build static library instead of dynamic library</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
|
||||
|
||||
|
||||
1
dev-libs/libquotient/Manifest
Normal file
1
dev-libs/libquotient/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST libquotient-0.5.3.2.tar.gz 528240 BLAKE2B a32ebf9c55840ab609225824ea96707692996623247769d5de5d587720381b0e98a89903626eab16fff97bf446279abe9ceb88fc04b8afba28438b0988774a2c SHA512 b887432ba7fb2b89c72ae5342fbd11b0066770851e8d0ea85ae4d6375bca726a5ee601c4f3d35a11fa1f2ef679ad5436917c08139e114f91516ccb370321e428
|
||||
@ -0,0 +1,11 @@
|
||||
diff -Naur a/QMatrixClient.pc.in b/QMatrixClient.pc.in
|
||||
--- a/QMatrixClient.pc.in 2020-04-01 09:49:48.000000000 -0700
|
||||
+++ b/QMatrixClient.pc.in 2020-04-02 16:02:58.198052020 -0700
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/quotient
|
||||
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
|
||||
Name: QMatrixClient
|
||||
48
dev-libs/libquotient/libquotient-0.5.3.2.ebuild
Normal file
48
dev-libs/libquotient/libquotient-0.5.3.2.ebuild
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright 2020 rexy712
|
||||
# Distributed under the terms of the GNU General Public License v3
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
S="${WORKDIR}/libQuotient-${PV}"
|
||||
|
||||
DESCRIPTION="A Qt5 library to write cross-platform clients for Matrix"
|
||||
HOMEPAGE="https://github.com/quotient-im/libQuotient"
|
||||
SRC_URI="https://github.com/quotient-im/libQuotient/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.12:=
|
||||
>=dev-qt/qtgui-5.12:=
|
||||
>=dev-qt/qtmultimedia-5.12:=
|
||||
>=dev-qt/qtnetwork-5.12:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
>=sys-devel/gcc-7
|
||||
"
|
||||
PATCHES=("${FILESDIR}/quotient-fix-pc-include-path.patch")
|
||||
|
||||
src_prepare(){
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
src_configure(){
|
||||
local mycmakeargs=(
|
||||
-DQMATRIXCLIENT_INSTALL_EXAMPLE=OFF
|
||||
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
src_install(){
|
||||
cmake-utils_src_install
|
||||
mkdir "${T}/quotient" || die
|
||||
mv "${D}"/usr/include/* "${T}/quotient" || die
|
||||
mv "${T}/quotient" "${D}/usr/include/" || die
|
||||
}
|
||||
18
dev-libs/libquotient/metadata.xml
Normal file
18
dev-libs/libquotient/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>rexerton.rexy@tutamail.com</email>
|
||||
<name>rexy712</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Quotient project aims to produce a Qt5-based SDK to develop applications for Matrix. libQuotient is a library that enables client applications. It is the backbone of Quaternion, Spectral and other projects. Versions 0.5.x and older use the previous name - libQMatrixClient.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="static-libs">Build static library instead of dynamic library</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
|
||||
|
||||
|
||||
1
net-im/quaternion/Manifest
Normal file
1
net-im/quaternion/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST quaternion-0.0.9.4.tar.gz 999309 BLAKE2B 7f1763fa5340f11f7ed5aee0fa7e3f91764cad7f248ba1be26472866d7cf2b78e2144d0719a89a9b78503f744ca424c1eb2d3dd91f4c6677ea23255166466be8 SHA512 5478892b7dce96a60f1429ee6dff9dd0b4fbb89bf45ecc2e499ee90f615af4de12d1de0002804420a85a21a6ba533e4799c94d2411067cb7d7aacca183d9d981
|
||||
15
net-im/quaternion/metadata.xml
Normal file
15
net-im/quaternion/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>rexerton.rexy@tutamail.com</email>
|
||||
<name>rexy712</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Quaternion is a cross-platform desktop IM client for the Matrix protocol. This file contains general information about application usage and settings. See BUILDING.md for building instructions.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
||||
|
||||
|
||||
|
||||
47
net-im/quaternion/quaternion-0.0.9.4.ebuild
Normal file
47
net-im/quaternion/quaternion-0.0.9.4.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 2020 rexy712
|
||||
# Distributed under the terms of the GNU General Public License v3
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
MY_PV="${PV}e"
|
||||
|
||||
S="${WORKDIR}/Quaternion-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A Qt5-based IM client for Matrix"
|
||||
HOMEPAGE="https://github.com/quotient-im/Quaternion"
|
||||
SRC_URI="https://github.com/quotient-im/Quaternion/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-5.12:=
|
||||
>=dev-qt/qtgui-5.12:=
|
||||
>=dev-qt/qtmultimedia-5.12:=
|
||||
>=dev-qt/qtnetwork-5.12:=
|
||||
>=dev-libs/libquotient-0.5.3.2:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
>=sys-devel/gcc-7
|
||||
"
|
||||
|
||||
src_prepare(){
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
src_configure(){
|
||||
local quotientflags="$(pkg-config QMatrixClient --cflags)"
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_CXX_FLAGS="${quotientflags}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user