mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:57:13 +08:00
34 lines
801 B
Bash
34 lines
801 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=gdk-pixbuf2
|
|
pkgver=2.26.1
|
|
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.26/gdk-pixbuf-${pkgver}.tar.xz)
|
|
sha256sums=('a60af12b58d9cc15ba4c680c6730ce5d38e8d664af1d575a379385b94b4ec7ba')
|
|
|
|
build() {
|
|
cd "${srcdir}/gdk-pixbuf-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--without-libjasper \
|
|
--with-x11 \
|
|
--with-included-loaders=png
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "gdk-pixbuf-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|