From 858b761a97c57c6342521cbad8a15cc0c11783f6 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Tue, 28 Apr 2020 11:24:44 +0200 Subject: [PATCH] net-im/qtox: Bump to 1.17.2 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank --- net-im/qtox/Manifest | 27 +++++----- net-im/qtox/qtox-1.17.2.ebuild | 91 ++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 13 deletions(-) create mode 100644 net-im/qtox/qtox-1.17.2.ebuild diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest index 9b15fd8..aee97aa 100644 --- a/net-im/qtox/Manifest +++ b/net-im/qtox/Manifest @@ -2,21 +2,22 @@ Hash: SHA256 DIST qtox-1.17.1.tar.gz 4816202 BLAKE2B 03874dee16edf64743ae35581cd0f690d3f59e247013f9390e64d0ffbb4260e3eede84f60796caa461a00aaf090250bac6207b5adf4cf8556d73d6be55da1a63 SHA512 1a54e1b58f54d45d3847f460d3a6950e3d535df3c68943574472f3ab0994d562bb7d5f5cb8cc7a4d8713ed51640fc36c78caf36ace67795a3c62cc30d4ddfc7f +DIST qtox-1.17.2.tar.gz 4816741 BLAKE2B 1f58336d15b5dfc20083cdbc76888522d3de7a11ea00347fbb055c8b86d20d148bdaeaf12fc8bfe63d8ebba0d7337f0823bced680e2e724b2f92da4a81bfad49 SHA512 373dadaa070028e07ce9d7f51969f5555a49e45069139eefc8dea8fd1be4c161fed08713a6bcdab427427669a908b8a4d7ec83263d9b866772889c1d794fd11b -----BEGIN PGP SIGNATURE----- -iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl6hkXhfFIAAAAAALgAo +iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl6n9llfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvc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rXLHFnRjLInDwrGLqFrlxNBo8ccnnGcW/uTvwdppTBdS/Vlui0xk +1EXkVzTfWnRf4RMylFXBJ/1+9+zB6sEKbr+Vr9hNEHd9/FfDbxrOPhZLj8tVPT8Q +nNZ4sdhVAB3F4A6pyFd15MnuHUrfxjoAaonGF9NIOAkTqq4SIDxEj/uazdLOYoTB +tDcOjYi7j5LN3GvxggxN8GHkXGI/Cs5A30oMJxG2XvSBhWMs9/+uZww9BHoyzMkK +hAKiYKe1bbM0Ec8e58PcZbs3uvbyyWfi2b4n0mXjUHjMiwpSUDA87I79ar82SyR6 +N8rU049HhpaKu+BhXdmEGNtFSPo+dGCJIds7ZuCAc4omITxx/OqVL+J7DggKg2JY +z8St18q6zLuqTixGPAN7U5yYZ1OHVupG4xQT4XyFGvR7dAaYfuc= +=1RgE -----END PGP SIGNATURE----- diff --git a/net-im/qtox/qtox-1.17.2.ebuild b/net-im/qtox/qtox-1.17.2.ebuild new file mode 100644 index 0000000..556fa80 --- /dev/null +++ b/net-im/qtox/qtox-1.17.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit cmake-utils gnome2-utils xdg-utils + +COMMIT_ID="" + +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 + SRC_URI="https://github.com/qTox/qTox/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/qTox-${COMMIT_ID}" + KEYWORDS="~amd64 ~x86" + else + SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/qTox-${PV}" + fi +fi + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+auto-away +notification test" +RESTRICT="!test? ( test )" + +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 + ) +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig + test? ( dev-qt/qttest:5 ) +" + +src_prepare() { + cmake-utils_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=( + -DDESKTOP_NOTIFICATIONS=$(usex notification) + -DUSE_FILTERAUDIO=OFF + -DGIT_DESCRIBE="${PV}" + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}