* update redshift to 1.12-12

This commit is contained in:
Alexander Baldeck 2024-08-15 16:22:23 +02:00
parent 74a6a6214c
commit fa8013b3d2
3 changed files with 33 additions and 1 deletions

25
redshift/.SRCINFO Normal file
View File

@ -0,0 +1,25 @@
pkgbase = redshift
pkgdesc = Adjusts the color temperature of your screen according to your surroundings.
pkgver = 1.12
pkgrel = 12
url = http://jonls.dk/redshift/
arch = x86_64
license = GPL-3.0-only
makedepends = intltool
makedepends = python
depends = glib2
depends = glibc
depends = hicolor-icon-theme
depends = libdrm
depends = libx11
depends = libxcb
depends = libxxf86vm
optdepends = geoclue: for automatic location based on GeoClue2
optdepends = gtk3: for redshift-gtk
optdepends = libappindicator-gtk3: for AppIndicator support in redshift-gtk
optdepends = python-gobject: for redshift-gtk
optdepends = python-xdg: for redshift-gtk
source = redshift-1.12.tar.gz::https://github.com/jonls/redshift/archive/refs/tags/v1.12.tar.gz
sha256sums = dd816df79765f87a0838b1568fbc40c3e8bdb4aef0e77712c85623afe34a29ad
pkgname = redshift

6
redshift/.nvchecker.toml Normal file
View File

@ -0,0 +1,6 @@
[redshit]
source = "github"
github = "jonls/redshift"
prefix = "v"
use_max_tag = true
exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*"

View File

@ -8,7 +8,7 @@
pkgname=redshift
pkgver=1.12
pkgrel=11
pkgrel=12
pkgdesc='Adjusts the color temperature of your screen according to your surroundings.'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='http://jonls.dk/redshift/'
@ -25,6 +25,7 @@ sha256sums=('dd816df79765f87a0838b1568fbc40c3e8bdb4aef0e77712c85623afe34a29ad')
prepare() {
cd "${pkgname}-${pkgver}"
sed -i 's|appdatadir = @datadir@/appdata|appdatadir = @datadir@/metainfo|' Makefile.am
./bootstrap
}