[arch-commits] Commit in qbittorrent/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 18 04:56:32 UTC 2018


    Date: Tuesday, September 18, 2018 @ 04:56:32
  Author: foutrelis
Revision: 382919

archrelease: copy trunk to community-staging-x86_64

Added:
  qbittorrent/repos/community-staging-x86_64/
  qbittorrent/repos/community-staging-x86_64/PKGBUILD
    (from rev 382918, qbittorrent/trunk/PKGBUILD)
  qbittorrent/repos/community-staging-x86_64/qbittorrent at .service
    (from rev 382918, qbittorrent/trunk/qbittorrent at .service)

----------------------+
 PKGBUILD             |   67 +++++++++++++++++++++++++++++++++++++++++++++++++
 qbittorrent at .service |   12 ++++++++
 2 files changed, 79 insertions(+)

Copied: qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 382918, qbittorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-09-18 04:56:32 UTC (rev 382919)
@@ -0,0 +1,67 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at 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 <ghost1227 at archlinux.us>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+
+pkgbase=qbittorrent
+pkgname=(qbittorrent qbittorrent-nox)
+pkgver=4.1.2
+pkgrel=2
+arch=('x86_64')
+url="https://www.qbittorrent.org"
+license=('custom' 'GPL')
+makedepends=('boost' 'libtorrent-rasterbar' 'qt5-tools' 'qt5-svg')
+source=("https://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.xz"{,.asc}
+        "https://github.com/qbittorrent/qBittorrent/commit/acdf9061fe5539c75604d2b7919cc434b2cebb02.patch")
+sha256sums=('e0165bd427820c64bce596ef952d80058ea8cd7294d3c84bc723d79cd9e2f9c7'
+            'SKIP'
+            'cb6f1dc7844ae7b8adb36d0f9bcac30c42751bd2b6c3020fc60d914bb9e71d88')
+validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') # sledgehammer999 <sledgehammer999 at qbittorrent.org>
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+
+  # https://github.com/qbittorrent/qBittorrent/pull/9318
+  patch -p1 -i ../acdf9061fe5539c75604d2b7919cc434b2cebb02.patch
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  mkdir -p ${pkgbase}
+  pushd ${pkgbase}
+  ../configure --prefix=/usr
+  make
+  popd
+
+  # Build nox variant
+  mkdir -p "${pkgbase}-nox"
+  pushd "${pkgbase}-nox"
+  ../configure --prefix=/usr --disable-gui --enable-systemd
+  make
+}
+
+package_qbittorrent() {
+  pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar."
+  depends=('libtorrent-rasterbar' 'qt5-svg' 'hicolor-icon-theme')
+  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
+}

Copied: qbittorrent/repos/community-staging-x86_64/qbittorrent at .service (from rev 382918, qbittorrent/trunk/qbittorrent at .service)
===================================================================
--- community-staging-x86_64/qbittorrent at .service	                        (rev 0)
+++ community-staging-x86_64/qbittorrent at .service	2018-09-18 04:56:32 UTC (rev 382919)
@@ -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



More information about the arch-commits mailing list