summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-08-13 04:50:01 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-08-13 04:50:01 +0300
commitae59c197d08a5022189dbb716cb3da8d9df02f70 (patch)
treeebb35c8dac2b73aa3b36e0e0f8ca2f11b734c641 /net-p2p
parentnet-p2p/qbittorrent: version bump (v4.1.2) (diff)
downloadgentoo-ae59c197d08a5022189dbb716cb3da8d9df02f70.tar.gz
gentoo-ae59c197d08a5022189dbb716cb3da8d9df02f70.tar.bz2
gentoo-ae59c197d08a5022189dbb716cb3da8d9df02f70.zip
net-p2p/qbittorrent: update live ebuild
- alternate homepage - switch to autotools Closes: https://bugs.gentoo.org/661648 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/qbittorrent/qbittorrent-9999.ebuild28
1 files changed, 16 insertions, 12 deletions
diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index 6453f2dac227..29f1eb91e254 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -3,19 +3,19 @@
EAPI=6
-inherit cmake-utils gnome2-utils xdg-utils
+inherit gnome2-utils xdg-utils
DESCRIPTION="BitTorrent client in C++ and Qt"
-HOMEPAGE="https://www.qbittorrent.org/"
+HOMEPAGE="https://www.qbittorrent.org/
+ https://github.com/qbittorrent"
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"
+ SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
- S=${WORKDIR}/${MY_P}
+ S="${WORKDIR}/qBittorrent-release-${PV}"
fi
LICENSE="GPL-2"
@@ -33,6 +33,7 @@ RDEPEND="
sys-libs/zlib
dbus? ( dev-qt/qtdbus:5 )
X? (
+ dev-libs/geoip
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
@@ -47,13 +48,16 @@ DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
# may be changed again.
src_configure() {
- local mycmakeargs=(
- -DSYSTEM_QTSINGLEAPPLICATION=ON
- -DDBUS=$(usex dbus)
- -DGUI=$(usex X)
- -DWEBUI=$(usex webui)
- )
- cmake-utils_src_configure
+ econf --with-qtsingleapplication=system \
+ $(use_enable dbus qt-dbus) \
+ $(use_enable debug) \
+ $(use_enable webui) \
+ $(use_enable X gui)
+}
+
+src_install() {
+ emake STRIP="/bin/false" INSTALL_ROOT="${D}" install
+ einstalldocs
}
pkg_postinst() {