mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 08:14:37 +08:00
Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing
This commit is contained in:
commit
63a96fa1cb
@ -4,7 +4,8 @@
|
||||
|
||||
pkgname=cairo
|
||||
pkgver=1.12.14
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
_ubuntu_diff_version=${pkgver}-0ubuntu1
|
||||
pkgdesc="Cairo vector graphics library"
|
||||
arch=('x86_64')
|
||||
license=('LGPL' 'MPL')
|
||||
@ -15,12 +16,19 @@ provides=('cairo-xcb')
|
||||
rpelaces=('cairo-xcb')
|
||||
options=('!libtool')
|
||||
source=("http://cairographics.org/releases/${pkgname}-${pkgver}.tar.xz"
|
||||
"libpng16.patch")
|
||||
"http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_${_ubuntu_diff_version}.debian.tar.gz"
|
||||
"libpng16.patch")
|
||||
sha1sums=('9106ab09b2e7b9f90521b18dd4a7e9577eba6c15'
|
||||
'c4c89d212f1e3a131ea4e228562c91a0a632118f'
|
||||
'c9911f185637d266ce1d2985bd6fb7d0df3d75b2')
|
||||
|
||||
prepare() {
|
||||
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
|
||||
}
|
||||
@ -29,17 +37,16 @@ build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-tee \
|
||||
--enable-gl \
|
||||
--enable-egl \
|
||||
--enable-svg \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-gobject
|
||||
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-tee \
|
||||
--enable-gl \
|
||||
--enable-egl \
|
||||
--enable-svg \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-gobject
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,8 @@
|
||||
|
||||
pkgname=fontconfig
|
||||
pkgver=2.10.93
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_ubuntu_diff_version=${pkgver}-0ubuntu1
|
||||
pkgdesc="A library for configuring and customizing font access"
|
||||
arch=('x86_64')
|
||||
url="http://www.fontconfig.org/release/"
|
||||
@ -15,11 +16,20 @@ depends=('expat>=2.0.1' 'freetype2>=2.3.11')
|
||||
options=('!libtool')
|
||||
install='fontconfig.install'
|
||||
source=("http://www.fontconfig.org/release/${pkgname}-${pkgver}.tar.gz"
|
||||
"29-replace-bitmap-fonts.conf")
|
||||
"http://archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig_${_ubuntu_diff_version}.debian.tar.gz"
|
||||
'29-replace-bitmap-fonts.conf'
|
||||
'70-yes-bitmaps.conf')
|
||||
|
||||
sha256sums=('381541e4d1a150dac46af1d9ad64bdc3a131d6b2707d192209b2ed26e3e64147'
|
||||
'2325c478783659e8fce79f5754119934d6ce21f81552f878b740c7b18f9fe0d6')
|
||||
backup=(etc/fonts/conf.d/20-unhint-small-vera.conf
|
||||
etc/fonts/conf.d/29-replace-bitmap-fonts.conf
|
||||
'bd02a8858786e30a70b145494168c0c99a0ad4c8606d3bbaed99f9f3d3ea690f'
|
||||
'2325c478783659e8fce79f5754119934d6ce21f81552f878b740c7b18f9fe0d6'
|
||||
'87228113c2e8ffbf5565ffaa80d5e5fde33b14f0725accf69e1e31c80df398c0')
|
||||
|
||||
backup=(etc/fonts/conf.d/10-antialias.conf
|
||||
etc/fonts/conf.d/10-hinting.conf
|
||||
etc/fonts/conf.d/10-hinting-slight.conf
|
||||
etc/fonts/conf.d/11-lcdfilter-default.conf
|
||||
etc/fonts/conf.d/20-unhint-small-vera.conf
|
||||
etc/fonts/conf.d/30-metric-aliases.conf
|
||||
etc/fonts/conf.d/30-urw-aliases.conf
|
||||
etc/fonts/conf.d/40-nonlatin.conf
|
||||
@ -29,25 +39,33 @@ backup=(etc/fonts/conf.d/20-unhint-small-vera.conf
|
||||
etc/fonts/conf.d/51-local.conf
|
||||
etc/fonts/conf.d/60-latin.conf
|
||||
etc/fonts/conf.d/65-fonts-persian.conf
|
||||
etc/fonts/conf.d/65-khmer.conf
|
||||
etc/fonts/conf.d/65-nonlatin.conf
|
||||
etc/fonts/conf.d/69-unifont.conf
|
||||
etc/fonts/conf.d/70-no-bitmaps.conf
|
||||
etc/fonts/conf.d/80-delicious.conf
|
||||
etc/fonts/conf.d/90-synthetic.conf
|
||||
)
|
||||
|
||||
build() {
|
||||
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
|
||||
|
||||
libtoolize -f
|
||||
autoreconf -fi
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-templatedir=/etc/fonts/conf.avail \
|
||||
--with-xmldir=/etc/fonts \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--with-default-fonts=/usr/share/fonts \
|
||||
--with-add-fonts=/usr/share/fonts
|
||||
--sysconfdir=/etc \
|
||||
--with-templatedir=/etc/fonts/conf.avail \
|
||||
--with-xmldir=/etc/fonts \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--with-default-fonts=/usr/share/fonts \
|
||||
--with-add-fonts=/usr/share/fonts
|
||||
|
||||
make
|
||||
}
|
||||
@ -61,6 +79,10 @@ package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# use ubuntu 70-yes-bitmaps.conf
|
||||
mv ${pkgdir}/etc/fonts/conf.avail/70-yes-bitmaps.conf ${pkgdir}/etc/fonts/conf.avail/70-force-bitmaps.conf
|
||||
install -m644 "${srcdir}/70-yes-bitmaps.conf" "${pkgdir}/etc/fonts/conf.avail"
|
||||
|
||||
install -m644 "${srcdir}/29-replace-bitmap-fonts.conf" \
|
||||
"${pkgdir}/etc/fonts/conf.avail"
|
||||
|
@ -6,7 +6,8 @@
|
||||
|
||||
pkgname=libxft
|
||||
pkgver=2.2.0
|
||||
pkgrel=1
|
||||
_ubuntu_diff_version=${pkgver}-3ubuntu2
|
||||
pkgrel=2
|
||||
pkgdesc="FreeType-based font drawing library for X"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
@ -14,15 +15,29 @@ url="http://xorg.freedesktop.org/"
|
||||
depends=('fontconfig' 'libxrender')
|
||||
makedepends=('pkgconfig')
|
||||
options=('!libtool')
|
||||
source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2)
|
||||
sha1sums=('ed29784259f4e26df78141035560ae8a7c62e83f')
|
||||
source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2
|
||||
"http://archive.ubuntu.com/ubuntu/pool/main/x/xft/xft_${_ubuntu_diff_version}.diff.gz")
|
||||
sha1sums=('ed29784259f4e26df78141035560ae8a7c62e83f'
|
||||
'8fc08b46e8221a58a2b307023cdba69f310d33f0')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/libXft-${pkgver}"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
||||
|
||||
# apply ubuntu patches
|
||||
patch -Np1 -i ../xft_${_ubuntu_diff_version}.diff
|
||||
for _f in $(cat "$srcdir/libXft-${pkgver}/debian/patches/series" | grep -v '#') ; do
|
||||
patch -Np1 -i "$srcdir/libXft-${pkgver}/debian/patches/$_f"
|
||||
done
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/libXft-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user