diff options
author | Pellegrino Prevete | 2023-06-27 21:06:57 +0200 |
---|---|---|
committer | Pellegrino Prevete | 2023-06-27 21:06:57 +0200 |
commit | 476450ad5c6e88cabd6225e658fc905bfe2c1fe9 (patch) | |
tree | 26354cb20c397051c0a931586f8b747ae68e43e0 /PKGBUILD | |
parent | 3dd79726ab41002e2be13bc70c2320bea068b68e (diff) | |
download | aur-476450ad5c6e88cabd6225e658fc905bfe2c1fe9.tar.gz |
update to 44.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 67 |
1 files changed, 52 insertions, 15 deletions
@@ -1,32 +1,69 @@ -pkgname=gnome-photos-git +# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com> + _pkgname=gnome-photos -pkgver=3.33.91+22+g02719d84 +pkgname="${_pkgname}-git" +pkgver=44.0+3+ga534601c pkgrel=1 +epoch=1 pkgdesc="Access, organize, and share your photos on GNOME" -arch=(x86_64) url="https://wiki.gnome.org/Apps/Photos" +arch=(x86_64) license=(GPL) -depends=('exempi' 'gtk3' 'libexif' 'librsvg' 'babl' 'gegl' 'gsettings-desktop-schemas' 'grilo-plugins' 'lcms2' - 'tracker-miners' 'geocode-glib' 'grilo' 'gfbgraph' 'libgdata' 'libgexiv2' 'libraw' 'gnome-online-accounts' - 'gnome-online-miners' 'dleyna-server' 'dleyna-renderer' 'libdazzle') -makedepends=('python' 'yelp-tools' 'git' 'meson') -provides=('gnome-photos') -conflicts=('gnome-photos') -source=("git+https://gitlab.gnome.org/GNOME/gnome-photos.git" - "git+https://gitlab.gnome.org/GNOME/libgd.git") +depends=( + babl + dleyna + gegl + geocode-glib-2 + gnome-online-accounts + gsettings-desktop-schemas + gtk3 + libdazzle + libgexiv2 + libhandy + libportal-gtk3 + librsvg + tracker3-miners +) +makedepends=( + docbook-xsl + git + meson + python + yelp-tools +) +groups=(gnome gnome-git) +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=( + "git+https://gitlab.gnome.org/GNOME/gnome-photos.git" + "git+https://gitlab.gnome.org/GNOME/libgd.git") sha512sums=('SKIP' 'SKIP') pkgver() { - cd $_pkgname + cd "${_pkgname}" git describe --tags | sed 's/-/+/g' } +prepare() { + cd "${_pkgname}" + + git submodule init + git submodule set-url subprojects/libgd "${srcdir}/libgd" + git -c protocol.file.allow=always submodule update +} + build() { - arch-meson $_pkgname build - ninja -C build + local meson_options=( + -D manuals=true + ) + + arch-meson "${_pkgname}" build "${meson_options[@]}" + meson compile -C build } package() { - DESTDIR="$pkgdir" meson install -C build + meson install -C build --destdir "${pkgdir}" } + +# vim:set sw=2 sts=-1 et: |