mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 02:27:16 +08:00
update lib32-cairo 1.14.4
This commit is contained in:
parent
506e080157
commit
4eaf53b04f
@ -3,23 +3,24 @@
|
||||
|
||||
_pkgbasename=cairo
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.12.16
|
||||
pkgrel=3
|
||||
_ubuntu_diff_version=${pkgver}-0ubuntu2
|
||||
pkgver=1.14.4
|
||||
pkgrel=1
|
||||
_ubuntu_diff_version=${pkgver}-1
|
||||
pkgdesc="Cairo vector graphics library (32-bit)"
|
||||
arch=('x86_64')
|
||||
url="http://cairographics.org/"
|
||||
license=('LGPL' 'MPL')
|
||||
depends=('lib32-libpng' 'lib32-libxrender' 'lib32-fontconfig' 'lib32-libxext'
|
||||
'lib32-pixman' 'lib32-glib2' ${_pkgbasename}=${pkgver})
|
||||
makedepends=('gcc-multilib' 'libtool-multilib')
|
||||
depends=('lib32-libpng' 'lib32-libxext' 'lib32-libxrender' 'lib32-fontconfig'
|
||||
'lib32-pixman' 'lib32-glib2' 'lib32-mesa' 'lib32-libgl'
|
||||
${_pkgbasename}=${pkgver})
|
||||
provides=("${pkgname}-ubuntu")
|
||||
conflicts=("${pkgname}-ubuntu")
|
||||
replaces=("${pkgname}-ubuntu")
|
||||
source=("http://cairographics.org/releases/${_pkgbasename}-${pkgver}.tar.xz"
|
||||
"http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_${_ubuntu_diff_version}.debian.tar.gz")
|
||||
sha1sums=('4f6e337d5d3edd7ea79d1426f575331552b003ec'
|
||||
'95d873fda436a1cc29cda1310f155ef0e3258c05')
|
||||
"http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_${_ubuntu_diff_version}.debian.tar.xz")
|
||||
sha1sums=('5b44471e7c328f96de6830baf8ea65030de797f9'
|
||||
'7602b72defd4f540bcc29a1860e30f00db86a808')
|
||||
|
||||
build() {
|
||||
export CC="gcc -m32"
|
||||
@ -35,17 +36,20 @@ build() {
|
||||
|
||||
autoreconf -vfi
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-tee \
|
||||
--disable-xlib-xcb
|
||||
--libdir=/usr/lib32 \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-tee \
|
||||
--enable-gl \
|
||||
--enable-egl
|
||||
# --disable-xlib-xcb
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user