diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-11-25 21:49:45 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-11-25 22:03:02 +1100 |
commit | 75d47cad5a29e5175fbb2b0887850e372bd7b18c (patch) | |
tree | 37014e6dbfb68c7811bb763b506e6a2092312154 /net-p2p/qbittorrent | |
parent | ruby-fakegem.eclass: fix RUBY_FAKEGEM_EXTRAINSTALL (diff) | |
download | gentoo-75d47cad5a29e5175fbb2b0887850e372bd7b18c.tar.gz gentoo-75d47cad5a29e5175fbb2b0887850e372bd7b18c.tar.bz2 gentoo-75d47cad5a29e5175fbb2b0887850e372bd7b18c.zip |
net-p2p/qbittorrent: version bump 4.0.1
Closes: https://bugs.gentoo.org/638430
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'net-p2p/qbittorrent')
-rw-r--r-- | net-p2p/qbittorrent/Manifest | 3 | ||||
-rw-r--r-- | net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch | 25 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-4.0.1.ebuild | 66 |
3 files changed, 93 insertions, 1 deletions
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest index 101ed3b9d0eb..10b8fe7b35c1 100644 --- a/net-p2p/qbittorrent/Manifest +++ b/net-p2p/qbittorrent/Manifest @@ -1,4 +1,5 @@ DIST qbittorrent-3.3.10.tar.xz 2959380 SHA256 2c657ceacdc84033da044a0a9ecba7e0fdb35858324dc097546f989166f1a8d2 SHA512 4f4e7071fa6db75ed2b5fbf5f17d5a9634aa5f2ed9fbcec52e6a0112967f5832e998384c7ff4962b1e00a0f847fa5d39bcdba36f997b5b895c7688e0dd247516 WHIRLPOOL 950b49d7a15aa7cf16dfe2bbfba72959e91f21f85ba589ce85be370b8b21c03fb389d404ed46ad2c802e3a57660094fe644b20df9bc3a0714cb5d9ea965e1b97 DIST qbittorrent-3.3.12-cmake-3.8.patch.gz 18330 SHA256 8172d04af3621ed0859ff541ae6c6e73f469125e0b7defd591191ab8c233e658 SHA512 e5aa6aa32f12c47a28658b2382faca88b64be1c198c69ad88f4fcd9f18d2db7a4e71c170dffd142b5af0184105b04dc2409417761db8859f622d42af7d25b060 WHIRLPOOL a68723a52858aed3e0474e0ccc3bcde7a451b388c8cd30ea5548f53e950902e234cb7e9cc32a86c75e367c4cad33a40beab52619de0a1f27442b89a10c25e67f DIST qbittorrent-3.3.12.tar.xz 2989604 SHA256 56528c47f09b316ecf682e3896157c76c18898ef996728b0c5186e05a711466f SHA512 537ded71c75b3ab3fe014d77b5c4f8069ebb7a1aa94b5190b16e9ee910bfb70d462e5a3a536ba9222a97d8cceac00af0d33a92b7414b17724694d364fc2374df WHIRLPOOL 9f3b7cb85885691ea747b2569690aa3d1189798be6000e9ec2c8af65ccd86010be877af10b540422233f5b8c253bf221fad0fea6fdc9a0b5dcbc3cedf50613bd -DIST qbittorrent-3.3.16.tar.xz 2961420 SHA256 ea08a61872c397258c2627780f6e09fe777189d9a57cc5e02a656da9aeb0be57 SHA512 518ddbf8e657b3549800b5587924a8a34826895183f199b79aac72de81e6b5c009cb3b8d4fbb19151da0d96c21eb1c2f05d6ed061608cc8f589ec6fe62ce8117 WHIRLPOOL dec3eab159c9f930d5c2a2f123b089c6ce84e7bcbd83d84f996c1a0167e4bbbdf468492a136a86485cc73611f044587e940910e34260535f2074e84680369ccb +DIST qbittorrent-3.3.16.tar.xz 2961420 BLAKE2B 3704e6575b1a321e04b0b9c1feee9acaf2e0ab5e0815c2cbb496265c8407c5b27111265e929ea3a516cba20acacc3b954579b5904de3411ae81726f2461dfbe0 SHA512 518ddbf8e657b3549800b5587924a8a34826895183f199b79aac72de81e6b5c009cb3b8d4fbb19151da0d96c21eb1c2f05d6ed061608cc8f589ec6fe62ce8117 +DIST qbittorrent-4.0.1.tar.xz 4256588 BLAKE2B 579e850c34c62f515807a3fb2619740442c275e9de74cd7338a9e2d72340c78a2b7f484a3ee911094cbb3b551d61a927be454466637eac2d2355e84ebec0dbd4 SHA512 76eae32ebe82953e3164a8a292132a33ccc93f5a33ce7e1ce3253f4697939b73d21e1823bada7d3b1fe7401538a7f407ebeb86c281a34e261aec0aa02d7bef80 diff --git a/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch b/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch new file mode 100644 index 000000000000..2a7f5dbb47c5 --- /dev/null +++ b/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch @@ -0,0 +1,25 @@ +From af898e9117b475230e793fa4fd75274145ecf25d Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Wed, 22 Nov 2017 21:29:20 +0100 +Subject: [PATCH] Fix build with --disable-webui + +"app/application.cpp:108:7: error: class 'Application' does not have +any field named 'm_webui'" +--- + src/app/application.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/app/application.cpp b/src/app/application.cpp +index 3b0d4d78de..b3221efa88 100644 +--- a/src/app/application.cpp ++++ b/src/app/application.cpp +@@ -105,7 +105,9 @@ Application::Application(const QString &id, int &argc, char **argv) + , m_running(false) + , m_shutdownAct(ShutdownDialogAction::Exit) + , m_commandLineArgs(parseCommandLine(this->arguments())) ++#ifndef DISABLE_WEBUI + , m_webui(nullptr) ++#endif + { + qRegisterMetaType<Log::Msg>("Log::Msg"); + diff --git a/net-p2p/qbittorrent/qbittorrent-4.0.1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.0.1.ebuild new file mode 100644 index 000000000000..a1573cc1deb3 --- /dev/null +++ b/net-p2p/qbittorrent/qbittorrent-4.0.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils xdg-utils + +DESCRIPTION="BitTorrent client in C++ and Qt" +HOMEPAGE="https://www.qbittorrent.org/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git" +else + MY_P=${P/_} + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc64 ~x86" + S=${WORKDIR}/${MY_P} +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+dbus debug webui +X" +REQUIRED_USE="dbus? ( X )" + +RDEPEND=" + >=dev-libs/boost-1.62.0-r1:= + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl] + >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt5,X?] + dev-qt/qtxml:5 + >=net-libs/libtorrent-rasterbar-1.0.6 + sys-libs/zlib + dbus? ( dev-qt/qtdbus:5 ) + X? ( + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + )" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig" + +DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) + +PATCHES=( "${FILESDIR}/${P}-nowebui.patch" ) + +src_configure() { + local mycmakeargs=( + -DSYSTEM_QTSINGLEAPPLICATION=ON + -DDBUS=$(usex dbus) + -DGUI=$(usex X) + -DWEBUI=$(usex webui) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |