imv: add asciidoc as an optional dependency

This commit is contained in:
John McQuah 2023-01-09 14:51:35 -05:00
parent 66d26ea85f
commit ef2b6cf7d5
3 changed files with 6 additions and 12 deletions

6
REPO
View File

@ -166,7 +166,7 @@ f:3765586fe37e9002a781bae8f35a9bc6:ncdu/.footprint
f:3647bf31ba5888ab5c8693305de43678:deadbeef/README
f:91a7e6d6f3093db8d4898132c2d5db5e:deadbeef/.signature
f:f1961d2526672b04ae736090a1d272f5:deadbeef/Pkgfile
f:eaf437367d555ab1adac99ca21a91f1f:deadbeef/dbq
f:09029aea05f0caafa1f483d1bf799b23:deadbeef/dbq
f:cc85c95c411ba3e3fdf42af03658ee2d:deadbeef/.footprint
f:2bb7cf11095a58ffc13d25324a755099:libheif/.signature
f:d2c887b41f30ad5670c62a0c5570b48c:libheif/Pkgfile
@ -320,5 +320,5 @@ f:3b903a744ae49ea8ba2295ee91e0da3b:python3-et_xmlfile/Pkgfile
f:71cb950baaf9fc91d3c4c7a86ef2bd25:python3-et_xmlfile/.footprint
f:97dbd27198bc704dd2416425f082bbf6:imv/freeimagelite.patch
f:8750753726c1a5a75c500de93662a6ef:imv/.signature
f:5eee3e30d4ca3c5757ba81b33ac511c5:imv/Pkgfile
f:a82e6203dc1db7951ee89ee70d87b2be:imv/.footprint
f:8e6f28ffc5d0ca892df94fbe324f1a22:imv/Pkgfile
f:8fbc96a3975ed2b8c31cb1fafb63344d:imv/.footprint

View File

@ -9,10 +9,3 @@ drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/imv-folder.desktop
-rw-r--r-- root/root usr/share/applications/imv.desktop
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/imv-folder.1.gz
-rw-r--r-- root/root usr/share/man/man1/imv-msg.1.gz
-rw-r--r-- root/root usr/share/man/man1/imv.1.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/imv.5.gz

View File

@ -2,7 +2,7 @@
# URL: https://git.sr.ht/~exec64/imv
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: icu libpthread-stubs libxkbcommon pango inih
# Optional: libjpeg-turbo libpng libtiff librsvg libfreeimage-lite egl-wayland xorg-libxcb
# Optional: libjpeg-turbo libpng libtiff librsvg libfreeimage-lite egl-wayland xorg-libxcb asciidoc
name=imv
version=4.3.1
@ -13,7 +13,8 @@ renames=($name-$version.tar.gz SKIP)
build() {
cd $name-v$version
prt-get isinst libfreeimage-lite && patch -p1 < $SRC/freeimagelite.patch
meson --buildtype=release --prefix=/usr build
prt-get isinst asciidoc && MAN_IMV="-D man=enabled" || MAN_IMV="-D man=disabled"
meson setup build --buildtype=release --prefix=/usr $MAN_IMV
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
}