forked from microcai/gentoo-zh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-p2p/qbittorrent-enhanced: add 5.0.0.10
Signed-off-by: irort <[email protected]>
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST qbittorrent-enhanced-4.6.7.10.tar.gz 9122681 BLAKE2B 99fe6986748d3ae5de2d44da4e646b87350725d38e454600c68922fb3df7b51f3a859d95253f2e7e3d2d23daca5e9ea0ac7f2594b86c320724e8f1f1f96b57ea SHA512 da9c195bd75c01ad4646b2b9ccc73c6ab2cc82d441f7d0d68f5d70072addae29cdaa29987e1f1a4d0d64ef677e1caed666fdb08006ac27949fcafebdaac4477e | ||
DIST qbittorrent-enhanced-5.0.0.10.tar.gz 9259352 BLAKE2B 557e9dcfc222d8fcaf3ed23614f625b6b8e701f1b7bedc549d70cd49665b5f5107ce536cae51fd7bd92bbe5f7de22d4e226d371a791bf39e31fa5e8ac0e45d3e SHA512 7dcb09f53a9f777a5f519e9316a8ec83c4088e814db8928878ed5478980621fcf9bca6d81df9d6bc5852a9dafb9980974bbdc3b868cff0b72536e8100a927a95 |
73 changes: 73 additions & 0 deletions
73
net-p2p/qbittorrent-enhanced/qbittorrent-enhanced-5.0.0.10.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Copyright 2022-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
CMAKE_IN_SOURCE_BUILD=ON | ||
|
||
inherit cmake systemd xdg | ||
|
||
DESCRIPTION="qBittorrent Enhanced, based on qBittorrent" | ||
HOMEPAGE="https://github.com/c0re100/qBittorrent-Enhanced-Edition" | ||
|
||
SRC_URI="https://github.com/c0re100/qBittorrent-Enhanced-Edition/archive/release-${PV}.tar.gz -> ${P}.tar.gz" | ||
S="${WORKDIR}/qBittorrent-Enhanced-Edition-release-${PV}" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="+dbus webui +gui" | ||
|
||
REQUIRED_USE="dbus? ( gui ) | ||
|| ( gui webui ) | ||
" | ||
|
||
RDEPEND=" | ||
>=dev-libs/boost-1.65.0-r1:= | ||
dev-libs/openssl:= | ||
net-libs/libtorrent-rasterbar | ||
sys-libs/zlib | ||
dev-libs/geoip | ||
dev-qt/qtbase:6[network,ssl,sql,xml] | ||
gui? ( | ||
dev-qt/qtbase:6[gui,widgets] | ||
dev-qt/qtsvg:6 | ||
) | ||
dbus? ( dev-qt/qtbase:6[dbus] ) | ||
" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND="dev-qt/qttools:6 | ||
virtual/pkgconfig" | ||
|
||
DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md) | ||
|
||
PATCHES=( | ||
"${FILESDIR}/4.5-fix-compile-error-when-disable-webui.patch" | ||
) | ||
|
||
src_configure() { | ||
set enable_gui="OFF" | ||
if use gui ; then | ||
enable_gui="ON" | ||
fi | ||
|
||
local mycmakeargs=( | ||
-DDBUS=$(usex dbus) | ||
-DWEBUI=$(usex webui) | ||
-DGUI=$(usex gui ) | ||
|
||
-DSYSTEMD=ON | ||
-DSYSTEMD_SERVICES_INSTALL_DIR=$(systemd_get_systemunitdir) | ||
|
||
-DVERBOSE_CONFIGURE=ON | ||
|
||
) | ||
cmake_src_configure | ||
} | ||
|
||
src_install() { | ||
cmake_src_install | ||
einstalldocs | ||
} |