Merge pull request #1891 from pullmoll/qbittorrent

New package: qbittorrent-3.2.0
This commit is contained in:
Jürgen Buchmüller 2015-06-23 19:12:18 +02:00
commit b3cd81b954
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,30 @@
--- src/app/main.cpp 2015-05-10 03:31:33.000000000 +0200
+++ src/app/main.cpp 2015-06-23 02:03:55.384011534 +0200
@@ -53,7 +53,9 @@
#ifdef Q_OS_UNIX
#include <signal.h>
+#if defined(__GLIBC__)
#include <execinfo.h>
#include "stacktrace.h"
+#endif
#endif // Q_OS_UNIX
@@ -300,7 +302,7 @@
{
signal(SIGABRT, 0);
signal(SIGSEGV, 0);
-#if !defined Q_OS_WIN && !defined Q_OS_HAIKU
+#if !defined Q_OS_WIN && !defined Q_OS_HAIKU && defined __GLIBC__
std::cerr << "\n\n*************************************************************\n";
std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
std::cerr << "qBittorrent version: " << VERSION << std::endl;
@@ -319,7 +321,7 @@
{
signal(SIGABRT, 0);
signal(SIGSEGV, 0);
-#if !defined Q_OS_WIN && !defined Q_OS_HAIKU
+#if !defined Q_OS_WIN && !defined Q_OS_HAIKU && defined __GLIBC__
std::cerr << "\n\n*************************************************************\n";
std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
std::cerr << "qBittorrent version: " << VERSION << std::endl;

View file

@ -0,0 +1,27 @@
# Template file for 'qbittorrent'
pkgname=qbittorrent
version=3.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-systemd --with-qt5 $(vopt_eanble gui) $(vopt_enable webui)"
hostmakedepends="automake libtool pkg-config"
makedepends="boost-devel libtorrent1-devel
qt5-declarative-devel qt5-devel qt5-tools-devel qt5-qmake"
short_desc="Free software alternative to µtorrent"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum="51781cb121ebeda041fb348e649c4bd97888ee8c1d18328bc547d447b960d1b3"
build_options="gui webui"
desc_option_gui="Enable the graphical user interface"
desc_option_webui="Enable the web user interface"
build_options_default="gui"
pre_configure() {
cd ${wrksrc}
qmake
}
do_install() {
make INSTALL_ROOT="${DESTDIR}" install
}