diff options
Diffstat (limited to 'net-im/qtox/qtox-1.16.3.ebuild')
-rw-r--r-- | net-im/qtox/qtox-1.16.3.ebuild | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/net-im/qtox/qtox-1.16.3.ebuild b/net-im/qtox/qtox-1.16.3.ebuild index 44236e1bfab8..57aabd1c8f03 100644 --- a/net-im/qtox/qtox-1.16.3.ebuild +++ b/net-im/qtox/qtox-1.16.3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -inherit cmake-utils gnome2-utils xdg-utils +EAPI=7 MY_P="qTox-${PV}" +inherit cmake xdg + DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5" HOMEPAGE="https://github.com/qTox/qTox" SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" @@ -14,10 +14,15 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="notification test X" + RESTRICT="!test? ( test )" S="${WORKDIR}/${MY_P}" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" RDEPEND=" dev-db/sqlcipher dev-libs/libsodium:= @@ -40,13 +45,13 @@ RDEPEND=" x11-libs/libXScrnSaver ) " DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 - virtual/pkgconfig test? ( dev-qt/qttest:5 ) " +PATCHES=( "${FILESDIR}/${P}-qt-5.13.patch" ) # bug #699152 + src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare # bug 628574 if ! use test; then @@ -64,15 +69,5 @@ src_configure() { -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 + cmake_src_configure } |