Skip to content

Commit

Permalink
net-p2p/qbittorrent-enhanced: add 5.0.0.10
Browse files Browse the repository at this point in the history
Signed-off-by: irort <[email protected]>
  • Loading branch information
irort authored and peeweep committed Oct 30, 2024
1 parent fdc5efd commit a5982b4
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-p2p/qbittorrent-enhanced/Manifest
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 net-p2p/qbittorrent-enhanced/qbittorrent-enhanced-5.0.0.10.ebuild
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
}

0 comments on commit a5982b4

Please sign in to comment.