net-im/qtox: update -9999 ebuild to use newest upstream changes
authorZetok Zalbavar <zetok@openmailbox.org>
Mon, 11 Apr 2016 15:33:48 +0000 (16:33 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 11 Apr 2016 20:04:58 +0000 (20:04 +0000)
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@gentoo.org>
net-im/qtox/qtox-9999.ebuild

index cdbfc5bcbc4bd9dbc3937a6bb32e21da610ac6bc..45bf9a517a35445bf3880b010d3183ba1495e4ac 100644 (file)
@@ -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"
-}