diff options
Diffstat (limited to 'net-libs/accounts-qml')
-rw-r--r-- | net-libs/accounts-qml/Manifest | 3 | ||||
-rw-r--r-- | net-libs/accounts-qml/accounts-qml-0.7_p20231028-r1.ebuild | 131 | ||||
-rw-r--r-- | net-libs/accounts-qml/accounts-qml-0.7_p20231028-r2.ebuild | 128 | ||||
-rw-r--r-- | net-libs/accounts-qml/accounts-qml-0.7_p20231028-r3.ebuild | 80 |
4 files changed, 81 insertions, 261 deletions
diff --git a/net-libs/accounts-qml/Manifest b/net-libs/accounts-qml/Manifest index 6b4326e8c39a..e548615dfcfc 100644 --- a/net-libs/accounts-qml/Manifest +++ b/net-libs/accounts-qml/Manifest @@ -1,4 +1,3 @@ DIST accounts-qml-0.7_p20231028.tar.bz2 50521 BLAKE2B 6704557e50b40d0be6e706c05ce888f959fd2028c7fa9aea9d3f2064828b6869bee454cd88189e70abe483b0809ec857634b0b8fa5f989fca05ae7af55efb80a SHA512 0d366b526873bdeecb9a5582992b8d659777beff3b5449745141a3c8156e130714acd81343440a2edcff7ed7bfeed2ce1afdb89188c8be2a2737491278b44253 -EBUILD accounts-qml-0.7_p20231028-r1.ebuild 2709 BLAKE2B ef6ee1a4326c15c027b6102c4beac00b5bb082d9e4569ea28b01cdbd6e478a56ebc1f6a341c6c6198cca0e28d9a137408d17ed70792b989ade34eb80d543b94f SHA512 4db822c074ce51733a51b608f129098cd1b206fb07ae89f904fd339f29cdf4b03b791bb0c4558bbf910707ecc02547ac211a33c7e2be67d6136045b321b14699 -EBUILD accounts-qml-0.7_p20231028-r2.ebuild 2636 BLAKE2B 43a02850bc48e730c6fce0c79ab680fc407f700c593c19bbffb131078447fa414b501898ec5fa53dfb6d5e251b4d6127d726ce89b7c780d9fb3bd71542ca78cf SHA512 e04895f149b82613965fb12113aed2f67bdcb31556e57f9812287a492dc2d1bcfea3bb4bddad0ee280b70f74e7f26a10df1302c1001447ee0fdc2857953624eb +EBUILD accounts-qml-0.7_p20231028-r3.ebuild 1701 BLAKE2B faa12f791cec1ffacd7a0bb334b634e5ef454be3f5d1e960de48645b5ef379980cf2c72abe02dde183ba8e33cc09789348a92af51ebf970b8d1508428cf520bc SHA512 af612abce5a5e1e175b950f0fa92a81613388a793d4e9fdd2114120abbb4db579e248787efcf2451fc9d71b17388b453f86b93c72781ea71ef591915ad1deb97 MISC metadata.xml 347 BLAKE2B 755e5ea43cad3783e4cb0e4f981a70a02cc25a344de46fe29923edcf5737778312017ddb7be004fc7cc075a6ffd206133952f07aeac30f9bf84277c3ea00eff2 SHA512 adbed6a6a004dc5a83adb510ca9ea5a8c2d43639452cc0c7ca28a2bff6a3680bb7a190c3e78d85008ae3cb444d07cf9d34f7e1b296cf2789e49e682fac970456 diff --git a/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r1.ebuild b/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r1.ebuild deleted file mode 100644 index b69415b2fefd..000000000000 --- a/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit qmake-utils multibuild - -if [[ ${PV} = *9999* ]] ; then - EGIT_REPO_URI="https://gitlab.com/accounts-sso/accounts-qml-module.git/" - inherit git-r3 -else - COMMIT=05e79ebbbf3784a87f72b7be571070125c10dfe3 - if [[ -n ${COMMIT} ]] ; then - SRC_URI="https://gitlab.com/accounts-sso/${PN}-module/-/archive/${COMMIT}/${PN}-module-${COMMIT}.tar.bz2 -> ${P}.tar.bz2" - S="${WORKDIR}/${PN}-module-${COMMIT}" - else - SRC_URI=" - https://gitlab.com/accounts-sso/${PN}-module/-/archive/VERSION_${PV}/${PN}-module-VERSION_${PV}.tar.bz2 - https://dev.gentoo.org/~asturm/distfiles/${P}-patches-1.tar.xz - " - S="${WORKDIR}/${PN}-module-VERSION_${PV}" - fi - KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" -fi - -DESCRIPTION="QML bindings for accounts-qt and signond" -HOMEPAGE="https://accounts-sso.gitlab.io/" - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc +qt5 qt6 test" -REQUIRED_USE="|| ( qt5 qt6 )" - -# dbus problems -RESTRICT="test" - -RDEPEND=" - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdeclarative:5 - ) - qt6? ( - dev-qt/qtbase:6 - dev-qt/qtdeclarative:6 - ) - >=net-libs/accounts-qt-1.16_p20220803[qt5?,qt6(+)?] - >=net-libs/signond-8.61-r100[qt5?,qt6(+)?] -" -DEPEND="${RDEPEND} - test? ( - qt5? ( - dev-qt/qtgui:5 - dev-qt/qttest:5 - ) - qt6? ( dev-qt/qtbase:6[gui] ) - ) -" -BDEPEND=" - doc? ( - app-text/doxygen - || ( - ( dev-qt/qttools:6[assistant,qdoc] ) - ( - dev-qt/qdoc:5 - dev-qt/qthelp:5 - ) - ) - ) -" - -DOCS=( README.md ) - -pkg_setup() { - MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) -} - -src_prepare() { - default - rm -v doc/html/.gitignore || die - multibuild_copy_sources -} - -src_configure() { - my_src_configure() { - cd "${BUILD_DIR}" || die - - local myqmakeargs=( - CONFIG+=no_docs \ - PREFIX="${EPREFIX}"/usr - ) - - if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then - eqmake6 "${myqmakeargs[@]}" - else - eqmake5 "${myqmakeargs[@]}" - fi - } - - multibuild_foreach_variant my_src_configure -} - -src_compile() { - my_src_compile() { - emake -C "${BUILD_DIR}" - } - - multibuild_foreach_variant my_src_compile - - if use doc; then - local qtanybindir - if has_version "dev-qt/qttools:6[qdoc]"; then - qtanybindir="$(qt6_get_libdir)/qt6/bin/" - elif has_version "dev-qt/qdoc:5"; then - qtanybindir="$(qt5_get_bindir)" - else - eerror "dev-qt/qttools:6[qdoc] nor dev-qt/qdoc:5 available even though in deps(?)" - fi - ${qtanybindir}/qdoc doc/accounts-qml-module.qdocconf || die - fi -} - -src_install() { - my_src_install() { - emake -C "${BUILD_DIR}" INSTALL_ROOT="${D}" install_subtargets - } - - local QT_QPA_PLATFORM=offscreen - multibuild_foreach_variant my_src_install - use doc && local HTML_DOCS=( doc ) - einstalldocs -} diff --git a/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r2.ebuild b/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r2.ebuild deleted file mode 100644 index 0369409c2d20..000000000000 --- a/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r2.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit qmake-utils multibuild - -if [[ ${PV} = *9999* ]] ; then - EGIT_REPO_URI="https://gitlab.com/accounts-sso/accounts-qml-module.git/" - inherit git-r3 -else - COMMIT=05e79ebbbf3784a87f72b7be571070125c10dfe3 - if [[ -n ${COMMIT} ]] ; then - SRC_URI="https://gitlab.com/accounts-sso/${PN}-module/-/archive/${COMMIT}/${PN}-module-${COMMIT}.tar.bz2 -> ${P}.tar.bz2" - S="${WORKDIR}/${PN}-module-${COMMIT}" - else - SRC_URI=" - https://gitlab.com/accounts-sso/${PN}-module/-/archive/VERSION_${PV}/${PN}-module-VERSION_${PV}.tar.bz2 - https://dev.gentoo.org/~asturm/distfiles/${P}-patches-1.tar.xz - " - S="${WORKDIR}/${PN}-module-VERSION_${PV}" - fi - KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" -fi - -DESCRIPTION="QML bindings for accounts-qt and signond" -HOMEPAGE="https://accounts-sso.gitlab.io/" - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc qt5 test" - -# dbus problems -RESTRICT="test" - -RDEPEND=" - dev-qt/qtbase:6 - dev-qt/qtdeclarative:6 - >=net-libs/accounts-qt-1.17[qt5(-)?,qt6(+)] - >=net-libs/signond-8.61-r100[qt5(-)?,qt6(+)] - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdeclarative:5 - ) -" -DEPEND="${RDEPEND} - test? ( - dev-qt/qtbase:6[gui] - qt5? ( - dev-qt/qtgui:5 - dev-qt/qttest:5 - ) - ) -" -BDEPEND=" - doc? ( - app-text/doxygen - || ( - ( dev-qt/qttools:6[assistant,qdoc] ) - ( - dev-qt/qdoc:5 - dev-qt/qthelp:5 - ) - ) - ) -" - -DOCS=( README.md ) - -pkg_setup() { - MULTIBUILD_VARIANTS=( $(usev qt5) qt6 ) -} - -src_prepare() { - default - rm -v doc/html/.gitignore || die - multibuild_copy_sources -} - -src_configure() { - my_src_configure() { - cd "${BUILD_DIR}" || die - - local myqmakeargs=( - CONFIG+=no_docs - PREFIX="${EPREFIX}"/usr - ) - - if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then - eqmake6 "${myqmakeargs[@]}" - else - eqmake5 "${myqmakeargs[@]}" - fi - } - - multibuild_foreach_variant my_src_configure -} - -src_compile() { - my_src_compile() { - emake -C "${BUILD_DIR}" - } - - multibuild_foreach_variant my_src_compile - - if use doc; then - local qtanybindir - if has_version "dev-qt/qttools:6[qdoc]"; then - qtanybindir="$(qt6_get_libdir)/qt6/bin/" - elif has_version "dev-qt/qdoc:5"; then - qtanybindir="$(qt5_get_bindir)" - else - eerror "dev-qt/qttools:6[qdoc] nor dev-qt/qdoc:5 available even though in deps(?)" - fi - ${qtanybindir}/qdoc doc/accounts-qml-module.qdocconf || die - fi -} - -src_install() { - my_src_install() { - emake -C "${BUILD_DIR}" INSTALL_ROOT="${D}" install_subtargets - } - - local QT_QPA_PLATFORM=offscreen - multibuild_foreach_variant my_src_install - use doc && local HTML_DOCS=( doc ) - einstalldocs -} diff --git a/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r3.ebuild b/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r3.ebuild new file mode 100644 index 000000000000..05ebb1e4e20a --- /dev/null +++ b/net-libs/accounts-qml/accounts-qml-0.7_p20231028-r3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +if [[ ${PV} = *9999* ]] ; then + EGIT_REPO_URI="https://gitlab.com/accounts-sso/accounts-qml-module.git/" + inherit git-r3 +else + COMMIT=05e79ebbbf3784a87f72b7be571070125c10dfe3 + if [[ -n ${COMMIT} ]] ; then + SRC_URI="https://gitlab.com/accounts-sso/${PN}-module/-/archive/${COMMIT}/${PN}-module-${COMMIT}.tar.bz2 -> ${P}.tar.bz2" + S="${WORKDIR}/${PN}-module-${COMMIT}" + else + SRC_URI=" + https://gitlab.com/accounts-sso/${PN}-module/-/archive/VERSION_${PV}/${PN}-module-VERSION_${PV}.tar.bz2 + https://dev.gentoo.org/~asturm/distfiles/${P}-patches-1.tar.xz + " + S="${WORKDIR}/${PN}-module-VERSION_${PV}" + fi + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="QML bindings for accounts-qt and signond" +HOMEPAGE="https://accounts-sso.gitlab.io/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test" + +# dbus problems +RESTRICT="test" + +RDEPEND=" + dev-qt/qtbase:6 + dev-qt/qtdeclarative:6 + >=net-libs/accounts-qt-1.17-r2 + >=net-libs/signond-8.61-r102 +" +DEPEND="${RDEPEND} + test? ( dev-qt/qtbase:6[gui] ) +" +BDEPEND=" + doc? ( + app-text/doxygen + dev-qt/qttools:6[assistant,qdoc] + ) +" + +DOCS=( README.md ) + +src_prepare() { + default + rm -v doc/html/.gitignore || die +} + +src_configure() { + local myqmakeargs=( + CONFIG+=no_docs \ + PREFIX="${EPREFIX}"/usr + ) + + eqmake6 "${myqmakeargs[@]}" +} + +src_compile() { + default + if use doc; then + $(qt6_get_libdir)/qt6/bin/qdoc doc/accounts-qml-module.qdocconf || die + fi +} + +src_install() { + local QT_QPA_PLATFORM=offscreen + emake INSTALL_ROOT="${D}" install_subtargets + use doc && local HTML_DOCS=( doc ) + einstalldocs +} |