summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorskydrome2019-11-12 17:38:37 -0500
committerskydrome2019-11-12 17:38:37 -0500
commitae9e8b1eec4f2025fa83dbece4870b2f7aae54dd (patch)
tree4faa1882d3fac879705662aff44e1040be8cfb31
parent5a60d55c3278a946b691f089ff78acf4673d74d8 (diff)
downloadaur-ae9e8b1eec4f2025fa83dbece4870b2f7aae54dd.tar.gz
update
-rw-r--r--.SRCINFO41
-rw-r--r--PKGBUILD80
2 files changed, 40 insertions, 81 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14d964d3e3ae..a7dd3fe3d972 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Wed Jun 6 17:21:41 UTC 2018
pkgbase = rtorrent-pyro-git
pkgdesc = Ncurses BitTorrent client based on libTorrent - rTorrent-git with Pyroscope patches
- pkgver = 20180605
+ pkgver = 20191003
pkgrel = 1
url = https://github.com/pyroscope/rtorrent-ps
install = pyroscope.install
@@ -11,6 +9,7 @@ pkgbase = rtorrent-pyro-git
arch = armv7h
license = GPL2
makedepends = git
+ makedepends = clang
depends = libtorrent-pyro-git
depends = ncurses
depends = curl
@@ -21,35 +20,17 @@ pkgbase = rtorrent-pyro-git
conflicts = rtorrent-git
conflicts = rtorrent-ps
backup = usr/share/doc/rtorrent/rtorrent.rc.sample
- source = git://github.com/rakshasa/rtorrent.git#branch=feature-bind
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/command_pyroscope.cc
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ui_pyroscope.cc
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ui_pyroscope.h
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/backport_0.9.6_algorithm_median.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-event-view_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-import.return_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-info-pane-xb-sizes_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-item-stats-human-sizes_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-silent-catch_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-ui_pyroscope_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ps-view-filter-by_all.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/pyroscope.patch
- source = https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches/ui_pyroscope.patch
+ source = git://github.com/rakshasa/rtorrent.git#branch=master
+ source = https://github.com/skydrome/rtorrent/commit/c3697d3a82085194643e58e8ee06855e4d45a6dc.patch
+ source = https://raw.githubusercontent.com/chros73/rtorrent-ps-ch/master/patches/command_pyroscope.cc
+ source = https://raw.githubusercontent.com/chros73/rtorrent-ps-ch/master/patches/ui_pyroscope.cc
+ source = https://raw.githubusercontent.com/chros73/rtorrent-ps-ch/master/patches/ui_pyroscope.h
source = rtorrent.rc.sample
md5sums = SKIP
- md5sums = SKIP
- md5sums = SKIP
- md5sums = SKIP
- md5sums = b49903d3fa25a66c72db69570dfe8b47
- md5sums = 56701bca42cc9b309637bf3f918ede12
- md5sums = cc9bbf20acf855e551ca2f80cac91903
- md5sums = f1539d70c74e5c74d8a15d51675aa26c
- md5sums = 2d34e8c86c1c6ed1354b55ca21819886
- md5sums = e3f367abe42d28168008f99a9bf0f1d6
- md5sums = 7a88f8ab5d41242fdf1428de0e2ca182
- md5sums = 26faff00b306b6ef276a7d9e6d964994
- md5sums = bd04a0699b80c8042e1cf63a7e0e4222
- md5sums = 0a2bbaf74c7160ba33876dcc2f050f14
+ md5sums = 5d41e09f61e346a6c055e36c243f00b5
+ md5sums = d68073da455851d628b587b852b4b54a
+ md5sums = 5befaa2e705a550a6dcd7f397060df81
+ md5sums = 0e9791d796e2185279d7f109b064576b
md5sums = 35e2c69152a3c2137c5958f9f27cb906
pkgname = rtorrent-pyro-git
diff --git a/PKGBUILD b/PKGBUILD
index 908901cf5dd2..afd8a5b76144 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,17 +6,17 @@ _debug=n
# Compile from a specific commit?
_commit=HEAD
-_branch=feature-bind
+_branch=master
pkgname=rtorrent-pyro-git
-pkgver=20180605
+pkgver=20191003
pkgrel=1
pkgdesc="Ncurses BitTorrent client based on libTorrent - rTorrent-git with Pyroscope patches"
url="https://github.com/pyroscope/rtorrent-ps"
license=('GPL2')
arch=('i686' 'x86_64' 'armv7h')
depends=('libtorrent-pyro-git' 'ncurses' 'curl' 'xmlrpc-c')
-makedepends=('git')
+makedepends=('git' 'clang')
optdepends=('ttf-dejavu: for utf8 glyphs')
conflicts=('rtorrent' 'rtorrent-git' 'rtorrent-ps')
provides=('rtorrent')
@@ -32,61 +32,40 @@ backup=('usr/share/doc/rtorrent/rtorrent.rc.sample')
options=(!strip)
}
-_url="https://raw.githubusercontent.com/pyroscope/rtorrent-ps/master/patches"
+_url='https://raw.githubusercontent.com/chros73/rtorrent-ps-ch/master/patches'
source=("git://github.com/rakshasa/rtorrent.git#branch=$_branch"
- "${_url}/command_pyroscope.cc"
- "${_url}/ui_pyroscope.cc"
- "${_url}/ui_pyroscope.h"
- "${_url}/backport_0.9.6_algorithm_median.patch"
- "${_url}/ps-event-view_all.patch"
- "${_url}/ps-import.return_all.patch"
- "${_url}/ps-info-pane-xb-sizes_all.patch"
- "${_url}/ps-item-stats-human-sizes_all.patch"
- "${_url}/ps-silent-catch_all.patch"
- "${_url}/ps-ui_pyroscope_all.patch"
- "${_url}/ps-view-filter-by_all.patch"
- "${_url}/pyroscope.patch"
- "${_url}/ui_pyroscope.patch"
+ "https://github.com/skydrome/rtorrent/commit/c3697d3a82085194643e58e8ee06855e4d45a6dc.patch"
+ "$_url/command_pyroscope.cc"
+ "$_url/ui_pyroscope.cc"
+ "$_url/ui_pyroscope.h"
"rtorrent.rc.sample")
md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'b49903d3fa25a66c72db69570dfe8b47'
- '56701bca42cc9b309637bf3f918ede12'
- 'cc9bbf20acf855e551ca2f80cac91903'
- 'f1539d70c74e5c74d8a15d51675aa26c'
- '2d34e8c86c1c6ed1354b55ca21819886'
- 'e3f367abe42d28168008f99a9bf0f1d6'
- '7a88f8ab5d41242fdf1428de0e2ca182'
- '26faff00b306b6ef276a7d9e6d964994'
- 'bd04a0699b80c8042e1cf63a7e0e4222'
- '0a2bbaf74c7160ba33876dcc2f050f14'
+ '5d41e09f61e346a6c055e36c243f00b5'
+ 'd68073da455851d628b587b852b4b54a'
+ '5befaa2e705a550a6dcd7f397060df81'
+ '0e9791d796e2185279d7f109b064576b'
'35e2c69152a3c2137c5958f9f27cb906')
pkgver() {
- cd "$srcdir/rtorrent"
+ cd rtorrent
git log -1 --format="%cd" --date=short "$_commit" |tr -d -
}
prepare() {
- cd "$srcdir/rtorrent"
- #patch -Np1 -i "${startdir}/rtorrent.patch"
+ cd rtorrent
+ #patch -Np1 -i "$startdir/rtorrent.patch"
- sed -i ../{command_pyroscope.cc,ui_pyroscope.cc} \
- -e "s:tr1:std:" \
- -e "s:print_download_info:print_download_info_full:"
sed -i configure.ac \
- -e "s:\\(AC_DEFINE(HAVE_CONFIG_H.*\\):\1\nAC_DEFINE(RT_HEX_VERSION, 0x000907, version checks):"
+ -e "s:\\(AC_DEFINE(HAVE_CONFIG_H.*\\):\1\nAC_DEFINE(RT_HEX_VERSION, 0x000908, version checks):"
sed -i src/ui/download_list.cc \
- -e "s:rTorrent \" VERSION:rTorrent-PS git~$(git rev-parse --short $_commit) \" VERSION:"
+ -e "s:rTorrent \" VERSION:rTorrent-PS g$(git rev-parse --short $_commit) \" VERSION:"
- for i in ${srcdir}/*.patch; do
+ for i in $srcdir/*.patch; do
msg "Patching $(basename $i)"
- patch -uNlp1 -i "$i"
+ patch -uNp1 -i "$i"
done
- for i in ${srcdir}/*.{cc,h}; do
+ for i in $srcdir/*.{cc,h}; do
ln -sf "$i" src
done
@@ -94,10 +73,10 @@ prepare() {
}
build() {
- cd "$srcdir/rtorrent"
- #export CC=clang
- #export CXX=clang++ ;export CXXFLAGS+=" -Wno-unknown-warning-option"
- export CXXFLAGS+=" -fno-strict-aliasing -faligned-new -Wno-terminate -Wno-class-memaccess"
+ cd rtorrent
+ export CC=clang
+ export CXX=clang++
+ export CXXFLAGS+=" -Wno-exceptions"
export libtorrent_LIBS="-L/usr/lib -ltorrent"
./configure $_debug \
@@ -107,15 +86,14 @@ build() {
}
check() {
- cd "$srcdir/rtorrent"
- make check || return 0
+ make -C rtorrent check ||true
}
package() {
- cd "$srcdir/rtorrent"
+ cd rtorrent
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir"/rtorrent.rc.sample "${pkgdir}/usr/share/doc/rtorrent/rtorrent.rc.sample"
- install -Dm644 doc/faq.xml "${pkgdir}/usr/share/doc/rtorrent/faq.xml"
- install -Dm644 doc/old/rtorrent.1 "${pkgdir}/usr/share/man/man1/rtorrent.1"
+ install -Dm644 "$srcdir"/rtorrent.rc.sample "$pkgdir/usr/share/doc/rtorrent/rtorrent.rc.sample"
+ install -Dm644 doc/faq.xml "$pkgdir/usr/share/doc/rtorrent/faq.xml"
+ install -Dm644 doc/old/rtorrent.1 "$pkgdir/usr/share/man/man1/rtorrent.1"
}