From 6425992cb01af44d5553de2950f981b6c71ff7ed Mon Sep 17 00:00:00 2001 From: bill-auger Date: Oct 26 2023 23:30:49 +0000 Subject: [tp_smapi][tp_smapi-lts]: upgrade to v0.44 --- diff --git a/libre/tp_smapi-lts/PKGBUILD b/libre/tp_smapi-lts/PKGBUILD index 234ae40..c426652 100644 --- a/libre/tp_smapi-lts/PKGBUILD +++ b/libre/tp_smapi-lts/PKGBUILD @@ -9,6 +9,13 @@ # Contributor: André Silva # Contributor: Márcio Silva # Maintainer: Omar Vega Ramos +# Contributor: bill-auger + + +# parabola changes and rationale: +# - re-package for linux-libre +# - build from versioned source-ball rather than VCS +# - pin to kernel versions # build order: @@ -28,28 +35,23 @@ _basekernel=5.15.88 -pkgname=tp_smapi-lts -pkgver=0.43 -pkgrel=207 +pkgname=tp_smapi +pkgver=0.44 +pkgrel=15 pkgrel+=.parabola1.basekernel${_basekernel} pkgdesc="Modules for ThinkPad's SMAPI functionality" -pkgdesc+=" (for linux-libre-lts)" +pkgdesc+=" (for 'linux-libre-lts')" arch=('x86_64') arch+=('i686') url='https://github.com/evgeni/tp_smapi' -license=('GPL') -makedepends=(linux-libre-lts-headers=${_basekernel} 'git' libelf) -_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43 -source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit") -sha256sums=('SKIP') +license=(GPL) +makedepends=(linux-libre-lts-headers=${_basekernel}) +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/linux-thinkpad/${pkgname}/archive/refs/tags/${pkgname/_/-}/${pkgver}.tar.gz) +sha256sums=('ccc317157c71df621ef92e0213c3a813de4a792fa1dce16a1784944edfcb9ea4') -pkgver() { - cd tp_smapi - git describe --tags | sed 's/^tp-smapi\///;s/-/+/g' -} build() { - cd tp_smapi + cd ${pkgname}-${pkgname/_/-}-${pkgver} # https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_): # Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules @@ -61,12 +63,10 @@ package() { depends=(linux-libre-lts=${_basekernel}) local extradir=/usr/lib/modules/$( # Contributor: Márcio Silva # Maintainer: Omar Vega Ramos +# Contributor: bill-auger + + +# parabola changes and rationale: +# - re-package for linux-libre +# - build from versioned source-ball rather than VCS +# - pin to kernel versions # build order: @@ -26,30 +33,25 @@ # update '_basekernel', and commit the changes to VCS, if successful. -_basekernel=6.1.5 +_basekernel=6.5.8 pkgname=tp_smapi -pkgver=0.43 -pkgrel=364 +pkgver=0.44 +pkgrel=15 pkgrel+=.parabola1.basekernel${_basekernel} pkgdesc="Modules for ThinkPad's SMAPI functionality" -pkgdesc+=" (for linux-libre)" +pkgdesc+=" (for 'linux-libre')" arch=('x86_64') arch+=('i686') url='https://github.com/evgeni/tp_smapi' -license=('GPL') -makedepends=(linux-libre-headers=${_basekernel} git libelf) -_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43 -source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit") -sha256sums=('SKIP') +license=(GPL) +makedepends=(linux-libre-headers=${_basekernel}) +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/linux-thinkpad/${pkgname}/archive/refs/tags/${pkgname/_/-}/${pkgver}.tar.gz) +sha256sums=('ccc317157c71df621ef92e0213c3a813de4a792fa1dce16a1784944edfcb9ea4') -pkgver() { - cd $pkgname - git describe --tags | sed 's/^tp-smapi\///;s/-/+/g' -} build() { - cd $pkgname + cd ${pkgname}-${pkgname/_/-}-${pkgver} # https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_): # Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules @@ -61,7 +63,7 @@ package() { depends=(linux-libre=${_basekernel}) local extradir=/usr/lib/modules/$(