dev-libs/olm: fix license, modify metadata and add tests

Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
Alfred Wingate 2020-12-29 22:18:42 +02:00
parent bba06e84af
commit 8aac8b2006
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 26 additions and 10 deletions

View File

@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email> parona@protonmail.com </email>
<name> Alfred Wingate </name>
</maintainer>
<maintainer type="person">
<email>hedmoo@yahoo.com</email>
<name>Andreas Westman Dorcsak</name>
</maintainer>
<maintainer type="person">
<email>parona@protonmail.com</email>
<name>Alfred Wingate</name>
</maintainer>
<maintainer type="person">
<email>hedmoo@yahoo.com</email>
<name>Andreas Westman Dorcsak</name>
</maintainer>
<upstream>
<remote-id type="gitlab">matrix-org/olm</remote-id>
</upstream>
</pkgmetadata>

View File

@ -19,7 +19,7 @@ else
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
LICENSE="Apache-2.0"
SLOT="0/$(ver_cut 1)"
IUSE="python"

View File

@ -19,7 +19,7 @@ else
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
LICENSE="Apache-2.0"
SLOT="0/$(ver_cut 1)"
IUSE="python"
@ -37,6 +37,15 @@ src_prepare() {
use python && (cd python; distutils-r1_src_prepare)
}
src_configure() {
local mycmakeargs=(
-DOLM_TESTS=OFF
-DBUILD_SHARED_LIBS=ON
)
cmake_src_configure
use python && (cd python; distutils-r1_src_configure)
}
src_compile() {
cmake_src_compile
use python && (cd python; distutils-r1_src_compile)
@ -46,3 +55,7 @@ src_install() {
cmake_src_install
use python && (cd python; distutils-r1_src_install)
}
src_test(){
emake test
}