mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
This update includes performance improvements and better camera mode selection, among others. Crucially the shared gtk4paintablesink is now used for the camera, reducing the size of the package. While on it, order dependencies and copy the runtime dependencies that Snatshot uses.
51 lines
981 B
Plaintext
51 lines
981 B
Plaintext
# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
|
|
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
|
|
pkgname=decoder
|
|
pkgver=0.6.1
|
|
pkgrel=0
|
|
pkgdesc="Scan and generate QR codes"
|
|
url="https://welcome.gnome.org/app/Decoder/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
cairo-dev
|
|
cargo
|
|
desktop-file-utils
|
|
glib-dev
|
|
gdk-pixbuf-dev
|
|
gst-plugins-bad-dev
|
|
gst-plugins-base-dev
|
|
gstreamer-dev
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
meson
|
|
openssl-dev
|
|
pango-dev
|
|
zbar-dev
|
|
"
|
|
depends="
|
|
gst-plugin-pipewire
|
|
gst-plugins-bad
|
|
pipewire
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
source="https://gitlab.gnome.org/World/decoder/-/archive/$pkgver/decoder-$pkgver.tar.gz"
|
|
options="net"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
cargo test
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
d86957f54e8243a4c0210c97ca2af82423c3ba0b65c1547f5ece75e9e5b7ee940000671f90b0d0a9bc756539f2efe232e8b9feebe9d6a0563c4d654f8aedcdba decoder-0.6.1.tar.gz
|
|
"
|