From b8eee5b1edc9f8696530a752989c8437440753c9 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Sat, 9 Jun 2018 13:49:12 +0300 Subject: [PATCH] KTorrent: bump version * fix plugins install path * add icon * fix build with Qt 5.11 --- net-p2p/ktorrent/additional-files/ktorrent.rdef.in | 11 +++++++++++ ...torrent-5.1.0.recipe => ktorrent-5.1.1~git.recipe} | 11 +++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) rename net-p2p/ktorrent/{ktorrent-5.1.0.recipe => ktorrent-5.1.1~git.recipe} (94%) diff --git a/net-p2p/ktorrent/additional-files/ktorrent.rdef.in b/net-p2p/ktorrent/additional-files/ktorrent.rdef.in index dcf9edfe1..13932cb53 100644 --- a/net-p2p/ktorrent/additional-files/ktorrent.rdef.in +++ b/net-p2p/ktorrent/additional-files/ktorrent.rdef.in @@ -18,3 +18,14 @@ resource app_signature "@APP_SIGNATURE@"; resource file_types message { "types" = "application/x-bittorrent" }; + +resource vector_icon { + $"6E6369660503010000020006023A4B0D3BC340BCC6743B61F84A95F448A97800" + $"97E306FF81A104020006023C20000000000000003DA00049C00046400000EEFF" + $"ACFFD5E68F03B4D339020006023A98DA3A0C94BB067A3BD5924AD38B48C4D000" + $"4C5E02FF698303070A0936382E3E3D4E4A485141493F49323D2F36340A074A48" + $"3D4E2E3EBBC7C01736344237C08FC1CE0A0435392E3EBBC7C017BC93BD4E0A05" + $"49455141C344BF374240C08FC1CE0A044A4851414242C08FC1CE0A0436344238" + $"49323D2F0A064237403A40464246493F4932070A0001001001178400040A0201" + $"02000A020104000A030103000A040106000A010101000A02010500" +}; diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.recipe b/net-p2p/ktorrent/ktorrent-5.1.1~git.recipe similarity index 94% rename from net-p2p/ktorrent/ktorrent-5.1.0.recipe rename to net-p2p/ktorrent/ktorrent-5.1.1~git.recipe index 3da3926de..48728f802 100644 --- a/net-p2p/ktorrent/ktorrent-5.1.0.recipe +++ b/net-p2p/ktorrent/ktorrent-5.1.1~git.recipe @@ -25,11 +25,13 @@ need enabled. - SOCKSv4 and SOCKSv5 proxy, IPv6 support. - Lots of other useful built-in features and plugins." HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/" -COPYRIGHT="2010-2017 KDE Organisation" +COPYRIGHT="2010-2018 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" -SOURCE_URI="https://github.com/KDE/ktorrent/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="369cd6705bd6f14702338c4594f57e626dca529280dc9ed7e56ce6ce7d5855c0" +COMMIT="d018720d638197683c24dbcd2603128149367a76" +SOURCE_URI="https://github.com/KDE/ktorrent/archive/$COMMIT.tar.gz" +SOURCE_DIR="ktorrent-$COMMIT" +CHECKSUM_SHA256="e68de0196f11acff49d5fd5c9d7b89f40c08ec95eb2ff9aef67b6fd0dba77528" ADDITIONAL_FILES="ktorrent.rdef.in" ARCHITECTURES="!x86_gcc2 x86 x86_64" @@ -140,6 +142,7 @@ BUILD() -DSHARE_INSTALL_PREFIX=$dataDir \ -DCMAKE_INSTALL_PREFIX=$appsDir/KTorrent \ -DCMAKE_INSTALL_DATAROOTDIR=$dataDir \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake make $jobArgs } @@ -155,7 +158,7 @@ INSTALL() APP_SIGNATURE="application/x-vnd.ktorrent" local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`" - local MINOR="`echo "$portVersion" | cut -d. -f3`" + local MINOR="0" local LONG_INFO="$SUMMARY" sed \ -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \