pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net net: Add qbittorrent.
details: https://anonhg.NetBSD.org/pkgsrc/rev/738441e4b7a3
branches: trunk
changeset: 345741:738441e4b7a3
user: nia <nia%pkgsrc.org@localhost>
date: Mon Dec 16 18:03:20 2019 +0000
description:
net: Add qbittorrent.
qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent
The qBittorrent project aims to provide an open-source software alternative
to uTorrent.
diffstat:
net/Makefile | 3 +-
net/qbittorrent/DESCR | 4 ++
net/qbittorrent/Makefile | 33 +++++++++++++++++++
net/qbittorrent/PLIST | 30 ++++++++++++++++++
net/qbittorrent/distinfo | 7 ++++
net/qbittorrent/patches/patch-src_base_utils_fs.cpp | 35 +++++++++++++++++++++
6 files changed, 111 insertions(+), 1 deletions(-)
diffs (146 lines):
diff -r 8dc9b2076b21 -r 738441e4b7a3 net/Makefile
--- a/net/Makefile Mon Dec 16 18:01:15 2019 +0000
+++ b/net/Makefile Mon Dec 16 18:03:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1279 2019/12/16 18:00:51 nia Exp $
+# $NetBSD: Makefile,v 1.1280 2019/12/16 18:03:20 nia Exp $
#
COMMENT= Networking tools
@@ -737,6 +737,7 @@
SUBDIR+= py-zmq
SUBDIR+= pygopherd
SUBDIR+= qadsl
+SUBDIR+= qbittorrent
SUBDIR+= quagga
SUBDIR+= queryperf
SUBDIR+= quvi
diff -r 8dc9b2076b21 -r 738441e4b7a3 net/qbittorrent/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/qbittorrent/DESCR Mon Dec 16 18:03:20 2019 +0000
@@ -0,0 +1,4 @@
+qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent
+
+The qBittorrent project aims to provide an open-source software alternative
+to uTorrent.
diff -r 8dc9b2076b21 -r 738441e4b7a3 net/qbittorrent/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/qbittorrent/Makefile Mon Dec 16 18:03:20 2019 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2019/12/16 18:03:20 nia Exp $
+
+DISTNAME= qbittorrent-4.2.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=qbittorrent/}
+GITHUB_PROJECT= qBittorrent
+GITHUB_TAG= release-${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.qbittorrent.org/
+COMMENT= BitTorrent client in Qt
+LICENSE= gnu-gpl-v2
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+# C++11
+GCC_REQD+= 4.7
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+
+LDFLAGS.NetBSD+= -ljemalloc
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../net/libtorrent-rasterbar/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8dc9b2076b21 -r 738441e4b7a3 net/qbittorrent/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/qbittorrent/PLIST Mon Dec 16 18:03:20 2019 +0000
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/16 18:03:20 nia Exp $
+bin/qbittorrent
+man/man1/qbittorrent.1
+share/applications/org.qbittorrent.qBittorrent.desktop
+share/icons/hicolor/128x128/apps/qbittorrent.png
+share/icons/hicolor/128x128/status/qbittorrent-tray.png
+share/icons/hicolor/16x16/apps/qbittorrent.png
+share/icons/hicolor/16x16/status/qbittorrent-tray.png
+share/icons/hicolor/192x192/apps/qbittorrent.png
+share/icons/hicolor/192x192/status/qbittorrent-tray.png
+share/icons/hicolor/22x22/apps/qbittorrent.png
+share/icons/hicolor/22x22/status/qbittorrent-tray.png
+share/icons/hicolor/24x24/apps/qbittorrent.png
+share/icons/hicolor/24x24/status/qbittorrent-tray.png
+share/icons/hicolor/32x32/apps/qbittorrent.png
+share/icons/hicolor/32x32/status/qbittorrent-tray.png
+share/icons/hicolor/36x36/apps/qbittorrent.png
+share/icons/hicolor/36x36/status/qbittorrent-tray.png
+share/icons/hicolor/48x48/apps/qbittorrent.png
+share/icons/hicolor/48x48/status/qbittorrent-tray.png
+share/icons/hicolor/64x64/apps/qbittorrent.png
+share/icons/hicolor/64x64/status/qbittorrent-tray.png
+share/icons/hicolor/72x72/apps/qbittorrent.png
+share/icons/hicolor/72x72/status/qbittorrent-tray.png
+share/icons/hicolor/96x96/apps/qbittorrent.png
+share/icons/hicolor/96x96/status/qbittorrent-tray.png
+share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg
+share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg
+share/icons/hicolor/scalable/status/qbittorrent-tray.svg
+share/metainfo/org.qbittorrent.qBittorrent.appdata.xml
diff -r 8dc9b2076b21 -r 738441e4b7a3 net/qbittorrent/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/qbittorrent/distinfo Mon Dec 16 18:03:20 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/12/16 18:03:20 nia Exp $
+
+SHA1 (qbittorrent-4.2.0.tar.gz) = 1d96d55bd898674fd1daa8f9b0769c60c21cdd38
+RMD160 (qbittorrent-4.2.0.tar.gz) = c493f70ace613eb6506dd119c5fe5bd98861cb62
+SHA512 (qbittorrent-4.2.0.tar.gz) = 507e548ea7b5ee25e412bdca6751e3e1b65130f16bbb2c92bd8f80cb86d824bfdcdf40ec49af6a8e111a36d7970430e8b9a6e29a6af1165563c9cb16c4bc2741
+Size (qbittorrent-4.2.0.tar.gz) = 7797615 bytes
+SHA1 (patch-src_base_utils_fs.cpp) = 88355e2698f5298c597f2240e853238831eb7994
diff -r 8dc9b2076b21 -r 738441e4b7a3 net/qbittorrent/patches/patch-src_base_utils_fs.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/qbittorrent/patches/patch-src_base_utils_fs.cpp Mon Dec 16 18:03:20 2019 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-src_base_utils_fs.cpp,v 1.1 2019/12/16 18:03:20 nia Exp $
+
+Support NetBSD.
+
+--- src/base/utils/fs.cpp.orig 2019-12-02 23:19:18.000000000 +0000
++++ src/base/utils/fs.cpp
+@@ -39,7 +39,7 @@
+
+ #if defined(Q_OS_WIN)
+ #include <Windows.h>
+-#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
++#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+ #include <sys/param.h>
+ #include <sys/mount.h>
+ #elif defined(Q_OS_HAIKU)
+@@ -49,6 +49,10 @@
+ #include <unistd.h>
+ #endif
+
++#if defined(Q_OS_NETBSD)
++#define statfs statvfs
++#endif
++
+ #include <QDebug>
+ #include <QDir>
+ #include <QDirIterator>
+@@ -321,7 +325,7 @@ bool Utils::Fs::isNetworkFileSystem(cons
+ return false;
+
+ return (::GetDriveTypeW(volumePath.get()) == DRIVE_REMOTE);
+-#elif defined(Q_OS_MACOS) || defined(Q_OS_OPENBSD)
++#elif defined(Q_OS_MACOS) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+ QString file = path;
+ if (!file.endsWith('/'))
+ file += '/';
Home |
Main Index |
Thread Index |
Old Index