community/linux-tools to 4.7-2

This commit is contained in:
Kevin Mihelich 2016-09-27 00:13:05 +00:00
parent f7c4df5bce
commit 36c79896bb

View file

@ -27,7 +27,7 @@ makedepends=('git')
# kernel source deps # kernel source deps
makedepends+=('asciidoc' 'xmlto') makedepends+=('asciidoc' 'xmlto')
# perf deps # perf deps
makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind' 'audit' 'gtk2') makedepends+=('perl' 'python2' 'slang' 'elfutils' 'libunwind' 'numactl' 'audit' 'gtk2')
# cpupower deps # cpupower deps
makedepends+=('pciutils') makedepends+=('pciutils')
# usbip deps # usbip deps
@ -36,6 +36,7 @@ makedepends+=('glib2' 'sysfsutils' 'udev')
makedepends+=('ncurses') makedepends+=('ncurses')
groups=("$pkgbase") groups=("$pkgbase")
source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz" source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz"
'https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.7.5.xz'
'cpupower.default' 'cpupower.default'
'cpupower.systemd' 'cpupower.systemd'
'cpupower.service' 'cpupower.service'
@ -44,6 +45,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz"
'02-archlinux-paths.patch' '02-archlinux-paths.patch'
'04-fix-usip-h-path.patch') '04-fix-usip-h-path.patch')
md5sums=('SKIP' md5sums=('SKIP'
'c5f3473be15411f7b02f36b7f52cc9d1'
'56883c159381ba89e50ab8ea65efec77' '56883c159381ba89e50ab8ea65efec77'
'34f5ecc19770a1abbcd0fd65bfd1f065' '34f5ecc19770a1abbcd0fd65bfd1f065'
'86c4e419e4ba80835c330d49ba3f56ad' '86c4e419e4ba80835c330d49ba3f56ad'
@ -55,7 +57,7 @@ md5sums=('SKIP'
prepare() { prepare() {
cd linux-$pkgver cd linux-$pkgver
# apply stable kernel patch # apply stable kernel patch
#xz -kcd "$srcdir"/patch-4.7.1.xz | patch -p1 -N patch -p1 -N -i "$srcdir"/patch-4.7.5
# apply patch from the source array (should be a pacman feature) # apply patch from the source array (should be a pacman feature)
local filename local filename
for filename in "${source[@]}"; do for filename in "${source[@]}"; do
@ -136,7 +138,7 @@ package_libtraceevent() {
package_perf() { package_perf() {
pkgdesc='Linux kernel performance auditing tool' pkgdesc='Linux kernel performance auditing tool'
depends=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind' 'binutils' depends=('perl' 'python2' 'slang' 'elfutils' 'libunwind' 'binutils'
'audit') 'audit')
optdepends=('gtk2: support GTK2 browser for perf report') optdepends=('gtk2: support GTK2 browser for perf report')