summaryrefslogblamecommitdiff
path: root/user/atril/APKBUILD
blob: df0155a7d480c646882027ab142871731361cfad (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                 
             
             
        






                                                                                            
                                                                           
                                                              
                          
                                                     
                                                                               
         





                        

         
                     
                                           








                                         
                              
                               
                                 



            



                  


                                      
                                                                                                                                                                  
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=atril
pkgver=1.26.0
pkgrel=0
pkgdesc="Document viewer for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
options="!check" # testsuite requires X and py3-dogtail
license="GPL-2.0+ AND Afmparse AND Info-ZIP AND libtiff AND LGPL-2.0+ AND MIT AND LGPL-2.1+"
depends=""
makedepends="caja-dev djvulibre-dev gobject-introspection-dev gtk+3.0-dev
	intltool itstool libgxps-dev libsecret-dev libsm-dev libspectre-dev
	libxml2-dev libxml2-utils poppler-dev python3 tiff-dev
	wayland-protocols"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/atril-$pkgver.tar.xz
	"

# secfixes:
#   1.22.1-r1:
#     - CVE-2019-1010006
#   1.22.1-r2:
#     - CVE-2019-11459

build() {
	./configure \
		--disable-maintainer-mode \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-introspection \
		--enable-pixbuf \
		--enable-comics \
		--enable-xps \
		--enable-epub \
		--disable-synctex
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9c4e8b1c45959136c8fc4c5db47117e45e8afca8be2294418e6c1a0f8098c162ccaa4a60e5baea34db91d45d345a3953afe95281782986e7046b87a34c8f7dbd  atril-1.26.0.tar.xz"