From d12318c8e378ad91511852873fd2886d8c2c3e04 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 26 Feb 2019 14:30:22 -0300 Subject: [PATCH] usbtop: update to 1.0. --- srcpkgs/usbtop/patches/boost-1.69.patch | 10 ---------- srcpkgs/usbtop/template | 15 ++++----------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/usbtop/patches/boost-1.69.patch diff --git a/srcpkgs/usbtop/patches/boost-1.69.patch b/srcpkgs/usbtop/patches/boost-1.69.patch deleted file mode 100644 index 5fa81132d3..0000000000 --- a/srcpkgs/usbtop/patches/boost-1.69.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- include/usbtop/usb_stats.h 2017-12-17 22:14:26.000000000 +0100 -+++ - 2018-12-18 10:36:55.003948685 +0100 -@@ -35,6 +35,7 @@ - #include - - #include -+#include - #include - - #define LIVE_SAMPLE_COUNT 128 diff --git a/srcpkgs/usbtop/template b/srcpkgs/usbtop/template index 77ff2feda4..b73293d46c 100644 --- a/srcpkgs/usbtop/template +++ b/srcpkgs/usbtop/template @@ -1,26 +1,19 @@ # Template file for 'usbtop' pkgname=usbtop -version=0.2 -revision=3 +version=1.0 +revision=1 wrksrc="usbtop-release-${version}" build_style=cmake makedepends="boost-devel libpcap-devel" short_desc="Shows an estimated instantaneous bandwidth on USB buses and devices" maintainer="Orphaned " -homepage="https://github.com/aguinet/usbtop" license="BSD-3-Clause" +homepage="https://github.com/aguinet/usbtop" distfiles="https://github.com/aguinet/usbtop/archive/release-${version}.tar.gz" -checksum=6283454ccbfecab44276344b6bc1bf74e86808fb9f539ca63eb0447d7741487e +checksum=eea7f2fbdcaacbf1097f62f9e4fb50ffd238cec3085b67d384ab0a419274e1da LDFLAGS="-lpthread" -pre_configure() { - case "$XBPS_TARGET_MACHINE" in - *-musl);; - *) sed -i -e 's/\${Boost_LIBRARIES}/${Boost_LIBRARIES} "-lpthread"/g' src/CMakeLists.txt;; - esac -} - do_install() { vbin build/src/usbtop vdoc README.md