pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Dec 16 18:03:21 UTC 2019

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/qbittorrent: DESCR Makefile PLIST distinfo
        pkgsrc/net/qbittorrent/patches: patch-src_base_utils_fs.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1279 -r1.1280 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/qbittorrent/DESCR \
    pkgsrc/net/qbittorrent/Makefile pkgsrc/net/qbittorrent/PLIST \
    pkgsrc/net/qbittorrent/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1279 pkgsrc/net/Makefile:1.1280
--- pkgsrc/net/Makefile:1.1279  Mon Dec 16 18:00:51 2019
+++ pkgsrc/net/Makefile Mon Dec 16 18:03:20 2019
@@ -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-zeep
 SUBDIR+=       py-zmq
 SUBDIR+=       pygopherd
 SUBDIR+=       qadsl
+SUBDIR+=       qbittorrent
 SUBDIR+=       quagga
 SUBDIR+=       queryperf
 SUBDIR+=       quvi

Added files:

Index: pkgsrc/net/qbittorrent/DESCR
diff -u /dev/null pkgsrc/net/qbittorrent/DESCR:1.1
--- /dev/null   Mon Dec 16 18:03:21 2019
+++ pkgsrc/net/qbittorrent/DESCR        Mon Dec 16 18:03:20 2019
@@ -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.
Index: pkgsrc/net/qbittorrent/Makefile
diff -u /dev/null pkgsrc/net/qbittorrent/Makefile:1.1
--- /dev/null   Mon Dec 16 18:03:21 2019
+++ pkgsrc/net/qbittorrent/Makefile     Mon Dec 16 18:03:20 2019
@@ -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"
Index: pkgsrc/net/qbittorrent/PLIST
diff -u /dev/null pkgsrc/net/qbittorrent/PLIST:1.1
--- /dev/null   Mon Dec 16 18:03:21 2019
+++ pkgsrc/net/qbittorrent/PLIST        Mon Dec 16 18:03:20 2019
@@ -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
Index: pkgsrc/net/qbittorrent/distinfo
diff -u /dev/null pkgsrc/net/qbittorrent/distinfo:1.1
--- /dev/null   Mon Dec 16 18:03:21 2019
+++ pkgsrc/net/qbittorrent/distinfo     Mon Dec 16 18:03:20 2019
@@ -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

Index: pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp
diff -u /dev/null pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp:1.1
--- /dev/null   Mon Dec 16 18:03:21 2019
+++ pkgsrc/net/qbittorrent/patches/patch-src_base_utils_fs.cpp  Mon Dec 16 18:03:20 2019
@@ -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