1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="qBittorrent Enhanced, based on qBittorrent"
9 HOMEPAGE
="https://github.com/c0re100/qBittorrent-Enhanced-Edition"
11 if [[ ${PV} == *9999 ]]; then
13 EGIT_REPO_URI
="https://github.com/c0re100/qBittorrent-Enhanced-Edition.git"
15 SRC_URI
="https://github.com/c0re100/qBittorrent-Enhanced-Edition/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
17 S
="${WORKDIR}/qBittorrent-Enhanced-Edition-release-${PV}"
22 IUSE
="+dbus debug webui +X"
23 REQUIRED_USE
="dbus? ( X )"
26 >=dev-libs/boost-1.62.0-r1:=
28 dev-qt/qtnetwork:5[ssl]
31 >=net-libs/libtorrent-rasterbar-1.2.0:0=
33 dbus? ( dev-qt/qtdbus:5 )
42 dev-qt/linguist-tools:5"
44 BDEPEND
="virtual/pkgconfig"
46 DOCS
=( AUTHORS Changelog CONTRIBUTING.md README.md TODO
)
50 $
(use_enable dbus qt-dbus
) \
57 emake STRIP
="/bin/false" INSTALL_ROOT
="${D}" install
63 xdg_desktop_database_update
68 xdg_desktop_database_update