diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest index 752cde7..2646b5c 100644 --- a/net-im/qtox/Manifest +++ b/net-im/qtox/Manifest @@ -2,21 +2,22 @@ Hash: SHA256 DIST qtox-1.17.3.tar.gz 4821644 BLAKE2B b026caf38338e48f7793331c8cacb7decfe74d4d3ea9bd6bc792c9e7e3a5f32d2fb70a73750523ca61adb916cbb5bb2123c47ccd8024d6bb13fc0c7a581cb4bb SHA512 3c3c5df0512126ae1de8b92e55331ec243e93c1dfa649a42c5c5ab1c06c6367544c766d6ad2f89c162b91bd1fedb9e56f7e52e86b56c469d7db711d2bcbfc328 +DIST qtox-1.17.3_p20210503.tar.gz 4805443 BLAKE2B 57aba349f57287ec8827e241d33e8c15a09f75e3dff5a521b637e3fe67083e4439777cc1eb693922e4c86a2307cb57493c202c5ce55b358da91488c56b1a63b7 SHA512 99a061ac1d093282933708157ce911d6ccd2b3d7e2ecaa2f57cb224ae6e9c5e0a8debc7487a33fc0bbc365842ebcc2c71e6c2ad2fce585e51fa7678d22d13c19 -----BEGIN PGP SIGNATURE----- -iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl/84KFfFIAAAAAALgAo +iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmCX1YdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt -KyF/Og//TI8ixVtbZxCeFmMxo9IwbvQCgIJkd2WdTuaMPvccrtlnTBWlZyJnF89T -DcfHYDjd9SdqxwDUs2ldQxtuqdQ81YTyMaHmArU/wqcfvPGCIqTSgCQ1KQqivbHN -J13SNFQVb6tqLr+g1d3qnT3/13OazpRZv5zBFlMT9KzUhOeKfBKwjRgpKgUro4aG -0wQMsK3+HutPeBhi/KCyNJeHY0spfh6QP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O0LZMzcTtP2Y+uAWY4G24Jw0jw4ui3LeF+t0dyE/7uT08vUszuU +WIohrk1bJk0V7lPsfkmpyHnabT/+aMr/gbVrQeJHr1FgZLnGsCo= +=aL2Z -----END PGP SIGNATURE----- diff --git a/net-im/qtox/qtox-1.17.3_p20210503.ebuild b/net-im/qtox/qtox-1.17.3_p20210503.ebuild new file mode 100644 index 0000000..b82010d --- /dev/null +++ b/net-im/qtox/qtox-1.17.3_p20210503.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit cmake gnome2-utils xdg-utils + +COMMIT_ID="8c34fa8f7d34e6555533f392925164b47da12d8c" + +DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5" +HOMEPAGE="https://github.com/qTox/qTox" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/qTox/qTox.git" + inherit git-r3 +else + if [[ ${PV} == *_p* ]]; then + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/qTox/qTox/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/qTox-${COMMIT_ID}" + else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/qTox-${PV}" + fi +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="+auto-away +notification spell test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" +RDEPEND=" + dev-db/sqlcipher + dev-libs/libsodium:= + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5[gif,jpeg,png,X(-)] + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-gfx/qrencode:= + media-libs/libexif:= + media-libs/openal + media-video/ffmpeg:=[webp,v4l] + net-libs/tox:0/0.2[av] + notification? ( x11-libs/snorenotify ) + auto-away? ( + x11-libs/libX11 + x11-libs/libXScrnSaver + ) + spell? ( kde-frameworks/sonnet ) +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig + test? ( dev-qt/qttest:5 ) +" + +src_prepare() { + cmake_src_prepare + + # bug 628574 + if ! use test; then + sed -i CMakeLists.txt -e "/include(Testing)/d" || die + sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/d" || die + fi +} + +src_configure() { + local mycmakeargs=( + -DENABLE_STATUSNOTIFIER=$(usex notification) + -DDESKTOP_NOTIFICATIONS=$(usex notification) + -DSPELL_CHECK=$(usex spell) + -DUSE_FILTERAUDIO=OFF + -DGIT_DESCRIBE="${PV}" + -DPLATFORM_EXTENSIONS=$(usex auto-away) + -DUPDATE_CHECK=OFF + ) + + cmake_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}