From b8c7370a682e4e29cda623222d17a790c01c3642 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 7 Aug 2024 12:37:21 +0100 Subject: gentoo auto-resync : 07:08:2024 - 12:37:20 --- net-im/libcommuni/Manifest | 2 +- net-im/libcommuni/libcommuni-3.7.0-r1.ebuild | 77 ++++++++++++++++++++++++++++ net-im/libcommuni/libcommuni-3.7.0.ebuild | 75 --------------------------- 3 files changed, 78 insertions(+), 76 deletions(-) create mode 100644 net-im/libcommuni/libcommuni-3.7.0-r1.ebuild delete mode 100644 net-im/libcommuni/libcommuni-3.7.0.ebuild (limited to 'net-im/libcommuni') diff --git a/net-im/libcommuni/Manifest b/net-im/libcommuni/Manifest index 592beb9000ba..55996cd66da7 100644 --- a/net-im/libcommuni/Manifest +++ b/net-im/libcommuni/Manifest @@ -1,3 +1,3 @@ DIST libcommuni-3.7.0.tar.gz 475364 BLAKE2B d5bc6deac50b403c7423ab3f9953f94fa3db522f67740a62095700f45c8ee9c35a84aba35f48ff3104a8ffdadaf904f96b625dd1882fa89f49e31731f97e96c0 SHA512 ed1182256899f6be4b492e20958de2edf557b744362701f031ede279c7464b031a57a50e3d7174ae61e313e43564dbf0b04eb382af6bcda71eb96d3405f168c1 -EBUILD libcommuni-3.7.0.ebuild 2081 BLAKE2B d3199f84bc6e53cb0a783d696705832c053b0d0c6cfbfe62691082c06e22baffef663fffaa64afa1c49fa08aeb8c68c4776fdca18d9cd756a899dc7aea654623 SHA512 136f568c5ab0a4666a720785b4eb602fc695f30e2028ae83493bf7a75a9c39db09a6120587e22e6b9612f8ad5a01d37286b3bf7a26b9a783c92f41229e513190 +EBUILD libcommuni-3.7.0-r1.ebuild 2143 BLAKE2B 1c3c400284aacf39fb66b547991b22806066d4320db0b487f518b79dd17aa63b3fed2b5cb632bf96e753d2f52d9b62555c24c1df5e98514115cb1b54e5c7b470 SHA512 4e34b256821c25c8353e70218a56dfbddc61301570efc6b600f617200905d4cd083dc1bebf1964a1420c66922dddb3ad1e294099b80860d1ec20a8ffb3865d41 MISC metadata.xml 762 BLAKE2B bc086ffb30ca245a5806dca4c9540b6d6a4bb2a12e30efea0b9cf4621cf542d4f6864581facad962d7c4f6039ad587e39c7088da129f277a7ff055e72e142e64 SHA512 b215a4050500371e93f7e9d8d03e11d245ae8878a0d935142cdc8c6c38725675a778dd5771fb5bb0c6fc8fb45505ef9295f9d6452afcc89adfe586b3ed0c1f80 diff --git a/net-im/libcommuni/libcommuni-3.7.0-r1.ebuild b/net-im/libcommuni/libcommuni-3.7.0-r1.ebuild new file mode 100644 index 000000000000..30de6a28635a --- /dev/null +++ b/net-im/libcommuni/libcommuni-3.7.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +DESCRIPTION="A cross-platform IRC framework written with Qt" +HOMEPAGE="https://communi.github.io/" +SRC_URI="https://github.com/communi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples qml test +uchardet" +REQUIRED_USE="examples? ( qml )" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + examples? ( || ( + dev-qt/qtgui:5[X(-)] + dev-qt/qtgui:5[xcb(-)] + ) ) + qml? ( dev-qt/qtdeclarative:5 ) + uchardet? ( app-i18n/uchardet ) + !uchardet? ( dev-libs/icu:= ) +" + +DEPEND=" + ${RDEPEND} + test? ( dev-qt/qttest:5 ) +" + +src_configure() { + local myqmakeargs=( libcommuni.pro + # Disables compile run-time benchmarks, as they don't make any sense + -config no_benchmarks + # Is needed for fixing the QA Notice: The following files contain insecure RUNPATHs + -config no_rpath + # Compile libcommuni always in Release mode, as Debug seems to do nothing + -config release + # Don't silence all compile messages + -config verbose + -config $(usex examples '' 'no_')examples + -config $(usex qml '' 'no_')qml + -config $(usex test '' 'no_')tests + -config $(usex uchardet 'no_' '')icu + -config $(usex uchardet '' 'no_')uchardet ) + + eqmake5 "${myqmakeargs[@]}" +} + +src_test() { + # This is a hack to delete the existing LD_LIBRARY_PATH and set a new one, + # otherwise a test will fail, because it uses the system installed lib instead of the new compiled lib. + # The test will fail, when libcommuni is emerged with USE="uchardet" and + # libcommuni is already installed with USE="-uchardat", or the other way around. + find "${S}" -type f -name 'target_wrapper.sh' -exec sed -i -e "/.*LD_LIBRARY_PATH.*/d" {} \; || die + local -x LD_LIBRARY_PATH="${S}/lib" + + default +} + +src_install() { + emake install INSTALL_ROOT="${D}" + + if use examples; then + local examples=( "bot" "client" "minimal" "qmlbot" "quick" ) + for example in ${examples[@]}; do + newbin examples/"${example}"/"${example}" libcommuni."${example}" + done + fi + + einstalldocs +} diff --git a/net-im/libcommuni/libcommuni-3.7.0.ebuild b/net-im/libcommuni/libcommuni-3.7.0.ebuild deleted file mode 100644 index 6c0ce18b28d0..000000000000 --- a/net-im/libcommuni/libcommuni-3.7.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit qmake-utils - -DESCRIPTION="A cross-platform IRC framework written with Qt" -HOMEPAGE="https://communi.github.io/" -SRC_URI="https://github.com/communi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples qml test +uchardet" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtdeclarative:5 - examples? ( || ( - dev-qt/qtgui:5[X(-)] - dev-qt/qtgui:5[xcb(-)] - ) ) - uchardet? ( app-i18n/uchardet ) - !uchardet? ( dev-libs/icu:= ) -" - -DEPEND=" - ${RDEPEND} - test? ( dev-qt/qttest:5 ) -" - -src_configure() { - local myqmakeargs=( libcommuni.pro - # Disables compile run-time benchmarks, as they don't make any sense - -config no_benchmarks - # Is needed for fixing the QA Notice: The following files contain insecure RUNPATHs - -config no_rpath - # Compile libcommuni always in Release mode, as Debug seems to do nothing - -config release - # Don't silence all compile messages - -config verbose - -config $(usex examples '' 'no_')examples - -config $(usex qml '' 'no_')qml - -config $(usex test '' 'no_')tests - -config $(usex uchardet 'no_' '')icu - -config $(usex uchardet '' 'no_')uchardet ) - - eqmake5 "${myqmakeargs[@]}" -} - -src_test() { - # This is a hack to delete the existing LD_LIBRARY_PATH and set a new one, - # otherwise a test will fail, because it uses the system installed lib instead of the new compiled lib. - # The test will fail, when libcommuni is emerged with USE="uchardet" and - # libcommuni is already installed with USE="-uchardat", or the other way around. - find "${S}" -type f -name 'target_wrapper.sh' -exec sed -i -e "/.*LD_LIBRARY_PATH.*/d" {} \; || die - local -x LD_LIBRARY_PATH="${S}/lib" - - default -} - -src_install() { - emake install INSTALL_ROOT="${D}" - - if use examples; then - local examples=( "bot" "client" "minimal" "qmlbot" "quick" ) - for example in ${examples[@]}; do - newbin examples/"${example}"/"${example}" libcommuni."${example}" - done - fi - - einstalldocs -} -- cgit v1.2.3