aboutsummaryrefslogblamecommitdiffstats
path: root/community/imv/APKBUILD
blob: cf125d8fadca8f9ba3f2f6455c04ad46a7a2f453 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                          

            

                                      
                                         

             
             



                      
                   



                        
                 
                





                          
                                                                                       
 
         












                                                   


         
                                            


           
                                                              

 
                                                                                                                                                               
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=imv
pkgver=4.2.0
pkgrel=0
pkgdesc="Image viewer for X11/Wayland"
url="https://github.com/eXeC64/imv"
arch="all !s390x !mips !mips64" # librsvg
license="MIT"
makedepends="
	meson
	asciidoc
	fontconfig-dev
	freeimage-dev
	sdl2_ttf-dev
	librsvg-dev
	wayland-dev
	mesa-dev
	libxkbcommon-dev
	glu-dev
	pango-dev
	inih-dev
	"
checkdepends="
	cmocka
	cmocka-dev
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/eXeC64/imv/archive/v$pkgver.tar.gz"

build() {
	abuild-meson \
		-Dwindows=all \
		-Dtest=enabled \
		-Dman=enabled \
		-Dfreeimage=enabled \
		-Dlibtiff=disabled \
		-Dlibpng=disabled \
		-Dlibjpeg=disabled \
		-Dlibrsvg=enabled \
		-Dlibnsgif=disabled \
		-Dlibheif=disabled \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="7b64c6d4e5e484fd2ef4e28e2ba5cc74e4d28f8e2fa329ae7c744bd77ce8a345123f9cc3c77e015ff780938d5add97cfe9ed4e5a3a52b03a91b7bb6bb50e7115  imv-4.2.0.tar.gz"