cogl: Update to 1.20.0

This commit is contained in:
Alexpux
2015-03-24 23:41:27 +03:00
parent 77cbce4fce
commit 6b06709e9c

View File

@@ -2,31 +2,30 @@
_realname=cogl
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.18.2
pkgver=1.20.0
pkgrel=1
pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer. (mingw-w64)"
pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer (mingw-w64)"
arch=('any')
url="http://www.clutter-project.org/"
license=('GPL2')
makedepends=('automake' 'libtool' 'intltool' 'itstool' 'gtk-doc' 'gnome-doc-utils' 'yelp-tools' 'git')
makedepends=('automake' 'libtool' 'intltool' 'itstool' 'gtk-doc' 'gnome-doc-utils' 'yelp-tools')
depends=("${MINGW_PACKAGE_PREFIX}-pango"
"${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2"
)
options=(!libtool strip staticlibs)
source=(#http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver:0:4}/${_realname}-$pkgver.tar.xz
"git://git.gnome.org/$_realname#tag=${pkgver}"
source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.xz
"0001-msys2-fix-introspection-build.patch"
"0002-windows-gl-headers.patch")
md5sums=('SKIP'
md5sums=('5b28897194d9ff76a574a9493d1f7ee0'
'66134daa1df08ebfa143b12c08f3290e'
'8686270ab5eae668eae11e2606aa7ce0')
prepare() {
cd ${_realname}
cd ${_realname}-${pkgver}
patch -p1 -i ${srcdir}/0001-msys2-fix-introspection-build.patch
patch -p1 -i ${srcdir}/0002-windows-gl-headers.patch
NOCONFIGURE=1 ./autogen.sh
#autoreconf -fi
autoreconf -fiv
}
build() {
@@ -34,7 +33,7 @@ build() {
[[ -d "${srcdir}/build-${MINGW_CHOST}" ]] && rm -rf "${srcdir}/build-${MINGW_CHOST}"
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
cd "${srcdir}/build-${MINGW_CHOST}"
../${_realname}/configure \
../${_realname}-${pkgver}/configure \
--prefix=${MINGW_PREFIX} \
--build=${MINGW_CHOST} \
--host=${MINGW_CHOST} \
@@ -42,6 +41,7 @@ build() {
--enable-shared \
--enable-silent-rules \
--disable-gtk-doc
make
}