upg ddcutil

This commit is contained in:
joborun linux 2024-01-28 12:47:47 +02:00
parent 85d1f61cf0
commit b65624cf75
2 changed files with 9 additions and 24 deletions

View file

@ -6,19 +6,15 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=ddcutil
pkgver=2.1.0
pkgrel=04
pkgver=2.1.2
pkgrel=01
pkgdesc='Query and change Linux monitor settings using DDC/CI and USB. w/o systemd'
url='http://ddcutil.com/'
depends=('glib2' 'i2c-tools' 'libusb' 'libdrm' 'kmod')
source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz
https://github.com/rockowitz/ddcutil/commit/7f157f62.patch
https://github.com/rockowitz/ddcutil/commit/8fd63cfd.patch)
source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../7f157f62.patch # Fix assert
patch -p1 -i ../8fd63cfd.patch # Fix another assert
NOCONFIGURE=1 ./autogen.sh
}
@ -40,13 +36,8 @@ arch=(x86_64)
license=('GPL2')
sha512sums=('d48f87427050caf8e38f6a4b0dd71c1639101762444a712d7a7d97302ebc0dc4fd7c4a5cb188b251c6a6a369b298a43dbc7d91e0eca8cdb6f51c1ae6ae7f1f4b'
'782e4205121a2e8ae84721f4ffdcc8c39e518531d11d79f2e4f0e08508614d488bccf0ce3985ec5231fe6ff625041dab56ed82c77ddca2c03645fd4c52486865'
'e377f7fafa6c52cb30a34021b4d73fc3f52d142071418785c34c7fa324ae9106dc601a0246d75dbb1372b390d8c10c43633603b5ede0555b50d300b59e7e23d2')
sha256sums=(911d3b712b485527a65def57538fbdb5e83779a0cd6e1e4746672d90b558680a) # ddcutil-2.1.2.tar.gz
sha256sums=(c0bf89fcff98c6c3755b328c6fc01617b860ef7e067174f589afa1da5bc4129b # ddcutil-2.1.0.tar.gz
215914fb1f5afbd99213bd22ea92884173dca3aa420b2a93b9a285fc096039e4 # 7f157f62.patch
1b94e33ae3536117f01f9eb805653468edcc610e4f27c661a9868364f4bdd4aa) # 8fd63cfd.patch
## 8936be5eb488f449aec2e0acf7da25d81f7c95e642e7e05ab12019e1cab5a185 ddcutil-2.1.2-01-x86_64.pkg.tar.lz
## c0390884ca305719e3e3ba2b502558ac9f7634737d92dbdd8fd4f88e6f33e832 ddcutil-2.1.0-04-x86_64.pkg.tar.lz

View file

@ -2,25 +2,19 @@
# Contributor: Deon Spengler <deon@spengler.co.za>
pkgname=ddcutil
pkgver=2.1.0
pkgrel=4
pkgver=2.1.2
pkgrel=1
pkgdesc='Query and change Linux monitor settings using DDC/CI and USB.'
url='http://ddcutil.com/'
arch=('x86_64')
license=('GPL2')
depends=('glib2' 'i2c-tools' 'libusb' 'libdrm' 'jansson')
makedepends=('systemd')
source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz
https://github.com/rockowitz/ddcutil/commit/7f157f62.patch
https://github.com/rockowitz/ddcutil/commit/8fd63cfd.patch)
sha512sums=('d48f87427050caf8e38f6a4b0dd71c1639101762444a712d7a7d97302ebc0dc4fd7c4a5cb188b251c6a6a369b298a43dbc7d91e0eca8cdb6f51c1ae6ae7f1f4b'
'782e4205121a2e8ae84721f4ffdcc8c39e518531d11d79f2e4f0e08508614d488bccf0ce3985ec5231fe6ff625041dab56ed82c77ddca2c03645fd4c52486865'
'e377f7fafa6c52cb30a34021b4d73fc3f52d142071418785c34c7fa324ae9106dc601a0246d75dbb1372b390d8c10c43633603b5ede0555b50d300b59e7e23d2')
source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha512sums=('ed57e0d3de7c0badc0dabd81624e6425c807fb62c8e0e88660f5bd94aba954ea0a7eb2bed47cfe1d14a5917e0ccd40ca26c2b9d76c2b4b8df57d17095db7c02f')
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../7f157f62.patch # Fix assert
patch -p1 -i ../8fd63cfd.patch # Fix another assert
NOCONFIGURE=1 ./autogen.sh
}