Hello, This patch updates intel phc to that latest version. -- Kind Regards, Wael Karram.
From 0d170cfe1e148257b37d88622395dc3ef4b46497 Mon Sep 17 00:00:00 2001 From: wael <[email protected]> Date: Fri, 5 Dec 2025 12:29:19 +0200 Subject: [PATCH] Update phc intel
--- pcr/phc-intel-dkms/PKGBUILD | 105 ++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/pcr/phc-intel-dkms/PKGBUILD b/pcr/phc-intel-dkms/PKGBUILD index c2c777e46..8acd4d954 100644 --- a/pcr/phc-intel-dkms/PKGBUILD +++ b/pcr/phc-intel-dkms/PKGBUILD @@ -1,65 +1,68 @@ -# Contributor: adrien1018 <adrien.sf.wu[at]gmail[dot]com> -# Contributor: fs4000 <matthias_dienstbier[at]yahoo[dot]de> -# Contributor: trapanator <trap[at]trapanator[dot]com> -# Contributor: tomprogrammer <Thomas-Bahn[at]gmx[dot]net> -# Maintainer: Wael Karram <[email protected]> +# Maintainer (aur): Roshless <[email protected]> +# Maintainer: Iván Ãvalos <[email protected]> +# Contributor: bill-auger <[email protected]> +# Contributor: Wael Karram <[email protected]> # parabola changes and rationale: -# - use VCS tag instead of arbitrary commit -# - use upstream revision as $pkgver - upstream version is hyper-stable +# - define the 'url' as the actual project website, rather than its forge +# - delete vendored libs - use system libs instead -pkgname=phc-intel-dkms -_upstream_name=phc-intel -_upstream_ver=0.3.2 -_upstream_rev=rev54 # use tag revNN (see https://gitlab.com/linux-phc/phc-intel/-/tags) -pkgver=$_upstream_ver.$_upstream_rev +pkgname=lagrange pkgrel=1 -pkgdesc="Frequency driver for Intel CPUs with undervolting feature" -pkgdesc+=", (for Core/Core2 systems)" -url="https://gitlab.com/linux-phc/phc-intel" -arch=('x86_64' 'i686') # could be 'any'; but avoid publishing to non-x86 repos -license=('GPL') -depends=('dkms') -replaces=('phc-intel') -backup=('etc/default/phc-intel') -source=("https://gitlab.com/linux-phc/phc-intel/-/archive/$_upstream_rev/$_upstream_name-$_upstream_rev.tar.gz" - dkms.conf.in - phc-intel.default - phc-intel.sh - phc-intel.sleep - phc-intel.system-sleep) +pkgver=1.19.4 +pkgdesc="Beautiful Gemini Client" +url="https://gmi.skyjake.fi/lagrange/" +arch=('x86_64' 'i686' 'aarch64' 'armv7h') +license=("BSD-2-Clause") +source=("https://git.skyjake.fi/gemini/$pkgname/archive/v$pkgver.tar.gz") +sha256sums=('11b79854d9c3fb8c300aa632f64348f6eb948305a14c222f4e7dde4b47f9c392') -sha256sums=('7e519ff5cafee4c1cd42542a932f3bc07ab1d301d05c94d7e2a55654a0c6c715' - '2a5a6df46556687125f2082bff2f98c5941ebe98928c491458348c1174622e04' - 'ce08a5a4107be1d5723f1f169d515e67b6c77893f3994fc2d0d2ccf611307ed3' - 'b526f3e8e66f6495531f13f2e6867d3a07b2ec7a7c3b8aa061f22be1cd6e770f' - '569b85988cb38380fec85c25688b76abc24a46601aa8f58eb24eaebf863eebef' - '2e17c90d7bfae8f5070e46388e95d443188eaa7beb5ffdd418a0da090f2e7557') +depends=( + "fribidi" + "harfbuzz" + "hicolor-icon-theme" + "libunistring" + "openssl" + "pcre" + "sdl2" + "zlib" + "mpg123" +) +makedepends=( + "cmake" + "zip" +) +optdepends=( + "libwebp: Webp decode support" + "libjxl: JPEG XL image decoding" +) -prepare() -{ - # inject version into dkms.conf - sed "s|@VERSION@|$pkgver|" dkms.conf.in > dkms.conf - cd $_upstream_name-$_upstream_rev +prepare() { + ls "$srcdir"/$pkgname/ + cd "$srcdir"/$pkgname/ - # initialize upon load? - # TODO: what does this do? - sed -i 's|/sbin/modprobe phc-intel |&\&\& /usr/bin/phc-intel set |' phc-intel.modprobe + # delete vendored libs - use system libs instead + rm -rf lib/fribidi/ + rm -rf lib/harfbuzz/ } -package() -{ - umask 022 - install -Dm644 dkms.conf "$pkgdir/usr/src/phc-intel-$_upstream_ver/dkms.conf" - install -Dm644 phc-intel.default "$pkgdir/etc/default/phc-intel" - install -Dm755 phc-intel.sh "$pkgdir/usr/bin/phc-intel" - install -Dm755 phc-intel.sleep "$pkgdir/usr/lib/pm-utils/sleep.d/00phc-intel" - install -Dm755 phc-intel.system-sleep "$pkgdir/usr/lib/systemd/system-sleep/phc-intel" +build() { + cmake -B build -S "$pkgname" \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DENABLE_KERNING=OFF \ + -DTFDN_ENABLE_WARN_ERROR=OFF \ + -DENABLE_FRIBIDI_BUILD=OFF \ + -DENABLE_HARFBUZZ_MINIMAL=OFF \ + -Wno-dev + make -C build +} + +package() { + install -Dm644 $pkgname-$pkgver/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - cd $_upstream_name-$_upstream_rev - install -Dm644 phc-intel.modprobe "$pkgdir/usr/lib/modprobe.d/phc-intel.conf" - cp -R inc Makefile "$pkgdir/usr/src/phc-intel-$_upstream_ver/" + cd build + make DESTDIR="$pkgdir" install } -- 2.52.0
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
