From 64dc56101b17024cd86311fb6874bed199d04ddb Mon Sep 17 00:00:00 2001 From: hedmo Date: Sun, 28 Jun 2020 11:45:00 +0200 Subject: [PATCH] dev-libs/libQuotient bump to 0.6_beta2 --- dev-libs/libQuotient/Manifest | 1 + .../libQuotient/libQuotient-0.6_beta2.ebuild | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-libs/libQuotient/libQuotient-0.6_beta2.ebuild diff --git a/dev-libs/libQuotient/Manifest b/dev-libs/libQuotient/Manifest index 3216aab..8b65537 100644 --- a/dev-libs/libQuotient/Manifest +++ b/dev-libs/libQuotient/Manifest @@ -1 +1,2 @@ DIST libQuotient-0.6_beta1.tar.gz 549192 BLAKE2B e91e08bb2cfe8b369d79ae9d4514c15097042d74510d8d7428c25c12b635974fb637a126e4d87f34f9913f7d65ea14c5b83a5ebc2ed57039dc9fb884112e03bc SHA512 255560ee9a827ce140291859c9a7d11c718094b38a06e4555539aeda055daacd6a354e6685d67991fbbf2b407ab92b12986b854c27b81cfddb7b9b26c0e80e04 +DIST libQuotient-0.6_beta2.tar.gz 550380 BLAKE2B fd53fbc8ed4f2cff7d468e14dd2d2ee011b526f99fa5af499a3c2bb4d8ba2dfa07ffc83f0be80a747651c0f805c9e6802c3bc371e28804bea16d257890e942d0 SHA512 2261efcfec77cd478f5a50be88cdb4be506e2ae4f95970ed578258fe59b5033bebb570a25cd5a8b84631be3aa49f2d9a5abc3a0f058b6e159438c06163730d8e diff --git a/dev-libs/libQuotient/libQuotient-0.6_beta2.ebuild b/dev-libs/libQuotient/libQuotient-0.6_beta2.ebuild new file mode 100644 index 0000000..b595dde --- /dev/null +++ b/dev-libs/libQuotient/libQuotient-0.6_beta2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A Qt5 library to write cross-platform clients for Matrix" +HOMEPAGE="https://github.com/qmatrixclient/libqmatrixclient" + +inherit eutils cmake + +MY_PV="$(ver_rs 2 '-')" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/quotient-im/${PN}.git" +else + SRC_URI="https://github.com/quotient-im/libQuotient/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +RDEPEND="" +DEPEND=" + ${RDEPEND} + dev-qt/qtcore + dev-qt/qtmultimedia + !!dev-libs/libqmatrixclient +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + ) + cmake_src_configure +}