* update ddcutil to 2.1.4-2
This commit is contained in:
parent
f445872d5d
commit
ac24eec2cc
22
ddcutil/.SRCINFO
Normal file
22
ddcutil/.SRCINFO
Normal file
@ -0,0 +1,22 @@
|
||||
pkgbase = ddcutil
|
||||
pkgdesc = Query and change Linux monitor settings using DDC/CI and USB.
|
||||
pkgver = 2.1.4
|
||||
pkgrel = 2
|
||||
url = http://ddcutil.com/
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = GPL2
|
||||
makedepends = git
|
||||
makedepends = systemd
|
||||
depends = glib2
|
||||
depends = i2c-tools
|
||||
depends = libusb
|
||||
depends = libdrm
|
||||
depends = jansson
|
||||
source = git+https://github.com/rockowitz/ddcutil.git#tag=v2.1.4
|
||||
sha512sums = 42cbfa968c40ed36746db592b3cb6225292e5f39c6ca5697b25cde10cf5b40296a0d4ede25370d6b3e4ab80d93bcd3bde425ad4cc0a4fdb28a32c08a4ae52d3c
|
||||
|
||||
pkgname = ddcutil
|
4
ddcutil/.nvchecker.toml
Normal file
4
ddcutil/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[ddcutil]
|
||||
source = "git"
|
||||
git = "https://github.com/rockowitz/ddcutil.git"
|
||||
prefix = "v"
|
@ -4,29 +4,32 @@
|
||||
|
||||
pkgname=ddcutil
|
||||
pkgver=2.1.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Query and change Linux monitor settings using DDC/CI and USB.'
|
||||
url='http://ddcutil.com/'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=('GPL2')
|
||||
depends=('glib2' 'i2c-tools' 'libusb' 'libdrm' 'jansson')
|
||||
makedepends=('systemd')
|
||||
source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('8c352bfacc2a5cdd22b8d84f2facd58de6d425d0d3f98de543cf36a3e6b15aa10fc86e87780c82f872f0bf0db984e1cc800aaff914bafe4dbf17602e2a7caeb0')
|
||||
makedepends=('git' 'systemd')
|
||||
source=(git+https://github.com/rockowitz/ddcutil.git#tag=v$pkgver)
|
||||
sha512sums=('42cbfa968c40ed36746db592b3cb6225292e5f39c6ca5697b25cde10cf5b40296a0d4ede25370d6b3e4ab80d93bcd3bde425ad4cc0a4fdb28a32c08a4ae52d3c')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
cd ddcutil
|
||||
# do not install data/usr/lib/udev/rules.d/60-ddcutil-usb.rules
|
||||
git cherry-pick -n 093802343bb5963cc4b3084ecd79c5b86392e360
|
||||
git cherry-pick -n 5a3b257f783a14e1da80ed8e0101060e93027d0d
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd ddcutil
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd ddcutil
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user