* update nitrogen to 1.6.1-6

This commit is contained in:
Alexander Baldeck 2024-09-05 15:20:08 +02:00
parent 12fe8c5eeb
commit c685185c6c
3 changed files with 35 additions and 4 deletions

17
nitrogen/.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = nitrogen
pkgdesc = Background browser and setter for X windows
pkgver = 1.6.1
pkgrel = 6
url = https://github.com/l3ib/nitrogen
arch = x86_64
license = GPL
depends = gtkmm
depends = hicolor-icon-theme
depends = librsvg
source = https://github.com/l3ib/nitrogen/releases/download/1.6.1/nitrogen-1.6.1.tar.gz
source = https://github.com/l3ib/nitrogen/releases/download/1.6.1/nitrogen-1.6.1.tar.gz.asc
validpgpkeys = 5B8B00633A07437835C80B7F1E39A08EDAB8F316
sha256sums = f40213707b7a3be87e556f65521cef8795bd91afda13dfac8f00c3550375837d
sha256sums = SKIP
pkgname = nitrogen

3
nitrogen/.nvchecker.toml Normal file
View File

@ -0,0 +1,3 @@
[nitrogen]
source = "git"
git = "https://github.com/l3ib/nitrogen.git"

View File

@ -5,10 +5,10 @@
pkgname=nitrogen pkgname=nitrogen
pkgver=1.6.1 pkgver=1.6.1
pkgrel=5 pkgrel=6
pkgdesc="Background browser and setter for X windows" pkgdesc='Background browser and setter for X windows'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="http://projects.l3ib.org/nitrogen/" url='https://github.com/l3ib/nitrogen'
license=('GPL') license=('GPL')
depends=('gtkmm' 'hicolor-icon-theme' 'librsvg') depends=('gtkmm' 'hicolor-icon-theme' 'librsvg')
validpgpkeys=('5B8B00633A07437835C80B7F1E39A08EDAB8F316') # keybase.io/daf <daf@keybase.io>') validpgpkeys=('5B8B00633A07437835C80B7F1E39A08EDAB8F316') # keybase.io/daf <daf@keybase.io>')
@ -16,10 +16,21 @@ source=("https://github.com/l3ib/${pkgname}/releases/download/${pkgver}/${pkgnam
sha256sums=('f40213707b7a3be87e556f65521cef8795bd91afda13dfac8f00c3550375837d' sha256sums=('f40213707b7a3be87e556f65521cef8795bd91afda13dfac8f00c3550375837d'
'SKIP') 'SKIP')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# fix metadata path with appstream
sed -i '/appdatadir/s|/appdata|/metainfo/|' data/Makefile.am
autoreconf -fi
}
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
CXXFLAGS+=' -std=c++11' CXXFLAGS+=' -std=c++11'
./configure --prefix=/usr --build=${CHOST} ./configure \
--build=${CHOST} \
--prefix='/usr'
make make
} }