trace-cmd: update to 2.8.1.

This commit is contained in:
Leah Neukirchen 2019-07-07 18:04:52 +02:00
parent bd54be8a24
commit 78b293adef
1 changed files with 14 additions and 9 deletions

View File

@ -1,22 +1,23 @@
# Template file for 'trace-cmd'
pkgname=trace-cmd
version=2.7
revision=2
version=2.8.1
revision=1
wrksrc="${pkgname}-v${version}"
build_style=gnu-makefile
make_build_args="all gui doc"
make_build_args="prefix=/usr all gui doc"
make_install_args="prefix=/usr install install_gui install_doc"
hostmakedepends="git asciidoc pkg-config"
makedepends="gtk+-devel libxml2-devel"
make_use_env=1
hostmakedepends="git asciidoc pkg-config cmake"
makedepends="json-c-devel libfreeglut-devel libxml2-devel qt5-devel"
short_desc="Tools to use ftrace Linux kernel internal tracer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later, LGPL-2.1-only"
homepage="http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/"
distfiles="http://git.kernel.org/cgit/linux/kernel/git/rostedt/${pkgname}.git/snapshot/${pkgname}-v${version}.tar.gz"
checksum=5c3b03c701d124c36b127fd73909725e673105df0d39048a7b78ddf209ea15fb
checksum=a3017369fa8c3222ed4fc71ae3377dfd8482b790e057ad22a4d76db52be1a225
post_extract() {
sed -i '1i#include <limits.h>' trace-listen.c
sed -i '1i#include <limits.h>' tracecmd/trace-listen.c
}
post_install() {
@ -29,9 +30,13 @@ kernelshark_package() {
short_desc="GUI for ftrace Linux kernel internal tracer"
pkg_install() {
vmove usr/bin/kernelshark
vmove usr/bin/trace-graph
vmove usr/bin/trace-view
vmove usr/bin/kshark-record
vmove usr/bin/kshark-su-record
vmove usr/lib/kernelshark
vmove usr/share/man/man1/kernelshark.1
vmove usr/share/kernelshark/html
vmove usr/share/applications/kernelshark.desktop
vmove usr/share/icons/kernelshark/ksharkicon.png
vmove usr/share/polkit-1/actions/org.freedesktop.kshark-record.policy
}
}