summaryrefslogtreecommitdiff
path: root/opt/imv/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'opt/imv/MAKEPKG')
-rw-r--r--opt/imv/MAKEPKG38
1 files changed, 38 insertions, 0 deletions
diff --git a/opt/imv/MAKEPKG b/opt/imv/MAKEPKG
new file mode 100644
index 0000000..5bbba1f
--- /dev/null
+++ b/opt/imv/MAKEPKG
@@ -0,0 +1,38 @@
+#!/bin/mkpkg
+# description: Image viewer for Wayland
+# url: https://sr.ht/~exec64/imv
+name=imv
+version=5.0.1
+release=1
+depends=(icu pango cairo libglvnd wayland libxkbcommon libjpeg-turbo libpng tiff libwebp giflib inih)
+makedeps=(meson python3 git cmake glib harfbuzz fontconfig freetype pixman expat util-linux fribidi wayland-protocols samurai)
+lockbox=(yes)
+source=(https://git.sr.ht/~exec64/imv/archive/v${version}.tar.gz)
+renames=($name-$version.tar.gz)
+sha256sums=(
+ "8949c1df4b933b1d324e02ce49f1834a4b73dd25fa8103579e0ed105149e080e"
+)
+
+build() {
+ cd ${name}-v${version}
+ meson setup build \
+ --prefix=/usr \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ -Dwerror=false \
+ -Dwindows=wayland \
+ -Dunicode=icu \
+ -Dtest=disabled \
+ -Dcontrib-commands=false \
+ -Dman=disabled
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build --no-rebuild
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh
+