From 80a11cfa54acb20eb1bb9934e183dbc646a18c7a Mon Sep 17 00:00:00 2001 From: Parona <5734703-Parona@users.noreply.gitlab.com> Date: Mon, 1 Jun 2020 15:20:46 +0300 Subject: [PATCH 1/4] dev-libs/libQtOlm: fixed issues --- dev-libs/libQtOlm/Manifest | 2 -- dev-libs/libQtOlm/libQtOlm-3.0.1.ebuild | 26 ++++++++++------------ dev-libs/libQtOlm/libQtOlm-9999.ebuild | 29 +++++++++++++++---------- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/dev-libs/libQtOlm/Manifest b/dev-libs/libQtOlm/Manifest index d0b70f6..65eac89 100644 --- a/dev-libs/libQtOlm/Manifest +++ b/dev-libs/libQtOlm/Manifest @@ -1,3 +1 @@ DIST libqtolm-v3.0.1.tar.gz 23507 BLAKE2B 9b5279020fa8c8fac21690fb184357614d411db4fd89e8ad83896fe1ee80078a220d229269935fb7ff24f9eddb92e733ad88cb52ac7ae88f2aa27e23dcb1db5b SHA512 98ee8f1a9f69e6e78105e9deb651d276de79678f749d43ae506295d59500617ce517338894a96a163e6d2de901413d6200bb788b507a6ad9179e1cbdc682a858 -EBUILD libQtOlm-3.0.1.ebuild 769 BLAKE2B 9a4683cac477e2eda728cc9565838bd919ddead385b41413b39ab1433044b643e77392e9698b976678f5ea9c87cf1f370302bb7ccd5638a7509494b44ac8a3c6 SHA512 3e2c4a37b47e7224c58ac3f662597fdcb7c9ba1ae46a375ea8c8d6cef7eb7482c2a6844a1c30d9a05d258f0d933b58dec9a2b80269cb6e47464d874c290e22a0 -EBUILD libQtOlm-9999.ebuild 564 BLAKE2B 99fd33be45e4a425bbc01a3e7951f1064aa6952cf8cdf5f4f9a5b6470441d16fffc1370abce8e673da6c50d29c4c716559582473aa403af105b4a1c88b6a98c3 SHA512 ac6f0c642fc9d48e1490f9fb8820691ee30d7bd8faf77399704321f297eb334d4e2f39788c43d624a2d032e779778c9632d877afe218ae55ca294a666e755d95 diff --git a/dev-libs/libQtOlm/libQtOlm-3.0.1.ebuild b/dev-libs/libQtOlm/libQtOlm-3.0.1.ebuild index 675679e..4f093a3 100644 --- a/dev-libs/libQtOlm/libQtOlm-3.0.1.ebuild +++ b/dev-libs/libQtOlm/libQtOlm-3.0.1.ebuild @@ -1,25 +1,23 @@ - -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="A Qt wrapper for libolm" HOMEPAGE="https://gitlab.com/b0/libQtOlm" -inherit eutils cmake-utils +inherit eutils cmake-utils SRC_URI="https://gitlab.com/b0/libqtolm/-/archive/v3.0.1/libqtolm-v3.0.1.tar.gz" if [[ ${PV} == 9999 ]] then - EGIT_REPO_URI="https://gitlab.com/b0/${PN}.git" - EGIT_COMMIT="v${PV}" inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/b0/${PN}.git" else - SRC_URI="https://gitlab.com/b0/libqtolm/-/archive/v${PV}/libqtolm-v${PV}.tar.gz" - - KEYWORDS="~amd64 ~x86" + SRC_URI="https://gitlab.com/b0/libqtolm/-/archive/v${PV}/libqtolm-v${PV}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/libqtolm-v${PV}" fi LICENSE="GPL-3" @@ -27,12 +25,12 @@ SLOT="0" IUSE="" RDEPEND="" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} dev-qt/qtcore - dev-libs/olm" - -S="${WORKDIR}"/libqtolm-v3.0.1 - + dev-libs/olm +" + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=ON diff --git a/dev-libs/libQtOlm/libQtOlm-9999.ebuild b/dev-libs/libQtOlm/libQtOlm-9999.ebuild index 9c4f18d..4f093a3 100644 --- a/dev-libs/libQtOlm/libQtOlm-9999.ebuild +++ b/dev-libs/libQtOlm/libQtOlm-9999.ebuild @@ -1,19 +1,23 @@ - -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="A Qt wrapper for libolm" HOMEPAGE="https://gitlab.com/b0/libQtOlm" -inherit eutils cmake-utils git-r3 +inherit eutils cmake-utils -SRC_URI="" -EGIT_REPO_URI="https://gitlab.com/b0/${PN}.git" -if [[ ${PV} != "9999" ]]; then - EGIT_COMMIT="v${PV}" - KEYWORDS="~amd64 ~x86" +SRC_URI="https://gitlab.com/b0/libqtolm/-/archive/v3.0.1/libqtolm-v3.0.1.tar.gz" + +if [[ ${PV} == 9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/b0/${PN}.git" +else + SRC_URI="https://gitlab.com/b0/libqtolm/-/archive/v${PV}/libqtolm-v${PV}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/libqtolm-v${PV}" fi LICENSE="GPL-3" @@ -21,9 +25,12 @@ SLOT="0" IUSE="" RDEPEND="" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} dev-qt/qtcore - dev-libs/olm" + dev-libs/olm +" + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=ON From 593fb9d3b87f4d2b538d493ba0181ca08b4960c2 Mon Sep 17 00:00:00 2001 From: Parona <5734703-Parona@users.noreply.gitlab.com> Date: Mon, 1 Jun 2020 15:21:13 +0300 Subject: [PATCH 2/4] dev-libs/olm: fixed issues --- dev-libs/olm/Manifest | 1 - dev-libs/olm/olm-3.1.4.ebuild | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest index 6ac40a5..31dcef7 100644 --- a/dev-libs/olm/Manifest +++ b/dev-libs/olm/Manifest @@ -1,2 +1 @@ DIST olm-3.1.4.tar.bz2 461540 BLAKE2B fa69b1543330c5da37c04227b51197ba57968ef24def40df621b85c0988eac91f8a155f600ab26849f2cd213059c97c7035be6dcca0943245cd4e4895da314b3 SHA512 87265d835ca7332d162bd3573dffdd09c8337c464dd673f100db9193e8ea4cedd8cb2a92cf2c34ad1b552a55bbbce8f87a47559ccfba03fa69b32fc7ff07f5f0 -EBUILD olm-3.1.4.ebuild 549 BLAKE2B 93f47ec43a74ab46ce279d22a351e3cda22564fd17477f71d7b8098248cb6b950e4947d44b63d0885e8cbc10f4e8e9b609947030ab96dbeb3edb6a75d0b8fbeb SHA512 9f1c089a2dd4c89c34eb11d2448d83246bf903ca83f62f2e064ef0ec0602a6510436ab932e78f59cfe743d0bce552e38ac4e120179f8ffac5f9ba68f8a8cb58d diff --git a/dev-libs/olm/olm-3.1.4.ebuild b/dev-libs/olm/olm-3.1.4.ebuild index 3117eec..0e5ea5d 100644 --- a/dev-libs/olm/olm-3.1.4.ebuild +++ b/dev-libs/olm/olm-3.1.4.ebuild @@ -1,4 +1,4 @@ - # Copyright 1999-2019 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,9 +13,9 @@ if [[ "${PV}" == 9999 ]]; then EGIT_REPO_URI="https://gitlab.matrix.org/matrix-org/${PN}.git" else SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0/$(ver_cut 1)" -IUSE="debug" +IUSE="" From ee0bb1524f6d9594f5302d458ab56b46a2784d72 Mon Sep 17 00:00:00 2001 From: Parona <5734703-Parona@users.noreply.gitlab.com> Date: Mon, 1 Jun 2020 15:21:37 +0300 Subject: [PATCH 3/4] dev-libs/libQuotient: fixed issues --- dev-libs/libQuotient/Manifest | 2 -- .../libQuotient/libQuotient-0.6_beta1.ebuild | 25 ++++++++++--------- dev-libs/libQuotient/libQuotient-9999.ebuild | 21 +++++++++------- 3 files changed, 25 insertions(+), 23 deletions(-) diff --git a/dev-libs/libQuotient/Manifest b/dev-libs/libQuotient/Manifest index 1a9afc8..3216aab 100644 --- a/dev-libs/libQuotient/Manifest +++ b/dev-libs/libQuotient/Manifest @@ -1,3 +1 @@ DIST libQuotient-0.6_beta1.tar.gz 549192 BLAKE2B e91e08bb2cfe8b369d79ae9d4514c15097042d74510d8d7428c25c12b635974fb637a126e4d87f34f9913f7d65ea14c5b83a5ebc2ed57039dc9fb884112e03bc SHA512 255560ee9a827ce140291859c9a7d11c718094b38a06e4555539aeda055daacd6a354e6685d67991fbbf2b407ab92b12986b854c27b81cfddb7b9b26c0e80e04 -EBUILD libQuotient-0.6_beta1.ebuild 840 BLAKE2B 2c57c4d8d6fe552e06f6885d608a1bf1ef793fd7ee36a3e06cf9379a2dba2ac1fc88eddc5f309b53d14012ee6727aeb401446c0ef4f27fea24968f45aebd8138 SHA512 51cd109d36b1cdb4c7759eb88b2d1fcea58c5d6de95767f848a2c767ed6a280d8b57565301c4024977ccfd0038c3b733d92fe3aa7ad165930af358837326ec4e -EBUILD libQuotient-9999.ebuild 741 BLAKE2B dffbd0703ea438013e2be79d7a934e39ea463cb63b59f7db5c89f40b8dded85fd047b4aa685a21396756715285d6527eead8e50e9405042f7bd3a000a08d39c2 SHA512 c2a1fc3c33f8aac3c20d8495348b86ce58bffb65a8ce8c8ef9b985a141955ff0f624dd6a4b3c6de0a1d1c6a5ecef439c782bfb91f05c9aa05704fc13544eca61 diff --git a/dev-libs/libQuotient/libQuotient-0.6_beta1.ebuild b/dev-libs/libQuotient/libQuotient-0.6_beta1.ebuild index 044d8b4..b7ee68e 100644 --- a/dev-libs/libQuotient/libQuotient-0.6_beta1.ebuild +++ b/dev-libs/libQuotient/libQuotient-0.6_beta1.ebuild @@ -1,22 +1,21 @@ - -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="A Qt5 library to write cross-platform clients for Matrix" HOMEPAGE="https://github.com/qmatrixclient/libqmatrixclient" inherit eutils cmake-utils -#https://github.com/quotient-im/libQuotient/archive/0.6-beta1.tar.gz -if [[ ${PV} == "9999" ]]; -then - EGIT_REPO_URI="https://github.com/quotient-im/${PN}.git" +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/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/quotient-im/libQuotient/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" fi LICENSE="GPL-3" @@ -24,12 +23,14 @@ SLOT="0" IUSE="" RDEPEND="" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} dev-qt/qtcore dev-qt/qtmultimedia - !!dev-libs/libqmatrixclient" + !!dev-libs/libqmatrixclient +" -S="${WORKDIR}"/${PN}-${PV/_/\-} +S="${WORKDIR}/${PN}-${MY_PV}" src_configure() { local mycmakeargs=( diff --git a/dev-libs/libQuotient/libQuotient-9999.ebuild b/dev-libs/libQuotient/libQuotient-9999.ebuild index 3f82e11..b7ee68e 100644 --- a/dev-libs/libQuotient/libQuotient-9999.ebuild +++ b/dev-libs/libQuotient/libQuotient-9999.ebuild @@ -1,22 +1,21 @@ - -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="A Qt5 library to write cross-platform clients for Matrix" HOMEPAGE="https://github.com/qmatrixclient/libqmatrixclient" inherit eutils cmake-utils +MY_PV="$(ver_rs 2 '-')" + if [[ ${PV} == "9999" ]]; then inherit git-r3 - - SRC_URI="" EGIT_REPO_URI="https://github.com/quotient-im/${PN}.git" else - SRC_URI="https://github.com/quotient-im/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/quotient-im/libQuotient/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" fi LICENSE="GPL-3" @@ -24,10 +23,14 @@ SLOT="0" IUSE="" RDEPEND="" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} dev-qt/qtcore dev-qt/qtmultimedia - !!dev-libs/libqmatrixclient" + !!dev-libs/libqmatrixclient +" + +S="${WORKDIR}/${PN}-${MY_PV}" src_configure() { local mycmakeargs=( From b43b74fe27cfa267ff352fd1c60ae474a2804aaf Mon Sep 17 00:00:00 2001 From: Parona <5734703-Parona@users.noreply.gitlab.com> Date: Mon, 1 Jun 2020 15:32:29 +0300 Subject: [PATCH 4/4] net-im/spectral: fixed issues --- net-im/spectral/Manifest | 2 +- net-im/spectral/spectral-854.ebuild | 36 +++++++++++-------------- net-im/spectral/spectral-9999.ebuild | 40 ++++++++++++++++++++++------ 3 files changed, 48 insertions(+), 30 deletions(-) diff --git a/net-im/spectral/Manifest b/net-im/spectral/Manifest index 0daa680..b49c892 100644 --- a/net-im/spectral/Manifest +++ b/net-im/spectral/Manifest @@ -1,2 +1,2 @@ -DIST 36befddf5d57faad990e72c88c5844794f274145.zip 133452 BLAKE2B 24d94c68bf97f5e0bf986f7024bcef1a61d1bd0e6f27108f386139fe6bc3515faad87cf4d825b94a3c3254ae75a82e4292a49f0fdaf5115e13c1e6a21af64dc1 SHA512 5bcaa4463e9ea033b3b51ec0524daf0350693a8d2a54a7784fc7109c957c0952d924c95b5cb36d9a9facc10d0ee9e9008d14743f23fe744964b5daa8050d8534 +DIST 36befddf5d57faad990e72c88c5844794f274145.tar.gz 52369 BLAKE2B 02e2a85c5df7a173b1ec27f126474db0d1ddf2c5858d41b904d463277d134f6f301e25597fd71d61d4a512207eb739e094b44a6af7d9bb7deb65823ab6836691 SHA512 bfb7af36abd5ded014549042e760c1ec6779f46dd6c30e672ada21decc7a1b1a631ada1cc2c57d62d0daca4cccff9640077345b3661ef73021d5e2ee8058ae9b DIST spectral-854.tar.gz 846106 BLAKE2B 6dc95d52f0acff646e6114e85c16dc9881edbc96eda1168094a477ef3b23d459c9d77aeedbd317cfa225317a9a83cd089539ccafff76df2da3104ef457034b20 SHA512 c8e5c65829a6fae07371461da1f91f33c01194db43a72dda5a35492bcd23595b5270f578494835ca484f9d9de24ab264754fb28f3483fd8ba4c190540416a0cd diff --git a/net-im/spectral/spectral-854.ebuild b/net-im/spectral/spectral-854.ebuild index 2e62396..8f17e95 100644 --- a/net-im/spectral/spectral-854.ebuild +++ b/net-im/spectral/spectral-854.ebuild @@ -6,11 +6,9 @@ EAPI=7 DESCRIPTION="A glossy client for Matrix, written in QtQuick Controls 2 and C++." HOMEPAGE="https://gitlab.com/spectral-im/spectral" -inherit cmake-utils - -COMMON_URI="https://github.com/oKcerG/SortFilterProxyModel/archive/36befddf5d57faad990e72c88c5844794f274145.zip" - +inherit cmake-utils +COMMON_URI="https://github.com/oKcerG/SortFilterProxyModel/archive/36befddf5d57faad990e72c88c5844794f274145.tar.gz" if [[ ${PV} == 9999 ]] then @@ -46,28 +44,24 @@ DEPEND=" >=dev-qt/qtcore-5.12 " - - src_prepare() { - move_lib() { - local IN_DIR="${1}" - local OUT_DIR - [ -z "${2}" ] && OUT_DIR="${IN_DIR}" || OUT_DIR="${2%/}/${IN_DIR}" - mv "${WORKDIR}/${IN_DIR}"*/* "${S}/${OUT_DIR}" || die - } + if [[ ${PV} != 9999 ]] + then + move_lib() { + local IN_DIR="${1}" + local OUT_DIR[ -z "${2}" ] && OUT_DIR="${IN_DIR}" || OUT_DIR="${2%/}/${IN_DIR}" + mv "${WORKDIR}/${IN_DIR}"*/* "${S}/${OUT_DIR}" || die + } - - local thirdparty_libs=" SortFilterProxyModel" - for thirdparty_lib in ${thirdparty_libs} ; do - move_lib "${thirdparty_lib}" include - done + local thirdparty_libs=" SortFilterProxyModel" + for thirdparty_lib in ${thirdparty_libs} ; do + move_lib "${thirdparty_lib}" include + done + fi - - cmake-utils_src_prepare + cmake-utils_src_prepare } - - pkg_postinst() { xdg_icon_cache_update } diff --git a/net-im/spectral/spectral-9999.ebuild b/net-im/spectral/spectral-9999.ebuild index 820f414..8f17e95 100644 --- a/net-im/spectral/spectral-9999.ebuild +++ b/net-im/spectral/spectral-9999.ebuild @@ -1,18 +1,24 @@ - # Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="A glossy client for Matrix, written in QtQuick Controls 2 and C++." -HOMEPAGE="https://gitlab.com/b0/spectral" +HOMEPAGE="https://gitlab.com/spectral-im/spectral" -inherit eutils cmake-utils git-r3 -EGIT_REPO_URI="https://gitlab.com/b0/spectral.git" -EGIT_SUBMODULES=("include/SortFilterProxyModel") -if [[ ${PV} != "9999" ]]; then - EGIT_COMMIT="${PV}" - KEYWORDS="~amd64 ~x86" +inherit cmake-utils + +COMMON_URI="https://github.com/oKcerG/SortFilterProxyModel/archive/36befddf5d57faad990e72c88c5844794f274145.tar.gz" + +if [[ ${PV} == 9999 ]] +then + EGIT_REPO_URI="https://gitlab.com/b0/spectral.git" + inherit git-r3 +else + SRC_URI="https://gitlab.com/spectral-im/spectral/-/archive/${PV}/${P}.tar.gz + ${COMMON_URI}" + + KEYWORDS="~amd64" fi LICENSE="GPL-3" @@ -38,6 +44,24 @@ DEPEND=" >=dev-qt/qtcore-5.12 " +src_prepare() { + if [[ ${PV} != 9999 ]] + then + move_lib() { + local IN_DIR="${1}" + local OUT_DIR[ -z "${2}" ] && OUT_DIR="${IN_DIR}" || OUT_DIR="${2%/}/${IN_DIR}" + mv "${WORKDIR}/${IN_DIR}"*/* "${S}/${OUT_DIR}" || die + } + + local thirdparty_libs=" SortFilterProxyModel" + for thirdparty_lib in ${thirdparty_libs} ; do + move_lib "${thirdparty_lib}" include + done + fi + + cmake-utils_src_prepare +} + pkg_postinst() { xdg_icon_cache_update }