upg inxi xdg-desktop-portsl xdg-desktop-portal-gtk

This commit is contained in:
joborun linux 2023-09-27 21:40:09 +03:00
parent 231d12ec59
commit aa3aa0fad1
7 changed files with 62 additions and 27 deletions

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=inxi
_pkgver=3.3.29-1
_pkgver=3.3.30-1
pkgver=${_pkgver//-/.}
pkgrel=01
pkgdesc="Full featured CLI system information tool"
@ -40,6 +40,7 @@ optdepends=(
"tree: --debugger 20,21 /sys tree"
"upower: -sx attached device battery info"
"usbutils: inxi -A usb audio;-N usb networking"
"vulkan-tools: vulkaninfo: -G vulkan info"
"wget: -i (if no dig); -w,-W; -U"
"wmctrl: -S active window manager (not all wm)"
"xorg-xdpyinfo: inxi -G multi screen resolution"
@ -63,7 +64,6 @@ arch=(x86_64)
license=(GPL3)
sha256sums=(5802cc6fe780fb9f24a097c326ffce9b31abe2f5b70957e21c6973e008bbf44b) # inxi-3.3.29.1.tar.gz
## d710450486ecf04a7188d7a1dccffd6dcd155f6e86290abef4d2cdd7aa46d995 inxi-3.3.29.1-01-x86_64.pkg.tar.lz
sha256sums=(6e10241933302bbdec2af5361ffacf98f425d63ea67ce56993f86dad06ffb404) # inxi-3.3.30.1.tar.gz
## ddf64fa79ae1ec27134732c9174e55396a90621b684b2a103600b4fe6e20f3f9 inxi-3.3.30.1-01-x86_64.pkg.tar.lz

View File

@ -4,7 +4,7 @@
# Contributor: Florian Pritz <f-p@gmx.at>
pkgname=inxi
_pkgver=3.3.29-1
_pkgver=3.3.30-1
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Full featured CLI system information tool"
@ -39,6 +39,7 @@ optdepends=(
"tree: --debugger 20,21 /sys tree"
"upower: -sx attached device battery info"
"usbutils: lsusb: -A usb audio; -J (optional); -N usb networking"
"vulkan-tools: vulkaninfo: -G vulkan info"
"wget: -i (if no dig); -w,-W; -U"
"wmctrl: -S active window manager (fallback)"
"xorg-xdpyinfo: xdpyinfo: -G (X) Screen resolution, dpi; -Ga Screen size"
@ -46,8 +47,8 @@ optdepends=(
"xorg-xprop: xprop: -S (X) desktop data"
"xorg-xrandr: xrandr: -G (X) monitors(s) resolution; -Ga monitor data"
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/smxi/$pkgname/archive/refs/tags/${_pkgver}.tar.gz")
b2sums=('176b20b113b3339f27d2ec16681d652e8ccaefed80c220078fa4e625ad7191cd6ebc9ada049197a858475e5c656b5f74f599ca202e1e47d6682e4cd9049eb763')
source=("$pkgname-$pkgver.tar.gz::https://codeberg.org/smxi/$pkgname/archive/${_pkgver}.tar.gz")
b2sums=('cfcafc643e7e18261fac622df3614e7ad296ec2233ebf6750243d9490e0ca5e8ba3742286a0630ae948d16ac4d09705ffc1b20df666f48ed2c5331a8320919d7')
package() {
cd "$pkgname-${_pkgver}"

View File

@ -7,11 +7,11 @@
pkgname=xdg-desktop-portal-gtk
pkgver=1.14.1
pkgrel=02
pkgdesc="A backend implementation for xdg-desktop-portal using GTK"
pkgrel=03
pkgdesc="A backend implementation for xdg-desktop-portal using GTK w/o systemd flatpak"
url="https://github.com/flatpak/xdg-desktop-portal-gtk"
depends=(gtk3 gsettings-desktop-schemas)
makedepends=(xdg-desktop-portal python git)
depends=(gtk3 gsettings-desktop-schemas xdg-desktop-portal)
makedepends=(python git)
optdepends=("evince: Print preview")
provides=(xdg-desktop-portal-impl)
_commit=952005f6a7850a247d286f14838202f506b402b7 # tags/1.14.1^0
@ -25,6 +25,11 @@ pkgver() {
prepare() {
cd $pkgname
# Fix use-after-free
git cherry-pick -n 366d3349041c2e06658c7c5a8b5bfd5f345d8157
git cherry-pick -n 2bf8482a1db56308d72ce1a35d04af7c08de08c9
NOCONFIGURE=1 ./autogen.sh
}
@ -32,8 +37,12 @@ build() {
cd $pkgname
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-systemduserunitdir=/tmp/delete
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@ -45,11 +54,13 @@ check() {
package() {
cd $pkgname
DESTDIR="$pkgdir" make install
rm -rf $pkgdir/tmp # systemd.service stored there
# fix detection with x-d-p 1.18
install -Dm644 ${srcdir}/gtk-portals.conf ${pkgdir}/usr/share/xdg-desktop-portal/gtk-portals.conf
## added service file to docs for reference before making runscripts for runit/s6
install -Dm644 $pkgdir/tmp/delete/xdg-desktop-portal-gtk.service -t "${pkgdir}/usr/share/docs/$pkgname/"
rm -rf $pkgdir/tmp # systemd.service stored there from build
}
#---- arch license gpg-key & sha256sums ----
@ -61,4 +72,4 @@ license=(LGPL)
sha256sums=(SKIP
7021091f9257d6db3599b0b9cec64ce22fe303500fdee36e1e50945ef83c2c88) # gtk-portals.conf
## 0ca247ddba763358bd4bc133be3f9bcf796254e1a05ad9f1c5c6c9123c75bfad xdg-desktop-portal-gtk-1.14.1-02-x86_64.pkg.tar.lz
## a9a59d11833f2f4abf6b6f140603fde2cab8e0ff56681b6c8276d048a2651c37 xdg-desktop-portal-gtk-1.14.1-03-x86_64.pkg.tar.lz

View File

@ -4,20 +4,25 @@
pkgname=xdg-desktop-portal-gtk
pkgver=1.14.1
pkgrel=2
pkgrel=3
pkgdesc="A backend implementation for xdg-desktop-portal using GTK"
url="https://github.com/flatpak/xdg-desktop-portal-gtk"
arch=(x86_64)
license=(LGPL)
depends=(gtk3 gsettings-desktop-schemas)
makedepends=(xdg-desktop-portal python git)
depends=(
gsettings-desktop-schemas
gtk3
xdg-desktop-portal
)
makedepends=(
git
python
)
optdepends=("evince: Print preview")
provides=(xdg-desktop-portal-impl)
_commit=952005f6a7850a247d286f14838202f506b402b7 # tags/1.14.1^0
source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit"
gtk-portals.conf)
sha256sums=('SKIP'
'7021091f9257d6db3599b0b9cec64ce22fe303500fdee36e1e50945ef83c2c88')
source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd $pkgname
@ -26,13 +31,26 @@ pkgver() {
prepare() {
cd $pkgname
# Fix use-after-free
git cherry-pick -n 366d3349041c2e06658c7c5a8b5bfd5f345d8157
git cherry-pick -n 2bf8482a1db56308d72ce1a35d04af7c08de08c9
NOCONFIGURE=1 ./autogen.sh
}
build() {
local configure_options=(
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
--libexecdir=/usr/lib
)
cd $pkgname
./configure --prefix=/usr --libexecdir=/usr/lib
make
./configure "${configure_options[@]}"
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
@ -45,7 +63,10 @@ package() {
DESTDIR="$pkgdir" make install
# fix detection with x-d-p 1.18
install -Dm644 ${srcdir}/gtk-portals.conf ${pkgdir}/usr/share/xdg-desktop-portal/gtk-portals.conf
install -Dm644 /dev/stdin "$pkgdir/usr/share/xdg-desktop-portal/gtk-portals.conf" <<END
[preferred]
default=gtk
END
}
# vim:set sw=2 sts=-1 et:

View File

@ -9,5 +9,6 @@ gettext
xdg-desktop-portal-gtk
libglvnd
at-spi2-core
graphite

View File

@ -66,3 +66,5 @@ sha256sums=(5b41a5915c11851493d8c33b9783f147a0a6f419db80ad760e84cd3420fd8c19) #
## 5cabcde1546c21afd84f419839261a92025a01df74a6682530fa288a2d9bb4cd xdg-desktop-portal-1.16.0-04-x86_64.pkg.tar.lz

View File

@ -4,7 +4,7 @@
pkgname=xdg-desktop-portal
pkgver=1.18.0
pkgrel=1
pkgrel=2
pkgdesc="Desktop integration portals for sandboxed apps"
url="https://github.com/flatpak/xdg-desktop-portal"
arch=(x86_64)
@ -31,6 +31,7 @@ makedepends=(
python-pytest
xmlto
)
optdepends=('xdg-desktop-portal-impl: Portal backends')
_commit=a4b27063222b16652e73b422e5448d75335199ef # tags/1.18.0^0
source=("git+https://github.com/flatpak/xdg-desktop-portal#commit=$_commit")
b2sums=('SKIP')
@ -54,8 +55,6 @@ check() {
}
package() {
depends+=(xdg-desktop-portal-impl)
meson install -C build --destdir "$pkgdir"
}