commit:     02a152fe8132adfe63b85b69c29532cbc9338e28
Author:     Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
AuthorDate: Mon Apr 11 15:33:48 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 20:04:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a152fe

net-im/qtox: update -9999 ebuild to use newest upstream changes

Now upstream installs binary and icons, and it doesn't need to be
handled by ebuild.

Upstream PR: https://github.com/tux3/qTox/pull/3101
Closes: https://github.com/gentoo/gentoo/pull/1235

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 net-im/qtox/qtox-9999.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
index cdbfc5b..45bf9a5 100644
--- a/net-im/qtox/qtox-9999.ebuild
+++ b/net-im/qtox/qtox-9999.ebuild
@@ -66,18 +66,8 @@ src_configure() {
        # filter_audio is disabled since it's not available in Gentoo, and
        # support for it in qTox at the present is ~broken anyway
        eqmake5 \
+                       PREFIX="${D}/usr" \
                        DISABLE_FILTER_AUDIO=YES \
                        ${NO_GTK_SUPPORT} \
                        ${NO_X_SUPPORT}
 }
-
-src_install() {
-       dobin "${S}/qtox"
-       # install all png icons
-       local ICONS=(16 22 24 32 36 48 64 72 96 128 192 256 512)
-       for i in "${ICONS[@]}"; do
-               newicon -s "${i}" "${S}/img/icons/qtox-${i}x${i}.png" "qtox.png"
-       done
-       doicon -s scalable "${S}/img/icons/qtox.svg"
-       domenu "${S}/qTox.desktop"
-}

Reply via email to