You are not logged in.

#1 2015-05-19 00:05:25

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

qbittorrent build with qt5 support

I don't like to use *-git packages because I'm never sure what version I'm running or whether it may need to be updated. I tend to try to keep my AUR built packages to a minimum for the same reason. So I made a couple of adjustments to the PKBUILD in abs (didn't need to make changes in the qbittorrent.install) and built a 3.2.0 version of qbittorrent with qt5. It starts up fine and looks fantastic on my KDE/Plasma5 desktop. Qt5 handles qjson now, so it's not needed in this. I have no intentions of maintaining this adjusted PKBUILD, so I'll put it out here and let everyone else pick at it when needed, ie- when qbittorrent updates. I strongly recommend that you add qbittorrent to your ignorepkg in pacman.conf.

# $Id: PKGBUILD 133379 2015-05-13 14:47:34Z foutrelis $
# Maintainer: Timothy Redaelli <timothy.redaelli@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@archlinux.us>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=qbittorrent
pkgver=3.2.0
pkgrel=1
pkgdesc="A bittorrent client written in C++ / Qt5 using the good libtorrent library"
arch=('i686' 'x86_64')
url="http://www.qbittorrent.org"
license=('custom' 'GPL')
depends=depends=('qt5-base' 'libtorrent-rasterbar')
makedepends=('boost')
optdepends=('python: needed for torrent search tab')
install=$pkgname.install
source=("http://downloads.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.xz")
sha256sums=('51781cb121ebeda041fb348e649c4bd97888ee8c1d18328bc547d447b960d1b3')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-qt5
  make
}

package() {
  cd $pkgname-$pkgver

  make INSTALL_ROOT="$pkgdir/" install
  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

Offline

Board footer

Powered by FluxBB