Skip to content

Commit

Permalink
net-p2p/qbittorrent: sync live
Browse files Browse the repository at this point in the history
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
  • Loading branch information
eli-schwartz committed Jan 21, 2024
1 parent c3e3305 commit 0204be0
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions net-p2p/qbittorrent/qbittorrent-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

inherit cmake edo multibuild systemd xdg
inherit cmake edo multibuild systemd verify-sig xdg

DESCRIPTION="BitTorrent client in C++ and Qt"
HOMEPAGE="https://www.qbittorrent.org"
Expand All @@ -12,14 +12,19 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/qbittorrent/qBittorrent.git"
inherit git-r3
else
SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="
mirror://sourceforge/qbittorrent/${P}.tar.xz
verify-sig? ( mirror://sourceforge/qbittorrent/${P}.tar.xz.asc )
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
S="${WORKDIR}"/qBittorrent-release-${PV}

BDEPEND="verify-sig? ( sec-keys/openpgp-keys-qbittorrent )"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/qBittorrent.asc
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+dbus +gui qt6 test webui systemd"
IUSE="+dbus +gui qt6 systemd test webui"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( gui webui )
dbus? ( gui )
Expand All @@ -29,6 +34,13 @@ RDEPEND="
>=dev-libs/openssl-1.1.1:=
>=net-libs/libtorrent-rasterbar-1.2.19:=
>=sys-libs/zlib-1.2.11
qt6? ( >=dev-qt/qtbase-6.2:6[network,ssl,sql,sqlite,xml] )
!qt6? (
dev-qt/qtcore:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtsql:5[sqlite]
dev-qt/qtxml:5
)
gui? (
!qt6? (
dev-qt/qtgui:5
Expand All @@ -37,31 +49,24 @@ RDEPEND="
dbus? ( dev-qt/qtdbus:5 )
)
qt6? (
dev-qt/qtbase:6[dbus?,gui,widgets]
dev-qt/qtsvg:6
>=dev-qt/qtbase-6.2:6[dbus?,gui,widgets]
>=dev-qt/qtsvg-6.2:6
)
)
qt6? ( dev-qt/qtbase:6[network,ssl,sql,sqlite,xml(+)] )
!qt6? (
dev-qt/qtcore:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtsql:5[sqlite]
dev-qt/qtxml:5
)
webui? (
acct-group/qbittorrent
acct-user/qbittorrent
)
"
DEPEND="
${RDEPEND}
dev-libs/boost
>=dev-libs/boost-1.71
test? (
!qt6? ( dev-qt/qttest:5 )
)"
BDEPEND="
BDEPEND+="
!qt6? ( dev-qt/linguist-tools:5 )
qt6? ( dev-qt/qttools:6[linguist] )
qt6? ( >=dev-qt/qttools-6.2:6[linguist] )
virtual/pkgconfig"

DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md )
Expand All @@ -79,14 +84,10 @@ src_configure() {
local mycmakeargs=(
# musl lacks execinfo.h
-DSTACKTRACE=$(usex !elibc_musl)

# More verbose build logs are preferable for bug reports
-DVERBOSE_CONFIGURE=ON

-DQT6=$(usex qt6)

-DWEBUI=$(usex webui)

-DTESTING=$(usex test)
)

Expand Down

0 comments on commit 0204be0

Please sign in to comment.