[arch-commits] Commit in kernelshark/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Nov 6 01:05:10 UTC 2021
Date: Saturday, November 6, 2021 @ 01:05:09
Author: dvzrv
Revision: 1037385
archrelease: copy trunk to community-x86_64
Added:
kernelshark/repos/community-x86_64/PKGBUILD
(from rev 1037384, kernelshark/trunk/PKGBUILD)
Deleted:
kernelshark/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 42 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-06 01:04:51 UTC (rev 1037384)
+++ PKGBUILD 2021-11-06 01:05:09 UTC (rev 1037385)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=kernelshark
-pkgver=1.3
-pkgrel=1
-pkgdesc="GUI frontend for trace-cmd based Linux kernel Ftrace captures"
-arch=('x86_64')
-url="https://kernelshark.org/"
-license=('GPL2')
-depends=('freeglut' 'gcc-libs' 'glibc' 'glu' 'libglvnd' 'qt5-base' 'trace-cmd')
-makedepends=('cmake' 'json-c')
-provides=('libkshark.so' 'libkshark-plot.so' 'libkshark-gui.so')
-source=("https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/${pkgname}-v${pkgver}.tar.gz")
-sha512sums=('a1f646ef4f250af7fc285c042f364eca0cdd7e6aa7cde111d1428c33e5af58181e2308a543e111614163201c89112b67ffcf9f305e3d2d81cf4398efe8530c1d')
-b2sums=('62291ee9ff2eb0070414d4604703aa6ee1f9140b720d4f1df45f937d03222f92ab79b63b58f25b8fb7787572ac77f5ab0cf951f6b44a5b478cf97a3bd0f5f0fd')
-
-prepare() {
- mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- make prefix='/usr' V=1
- cd "kernel-shark"
- cmake -D_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE='None' \
- -Wno-dev \
- -B build \
- -S .
- make VERBOSE=1 -C build
-}
-
-package() {
- depends+=('libjson-c.so')
- cd "$pkgname-$pkgver"
- make DESTDIR="${pkgdir}" prefix='/usr' VERBOSE=1 -C kernel-shark/build install
-}
Copied: kernelshark/repos/community-x86_64/PKGBUILD (from rev 1037384, kernelshark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-06 01:05:09 UTC (rev 1037385)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=kernelshark
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="GUI frontend for trace-cmd based Linux kernel Ftrace captures"
+arch=('x86_64')
+url="https://kernelshark.org/"
+license=('GPL2')
+depends=(freeglut gcc-libs glibc glu libglvnd qt5-base)
+makedepends=(boost cmake json-c libtracefs libtraceevent trace-cmd ttf-fira-sans)
+provides=(libkshark.so libkshark-plot.so libkshark-gui.so)
+source=("${pkgname}-${pkgver}.tar.gz::https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/snapshot/kernel-shark-${pkgname}-v${pkgver}.tar.gz")
+sha512sums=('3e293dbc7802f1a9245f0b9081cfabb7845428239aafe8e552038b29c49d6693c970f1e49bf33ef87c23bb9e047b04f1014d3716cbd71859a1e12a54ff6a5ca5')
+b2sums=('09970743e6cc125c63f70a4967ad63db0f71b7006c1fb9e4152393f338638679a2d1655c2b1859bfd9ef317e2fb705aa85e1d087fa45baf058037bcf79cfa177')
+
+prepare() {
+ mv -v "kernel-shark-${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
+
+ # replace FreeSans with ttf-fira-sans
+ sed -e 's/FreeSans/FiraSans-Regular/g' \
+ -i CMakeLists.txt
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -D_INSTALL_PREFIX=/usr \
+ -D_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE='None' \
+ -Wno-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+}
+
+package() {
+ depends+=(libjson-c.so libtracefs.so libtracecmd.so libtraceevent.so)
+ cd "$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" prefix='/usr' VERBOSE=1 -C build install
+}
More information about the arch-commits
mailing list