mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:37:13 +08:00
38 lines
981 B
Bash
38 lines
981 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.24.0
|
|
pkgrel=1
|
|
pkgdesc="An image loading library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gtk.org/"
|
|
license=('GPL2')
|
|
depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11')
|
|
makedepends=('gobject-introspection')
|
|
options=('!libtool')
|
|
install=gdk-pixbuf2.install
|
|
source=(http://download.gnome.org/sources/gdk-pixbuf/2.24/gdk-pixbuf-${pkgver}.tar.xz)
|
|
sha256sums=('67c11d3aa40441c1cea42c365bf2d6a9a9dd52fae2d359a707ad5e8abb4d28a7')
|
|
|
|
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
|
|
}
|
|
|