blob: f0abf0d35671424f6ddeb65e28fd67a17e34b123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Zhou Qiankang <wszqkzqk@qq.com>
pkgname=live-photo-conv
pkgver=0.3.7
pkgrel=1
pkgdesc="A cross-platform tool to process live photos of Google Android"
url="https://github.com/wszqkzqk/${pkgname}"
arch=('x86_64' 'aarch64' 'riscv64' 'loong64')
license=(LGPL-2.1-or-later)
depends=(
glib2
libgexiv2
gstreamer
gst-plugins-base-libs
gst-plugins-good
gst-plugins-bad
gdk-pixbuf2
)
makedepends=(
vala
meson
git
gobject-introspection
)
optdepends=(
"ffmpeg: FFmpeg backend to convert internal video of a live photo to static pictures"
"libavif: Support to save as .avif with GStreamer and GdkPixbuf backend"
"libheif: Support to save photos as .heif, .heic, and .avif with GStreamer and GdkPixbuf backend"
"libjxl: Support to save photos as .jxl with GStreamer and GdkPixbuf backend"
"webp-pixbuf-loader: Support to save photos as .webp with GStreamer and GdkPixbuf backend"
)
source=("git+https://github.com/wszqkzqk/${pkgname}.git#tag=${pkgver}")
sha256sums=('437ca17330fa6b3447eb00c2853c1a760bcf9a2c19e8163df3966e68d7ebdf00')
build() {
arch-meson "${pkgname}" build
meson compile -C build
}
check() {
meson test -C build
}
package() {
meson install -C build --destdir "${pkgdir}"
install -Dm644 "${pkgname}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|