summaryrefslogblamecommitdiff
path: root/user/imlib2/APKBUILD
blob: 918ffcf073f27f1bbe1f660a7afe16a6a58dbd0a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             
              

            



                                                    
          

                                                                  
                                                                
                          


                                                                                              











                                            







                             



                  


                                    
                                                                                                                                                                   
# Maintainer: Nathan <ndowens@artixlinux.org>
pkgname=imlib2
pkgver=1.7.0
pkgrel=0
pkgdesc="Image manipulation library"
url="https://sourceforge.net/projects/enlightenment"
arch="all"
license="Imlib2"
depends=""
depends_dev="freetype-dev libxext-dev libsm-dev"
makedepends="$depends_dev tiff-dev giflib-dev bzip2-dev libpng-dev
	libid3tag-dev libjpeg-turbo-dev zlib-dev util-linux-dev"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/enlightenment/$pkgname-src/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc/imlib2 \
		--x-libraries=/usr/lib \
		--disable-mmx \
		--disable-amd64 \
		--enable-visibility-hiding \
		--with-x \
		--with-bzip2 \
		--with-gif \
		--with-jpeg \
		--with-png \
		--with-tiff \
		--with-zlib
	make
}

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="078126269565b55f4b167608ee65d558711e37c34283fb6193752b27f7fc59c738cbd38839b17203273defee20c2ffc41a495e44364089deebffbd39c67e6d72  imlib2-1.7.0.tar.bz2"