mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 02:14:36 +08:00
cairo: added Ubuntu patches
This commit is contained in:
parent
6cfc55f2b7
commit
1f4259b140
@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
pkgname=cairo
|
pkgname=cairo
|
||||||
pkgver=1.12.14
|
pkgver=1.12.14
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
|
_ubuntu_diff_version=${pkgver}-0ubuntu1
|
||||||
pkgdesc="Cairo vector graphics library"
|
pkgdesc="Cairo vector graphics library"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('LGPL' 'MPL')
|
license=('LGPL' 'MPL')
|
||||||
@ -15,13 +16,20 @@ provides=('cairo-xcb')
|
|||||||
rpelaces=('cairo-xcb')
|
rpelaces=('cairo-xcb')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=("http://cairographics.org/releases/${pkgname}-${pkgver}.tar.xz"
|
source=("http://cairographics.org/releases/${pkgname}-${pkgver}.tar.xz"
|
||||||
|
"http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_${_ubuntu_diff_version}.debian.tar.gz"
|
||||||
"libpng16.patch")
|
"libpng16.patch")
|
||||||
sha1sums=('9106ab09b2e7b9f90521b18dd4a7e9577eba6c15'
|
sha1sums=('9106ab09b2e7b9f90521b18dd4a7e9577eba6c15'
|
||||||
|
'c4c89d212f1e3a131ea4e228562c91a0a632118f'
|
||||||
'c9911f185637d266ce1d2985bd6fb7d0df3d75b2')
|
'c9911f185637d266ce1d2985bd6fb7d0df3d75b2')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
|
# apply ubuntu patches
|
||||||
|
for _f in $(cat "$srcdir/debian/patches/series" | grep -v '#') ; do
|
||||||
|
patch -Np1 -i "$srcdir/debian/patches/$_f"
|
||||||
|
done
|
||||||
|
|
||||||
patch -p1 < ../libpng16.patch
|
patch -p1 < ../libpng16.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,7 +47,6 @@ build() {
|
|||||||
--enable-ps \
|
--enable-ps \
|
||||||
--enable-pdf \
|
--enable-pdf \
|
||||||
--enable-gobject
|
--enable-gobject
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user