archrelease: copy trunk to community-any
[ArchLinux/community.git] / pantheon-photos / trunk / PKGBUILD
blob76073e51fcfee2b7638ea831940544be5705f3d3
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=pantheon-photos
4 pkgver=2.8.0
5 pkgrel=2
6 pkgdesc='The Pantheon Photos Manager'
7 arch=(x86_64)
8 url=https://github.com/elementary/photos
9 license=(GPL3)
10 depends=(
11   cairo
12   gdk-pixbuf2
13   geocode-glib
14   glib2
15   gst-plugins-base-libs
16   gstreamer
17   gtk3
18   json-glib
19   libexif
20   libgee
21   libgexiv2
22   libgphoto2
23   libgranite.so
24   libgudev-1.0.so
25   libhandy-1.so
26   libraw
27   libsoup
28   libxml2
29   pango
30   rest
31   sqlite
33 makedepends=(
34   git
35   intltool
36   meson
37   vala
38   webkit2gtk
40 optdepends=('webkit2gtk: Publishing plugins')
41 groups=(pantheon)
42 _tag=7261606a05d1f41116aba5c86b62d1f739419ed1
43 source=(pantheon-photos::git+https://github.com/elementary/photos.git#tag=${_tag})
44 sha256sums=(SKIP)
46 prepare() {
47   cd pantheon-photos
50 pkgver() {
51   cd pantheon-photos
52   git describe --tags
55 build() {
56   arch-meson pantheon-photos build
57   meson compile -C build
60 package() {
61   DESTDIR="${pkgdir}" meson install -C build
64 # vim: ts=2 sw=2 et: