mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:47:15 +08:00
38 lines
986 B
Bash
38 lines
986 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=gdk-pixbuf2
|
|
pkgver=2.22.1
|
|
pkgrel=2
|
|
pkgdesc="An image loading library for gtk2"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gtk.org/"
|
|
license=('GPL2')
|
|
depends=('glib2>=2.25.15' 'libpng>=1.4.3' 'libtiff>=3.9.4' 'libjpeg>=8.0.2' 'libx11')
|
|
makedepends=('gobject-introspection')
|
|
options=('!libtool')
|
|
install=gdk-pixbuf2.install
|
|
source=(http://download.gnome.org/sources/gdk-pixbuf/2.22/gdk-pixbuf-${pkgver}.tar.bz2)
|
|
md5sums=('716c4593ead3f9c8cca63b8b1907a561')
|
|
|
|
build() {
|
|
cd "${srcdir}/gdk-pixbuf-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--without-libjasper \
|
|
--with-included-loaders=png
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/gdk-pixbuf-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|