net-p2p/qbittorrent-enhanced:A bittorrent client powered by C++, Qt5 and the good libtorrent library (Enhanced Edition) (#917)

Signed-off-by: Yachen Wang <OriPoin@outlook.com>
This commit is contained in:
Yachen authored and GitHub committed 2021-05-24 19:18:36 +08:00
1 parent 7b9cbec09f
commit a9cf3c85fa
4 files changed
+154

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
DIST qbittorrent-enhanced-4.3.1.11.tar.gz 7848843 SHA512 d6dffb15b0f90f1a6cdff1484afa40e97e818fe6b9dda319cb06ad5a3a1d5c3a21ece3fb1ab2e7de9677e17821e4ca7d61b50eed81893a6ef67aeb4d98598d73
DIST qbittorrent-enhanced-4.3.5.10.tar.gz 8141872 SHA512 d100d9b0a7cc4e58807f2e19c5d84472b86d2c0cf17b77c5a0715660af6390f5e4d4c17809bb5606af0a3ee406f75c3cf276dec9bd4deabbeb18b8f3d6287b66
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>OriPoin@outlook.com</email>
<name>Yachen Wang</name>
<use>
<flag name="webui">Enable the Web UI</flag>
</use>
<upstream>
<remote-id type="github">c0re100/qBittorrent-Enhanced-Edition</remote-id>
</upstream>
</maintainer>
</pkgmetadata>
@@ -0,0 +1,69 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg-utils
DESCRIPTION="A bittorrent client powered by C++, Qt5 and the good libtorrent library (Enhanced Edition)"
HOMEPAGE="https://github.com/c0re100/qBittorrent-Enhanced-Edition"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/c0re100/qBittorrent-Enhanced-Edition.git"
else
SRC_URI="https://github.com/c0re100/qBittorrent-Enhanced-Edition/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64"
S="${WORKDIR}/qBittorrent-Enhanced-Edition-release-${PV}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+dbus debug webui +X"
REQUIRED_USE="dbus? ( X )"
RDEPEND="
>=dev-libs/boost-1.62.0-r1:=
dev-qt/qtcore:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtxml:5
dev-qt/qtsql:5
>=net-libs/libtorrent-rasterbar-1.2.0:0=
sys-libs/zlib
dbus? ( dev-qt/qtdbus:5 )
X? (
dev-libs/geoip
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
)
!net-p2p/qbittorrent"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
src_configure() {
econf \
$(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() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}
@@ -0,0 +1,69 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg-utils
DESCRIPTION="A bittorrent client powered by C++, Qt5 and the good libtorrent library (Enhanced Edition)"
HOMEPAGE="https://github.com/c0re100/qBittorrent-Enhanced-Edition"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/c0re100/qBittorrent-Enhanced-Edition.git"
else
SRC_URI="https://github.com/c0re100/qBittorrent-Enhanced-Edition/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/qBittorrent-Enhanced-Edition-release-${PV}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+dbus debug webui +X"
REQUIRED_USE="dbus? ( X )"
RDEPEND="
>=dev-libs/boost-1.62.0-r1:=
dev-qt/qtcore:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtxml:5
dev-qt/qtsql:5
>=net-libs/libtorrent-rasterbar-1.2.12:0=
sys-libs/zlib
dbus? ( dev-qt/qtdbus:5 )
X? (
dev-libs/geoip
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
)
!net-p2p/qbittorrent"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
src_configure() {
econf \
$(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() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}