Date: Monday, May 9, 2016 @ 09:45:40 Author: arojas Revision: 174410 archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added: qbittorrent/repos/community-staging-i686/ qbittorrent/repos/community-staging-i686/PKGBUILD (from rev 174409, qbittorrent/trunk/PKGBUILD) qbittorrent/repos/community-staging-i686/qbittorrent-gcc6.patch (from rev 174409, qbittorrent/trunk/qbittorrent-gcc6.patch) qbittorrent/repos/community-staging-i686/qbittorrent.service (from rev 174409, qbittorrent/trunk/qbittorrent.service) qbittorrent/repos/community-staging-i686/qbittorrent@.service (from rev 174409, qbittorrent/trunk/qbittorrent@.service) qbittorrent/repos/community-staging-x86_64/ qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 174409, qbittorrent/trunk/PKGBUILD) qbittorrent/repos/community-staging-x86_64/qbittorrent-gcc6.patch (from rev 174409, qbittorrent/trunk/qbittorrent-gcc6.patch) qbittorrent/repos/community-staging-x86_64/qbittorrent.service (from rev 174409, qbittorrent/trunk/qbittorrent.service) qbittorrent/repos/community-staging-x86_64/qbittorrent@.service (from rev 174409, qbittorrent/trunk/qbittorrent@.service) -------------------------------------------------+ community-staging-i686/PKGBUILD | 69 ++++++++++++++++++++++ community-staging-i686/qbittorrent-gcc6.patch | 14 ++++ community-staging-i686/qbittorrent.service | 11 +++ community-staging-i686/qbittorrent@.service | 12 +++ community-staging-x86_64/PKGBUILD | 69 ++++++++++++++++++++++ community-staging-x86_64/qbittorrent-gcc6.patch | 14 ++++ community-staging-x86_64/qbittorrent.service | 11 +++ community-staging-x86_64/qbittorrent@.service | 12 +++ 8 files changed, 212 insertions(+) Copied: qbittorrent/repos/community-staging-i686/PKGBUILD (from rev 174409, qbittorrent/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG +# Contributor: Jkkyll Wu <adaptee at gmail [dot] com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Geoffroy Carrier <geoffroy.carr...@koon.fr> + +pkgbase=qbittorrent +pkgname=(qbittorrent qbittorrent-nox) +pkgver=3.3.4 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.qbittorrent.org" +license=('custom' 'GPL') +makedepends=('libtorrent-rasterbar' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'boost' 'qt5-tools') +source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.xz" + 'qbittorrent.service' + 'qbittorrent@.service' 'qbittorrent-gcc6.patch') +sha256sums=('c0d0d4b72c240f113b59a061146803bc1b7926d3d7f39b06b50a4d26f5ad91b8' + '8c5879673c66368ada97f6d70a1d8fe3b6a4995f79aab4fc6bf54fbdcbe811d0' + '12dfd06104eaf302b79328c8096248c051208f69348e33f7fb2e4a2fb49caa29' + '27180ec398d510bf077907c0df8c831fd49431c1908a71f8d16fac5e410c817c') + +prepare() { + cd $pkgbase-$pkgver + # Fix build with GCC 6 (Fedora) + patch -p1 -i ../qbittorrent-gcc6.patch + ./bootstrap.sh +} + +build() { + cd $pkgbase-$pkgver + + mkdir $pkgbase + pushd $pkgbase + ../configure --prefix=/usr + make + + # Build nox variant + popd + mkdir "$pkgbase-nox" + pushd "$pkgbase-nox" + ../configure --prefix=/usr --disable-gui +} + +package_qbittorrent() { + pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar." + depends=('libtorrent-rasterbar' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils') + optdepends=('python: needed for torrent search tab') + + cd $pkgbase-$pkgver/$pkgbase + + make INSTALL_ROOT="$pkgdir/" install + install -Dm644 "$srcdir/$pkgbase-$pkgver/COPYING" "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +package_qbittorrent-nox() { + pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar, w/o gui" + depends=('libtorrent-rasterbar' 'qt5-base') + + cd $pkgbase-$pkgver/$pkgbase-nox + + make INSTALL_ROOT="$pkgdir/" install + install -Dm644 "$srcdir/$pkgbase-$pkgver/COPYING" "$pkgdir"/usr/share/licenses/$pkgname/COPYING + + install -Dm755 "$srcdir/qbittorrent.service" "$pkgdir/usr/lib/systemd/user/qbittorrent.service" + install -Dm755 "$srcdir/qbittorrent@.service" "$pkgdir/usr/lib/systemd/system/qbittorrent@.service" +} Copied: qbittorrent/repos/community-staging-i686/qbittorrent-gcc6.patch (from rev 174409, qbittorrent/trunk/qbittorrent-gcc6.patch) =================================================================== --- community-staging-i686/qbittorrent-gcc6.patch (rev 0) +++ community-staging-i686/qbittorrent-gcc6.patch 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,14 @@ +diff -up qBittorrent-release-3.3.3/configure.ac.gcc6 qBittorrent-release-3.3.3/configure.ac +--- qBittorrent-release-3.3.3/configure.ac.gcc6 2016-01-20 16:49:39.000000000 -0600 ++++ qBittorrent-release-3.3.3/configure.ac 2016-03-13 07:45:03.512293512 -0500 +@@ -157,8 +157,8 @@ AX_BOOST_BASE([1.35]) + AS_IF([test "x$BOOST_CPPFLAGS" = "x"], + [AC_MSG_ERROR([Could not find Boost])], + [AC_MSG_NOTICE([Boost CPPFLGAS: $BOOST_CPPFLAGS]) +- CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" +- LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"]) ++ #CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" ++ #LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"]) + + AX_BOOST_SYSTEM() + # HAVE_BOOST_SYSTEM is set to an empty value when Boost.System is found. Copied: qbittorrent/repos/community-staging-i686/qbittorrent.service (from rev 174409, qbittorrent/trunk/qbittorrent.service) =================================================================== --- community-staging-i686/qbittorrent.service (rev 0) +++ community-staging-i686/qbittorrent.service 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,11 @@ +[Unit] +Description=qbittorrent-nox Daemon +Documentation=https://github.com/qbittorrent/qBittorrent/wiki +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080 + +[Install] +WantedBy=default.target Copied: qbittorrent/repos/community-staging-i686/qbittorrent@.service (from rev 174409, qbittorrent/trunk/qbittorrent@.service) =================================================================== --- community-staging-i686/qbittorrent@.service (rev 0) +++ community-staging-i686/qbittorrent@.service 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,12 @@ +[Unit] +Description=qbittorrent-nox Daemon +Documentation=https://github.com/qbittorrent/qBittorrent/wiki +After=network.target + +[Service] +User=%i +Type=forking +ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080 + +[Install] +WantedBy=multi-user.target Copied: qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 174409, qbittorrent/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG +# Contributor: Jkkyll Wu <adaptee at gmail [dot] com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Geoffroy Carrier <geoffroy.carr...@koon.fr> + +pkgbase=qbittorrent +pkgname=(qbittorrent qbittorrent-nox) +pkgver=3.3.4 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://www.qbittorrent.org" +license=('custom' 'GPL') +makedepends=('libtorrent-rasterbar' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'boost' 'qt5-tools') +source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.xz" + 'qbittorrent.service' + 'qbittorrent@.service' 'qbittorrent-gcc6.patch') +sha256sums=('c0d0d4b72c240f113b59a061146803bc1b7926d3d7f39b06b50a4d26f5ad91b8' + '8c5879673c66368ada97f6d70a1d8fe3b6a4995f79aab4fc6bf54fbdcbe811d0' + '12dfd06104eaf302b79328c8096248c051208f69348e33f7fb2e4a2fb49caa29' + '27180ec398d510bf077907c0df8c831fd49431c1908a71f8d16fac5e410c817c') + +prepare() { + cd $pkgbase-$pkgver + # Fix build with GCC 6 (Fedora) + patch -p1 -i ../qbittorrent-gcc6.patch + ./bootstrap.sh +} + +build() { + cd $pkgbase-$pkgver + + mkdir $pkgbase + pushd $pkgbase + ../configure --prefix=/usr + make + + # Build nox variant + popd + mkdir "$pkgbase-nox" + pushd "$pkgbase-nox" + ../configure --prefix=/usr --disable-gui +} + +package_qbittorrent() { + pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar." + depends=('libtorrent-rasterbar' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils') + optdepends=('python: needed for torrent search tab') + + cd $pkgbase-$pkgver/$pkgbase + + make INSTALL_ROOT="$pkgdir/" install + install -Dm644 "$srcdir/$pkgbase-$pkgver/COPYING" "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +package_qbittorrent-nox() { + pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar, w/o gui" + depends=('libtorrent-rasterbar' 'qt5-base') + + cd $pkgbase-$pkgver/$pkgbase-nox + + make INSTALL_ROOT="$pkgdir/" install + install -Dm644 "$srcdir/$pkgbase-$pkgver/COPYING" "$pkgdir"/usr/share/licenses/$pkgname/COPYING + + install -Dm755 "$srcdir/qbittorrent.service" "$pkgdir/usr/lib/systemd/user/qbittorrent.service" + install -Dm755 "$srcdir/qbittorrent@.service" "$pkgdir/usr/lib/systemd/system/qbittorrent@.service" +} Copied: qbittorrent/repos/community-staging-x86_64/qbittorrent-gcc6.patch (from rev 174409, qbittorrent/trunk/qbittorrent-gcc6.patch) =================================================================== --- community-staging-x86_64/qbittorrent-gcc6.patch (rev 0) +++ community-staging-x86_64/qbittorrent-gcc6.patch 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,14 @@ +diff -up qBittorrent-release-3.3.3/configure.ac.gcc6 qBittorrent-release-3.3.3/configure.ac +--- qBittorrent-release-3.3.3/configure.ac.gcc6 2016-01-20 16:49:39.000000000 -0600 ++++ qBittorrent-release-3.3.3/configure.ac 2016-03-13 07:45:03.512293512 -0500 +@@ -157,8 +157,8 @@ AX_BOOST_BASE([1.35]) + AS_IF([test "x$BOOST_CPPFLAGS" = "x"], + [AC_MSG_ERROR([Could not find Boost])], + [AC_MSG_NOTICE([Boost CPPFLGAS: $BOOST_CPPFLAGS]) +- CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" +- LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"]) ++ #CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" ++ #LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"]) + + AX_BOOST_SYSTEM() + # HAVE_BOOST_SYSTEM is set to an empty value when Boost.System is found. Copied: qbittorrent/repos/community-staging-x86_64/qbittorrent.service (from rev 174409, qbittorrent/trunk/qbittorrent.service) =================================================================== --- community-staging-x86_64/qbittorrent.service (rev 0) +++ community-staging-x86_64/qbittorrent.service 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,11 @@ +[Unit] +Description=qbittorrent-nox Daemon +Documentation=https://github.com/qbittorrent/qBittorrent/wiki +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080 + +[Install] +WantedBy=default.target Copied: qbittorrent/repos/community-staging-x86_64/qbittorrent@.service (from rev 174409, qbittorrent/trunk/qbittorrent@.service) =================================================================== --- community-staging-x86_64/qbittorrent@.service (rev 0) +++ community-staging-x86_64/qbittorrent@.service 2016-05-09 07:45:40 UTC (rev 174410) @@ -0,0 +1,12 @@ +[Unit] +Description=qbittorrent-nox Daemon +Documentation=https://github.com/qbittorrent/qBittorrent/wiki +After=network.target + +[Service] +User=%i +Type=forking +ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080 + +[Install] +WantedBy=multi-user.target