[arch-commits] Commit in sysprof/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Sun Mar 27 16:53:53 UTC 2022
Date: Sunday, March 27, 2022 @ 16:53:53
Author: heftig
Revision: 440722
archrelease: copy trunk to extra-x86_64
Added:
sysprof/repos/extra-x86_64/PKGBUILD
(from rev 440720, sysprof/trunk/PKGBUILD)
Deleted:
sysprof/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 155 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 78 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-27 16:53:52 UTC (rev 440721)
+++ PKGBUILD 2022-03-27 16:53:53 UTC (rev 440722)
@@ -1,77 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
-# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
-# Contributor: aeolist <aeolist at hotmail.com>
-# Contributor: Gabriel Rauter <rauter.gabriel at gmail.com>
-
-pkgbase=sysprof
-pkgname=(sysprof libsysprof-capture)
-pkgver=3.42.1
-pkgrel=3
-pkgdesc="Kernel based performance profiler"
-url="https://wiki.gnome.org/Apps/Sysprof"
-license=(GPL)
-arch=(x86_64)
-depends=(gtk3 polkit libdazzle)
-makedepends=(yelp-tools git meson)
-_commit=2903f08d02c86e520b07c0df5dcafc18bb8ef059 # tags/3.42.1^0
-source=("git+https://gitlab.gnome.org/GNOME/sysprof.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd sysprof
- git describe --tags | sed 's/^sysprof-//;s/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
- cd sysprof
-}
-
-build() {
- # Ensure static library is non-LTO compatible
- CFLAGS+=" -ffat-lto-objects"
-
- arch-meson sysprof build
- meson compile -C build
-}
-
-check() {
- meson test -C build --print-errorlogs
-}
-
-_pick() {
- local p="$1" f d; shift
- for f; do
- d="$srcdir/$p/${f#$pkgdir/}"
- mkdir -p "$(dirname "$d")"
- mv "$f" "$d"
- rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
- done
-}
-
-package_sysprof() {
- depends+=(libsysprof-capture)
- groups=(gnome-extra)
-
- meson install -C build --destdir "$pkgdir"
-
- cd "$pkgdir"
-
- _pick capture usr/lib/libsysprof-capture-*
- _pick capture usr/lib/pkgconfig/sysprof-capture-*
- _pick capture usr/include/sysprof-*/sysprof-{address,capture,clock,collector,macros}.h
- _pick capture usr/include/sysprof-*/sysprof-{platform,version,version-macros}.h
- _pick capture usr/include/sysprof-*/sysprof-capture-{condition,cursor,reader,types,writer}.h
-}
-
-package_libsysprof-capture() {
- pkgdesc+=" - capture library"
- depends=()
- license=(BSD)
-
- mv capture/* "$pkgdir"
-
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 \
- sysprof/src/libsysprof-capture/COPYING
-}
Copied: sysprof/repos/extra-x86_64/PKGBUILD (from rev 440720, sysprof/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-27 16:53:53 UTC (rev 440722)
@@ -0,0 +1,78 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
+# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
+# Contributor: aeolist <aeolist at hotmail.com>
+# Contributor: Gabriel Rauter <rauter.gabriel at gmail.com>
+
+pkgbase=sysprof
+pkgname=(sysprof libsysprof-capture)
+pkgver=3.44.0
+pkgrel=1
+pkgdesc="Kernel based performance profiler"
+url="https://wiki.gnome.org/Apps/Sysprof"
+license=(GPL)
+arch=(x86_64)
+depends=(gtk3 polkit libdazzle)
+makedepends=(yelp-tools git meson)
+options=(debug)
+_commit=7d44e2db75941e5eef0c67fae3c0ce0cbd176dc6 # tags/3.44.0^0
+source=("git+https://gitlab.gnome.org/GNOME/sysprof.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd sysprof
+ git describe --tags | sed 's/^sysprof-//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd sysprof
+}
+
+build() {
+ # Ensure static library is non-LTO compatible
+ CFLAGS+=" -ffat-lto-objects"
+
+ arch-meson sysprof build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+_pick() {
+ local p="$1" f d; shift
+ for f; do
+ d="$srcdir/$p/${f#$pkgdir/}"
+ mkdir -p "$(dirname "$d")"
+ mv "$f" "$d"
+ rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+ done
+}
+
+package_sysprof() {
+ depends+=(libsysprof-capture)
+ groups=(gnome-extra)
+
+ meson install -C build --destdir "$pkgdir"
+
+ cd "$pkgdir"
+
+ _pick capture usr/lib/libsysprof-capture-*
+ _pick capture usr/lib/pkgconfig/sysprof-capture-*
+ _pick capture usr/include/sysprof-*/sysprof-{address,capture,clock,collector,macros}.h
+ _pick capture usr/include/sysprof-*/sysprof-{platform,version,version-macros}.h
+ _pick capture usr/include/sysprof-*/sysprof-capture-{condition,cursor,reader,types,writer}.h
+}
+
+package_libsysprof-capture() {
+ pkgdesc+=" - capture library"
+ depends=()
+ license=(BSD)
+
+ mv capture/* "$pkgdir"
+
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 \
+ sysprof/src/libsysprof-capture/COPYING
+}
More information about the arch-commits
mailing list