summaryrefslogtreecommitdiff
path: root/opt/imv/MAKEPKG
blob: 5bbba1fa9f93108b5b857d0302664c4ad39f3d93 (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
#!/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