Skip to content
Snippets Groups Projects
Verified Commit 397b23f1 authored by Fabian Bornschein's avatar Fabian Bornschein
Browse files

45.0-1

* New gnome core app
parents
No related branches found
Tags 45.0-1
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
pkgname=loupe
pkgver=45.0
pkgrel=1
pkgdesc="A simple image viewer for GNOME"
arch=(x86_64)
url="https://gitlab.gnome.org/GNOME/loupe"
license=('GPL')
groups=('gnome')
depends=(
cairo
glib2
glycin
graphene
gtk4
hicolor-icon-theme
lcms2
libadwaita
libgweather-4
)
makedepends=(
git
itstool
meson
rust
)
_commit=ebe9141f52dbcd39eef67e185273ea4438f6e889 # tags/45.0^0
source=("git+https://gitlab.gnome.org/GNOME/loupe.git#commit=$_commit")
sha256sums=('SKIP')
# Use LTO
export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
# Use debug
export CARGO_PROFILE_RELEASE_DEBUG=2
pkgver() {
cd $pkgname
git describe --tags | sed -r 's/_/./;s/\.([a-z])/\1/;s/([a-z])\./\1/;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir" --no-rebuild
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment