Hyacinthe Cartiaux pushed to branch main at Arch Linux / Packaging / Packages / 
powertop


Commits:
41245248 by Hyacinthe Cartiaux at 2026-08-20T00:49:30+02:00
upgpkg: 2.16-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- powertop.changelog


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,20 +1,22 @@
 pkgbase = powertop
        pkgdesc = A tool to diagnose issues with power consumption and power 
management
-       pkgver = 2.15
-       pkgrel = 2
+       pkgver = 2.16
+       pkgrel = 1
        url = https://github.com/fenrus75/powertop/
        changelog = powertop.changelog
        arch = x86_64
        license = GPL-2.0-only
-       makedepends = autoconf-archive
-       makedepends = patch
+       makedepends = meson
+       makedepends = ninja
        depends = libgcc
        depends = libstdc++
        depends = libnl
        depends = ncurses
+       depends = libtracefs
+       depends = libtraceevent
        depends = pciutils
        optdepends = xorg-xset: for the --calibrate function
-       source = 
powertop-2.15.tar.gz::https://github.com/fenrus75/powertop/archive/v2.15.tar.gz
-       sha256sums = 
e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49
+       source = 
powertop-2.16.tar.gz::https://github.com/fenrus75/powertop/archive/v2.16.tar.gz
+       sha256sums = 
cf37e565b958a64f1e3086daeab82d7959566a372d01d40d3904cbca95cdf3d2
 
 pkgname = powertop


=====================================
PKGBUILD
=====================================
@@ -1,10 +1,11 @@
 # Maintainer: Jaroslav Lichtblau <[email protected]>
+# Maintainer: Hyacinthe Cartiaux <[email protected]>
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 # Contributor: Xilon <[email protected]>
 
 pkgname=powertop
-pkgver=2.15
-pkgrel=2
+pkgver=2.16
+pkgrel=1
 pkgdesc='A tool to diagnose issues with power consumption and power management'
 arch=('x86_64')
 url='https://github.com/fenrus75/powertop/'
@@ -14,24 +15,37 @@ depends=(
   'libstdc++'
   'libnl'
   'ncurses'
+  'libtracefs'
+  'libtraceevent'
   'pciutils'
 )
-makedepends=('autoconf-archive' 'patch')
-optdepends=('xorg-xset: for the --calibrate function')
-changelog=$pkgname.changelog
-source=($pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/archive/v$pkgver.tar.gz)
-sha256sums=('e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49')
+makedepends=(
+  'meson'
+  'ninja'
+)
+optdepends=(
+  'xorg-xset: for the --calibrate function'
+)
+changelog="${pkgname}.changelog"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fenrus75/powertop/archive/v${pkgver}.tar.gz";)
+sha256sums=('cf37e565b958a64f1e3086daeab82d7959566a372d01d40d3904cbca95cdf3d2')
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  meson setup -Denable-tests=true build_test
+  ninja -C build_test test
+}
 
 build() {
-  cd "${srcdir}"/$pkgname-$pkgver
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  ./autogen.sh
-  ./configure --prefix=/usr --sbindir=/usr/bin
-  make
+  meson setup build --prefix=/usr
+  ninja -C build
 }
 
 package() {
-  cd "${srcdir}"/$pkgname-$pkgver
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja -C build install
 }


=====================================
powertop.changelog
=====================================
@@ -1,3 +1,9 @@
+2026-08-20 Hyacinthe Cartiaux <[email protected]>
+  * powertop 2.16-1
+
+2024-07-13 T.J. Townsend <[email protected]>
+  * powertop 2.15-2
+
 2022-09-29 Jaroslav Lichtblau <[email protected]>
        * powertop 2.15-1
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/powertop/-/commit/412452482a370cc6bc67f7f3721e64b9a2746676

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/powertop/-/commit/412452482a370cc6bc67f7f3721e64b9a2746676
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to