[arch-commits] Commit in cegui/trunk (PKGBUILD freetype.patch)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Dec 17 04:17:00 UTC 2013
Date: Tuesday, December 17, 2013 @ 05:17:00
Author: svenstaro
Revision: 102642
upgpkg: cegui 0.8.3-1
upstream release 0.8.3
Added:
cegui/trunk/freetype.patch
Modified:
cegui/trunk/PKGBUILD
----------------+
PKGBUILD | 19 ++++++++++---------
freetype.patch | 14 ++++++++++++++
2 files changed, 24 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-12-17 01:18:22 UTC (rev 102641)
+++ PKGBUILD 2013-12-17 04:17:00 UTC (rev 102642)
@@ -5,8 +5,8 @@
# Contributor: Bjorn Lindeijer <bjorn at lindeijer.nl>
pkgname=cegui
-pkgver=0.8.2
-pkgrel=6
+pkgver=0.8.3
+pkgrel=1
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
@@ -17,12 +17,16 @@
"ogre: ogre module"
"gtk2: gtk2 module"
"irrlicht: irrlicht module")
-source=("hg+ssh://hg@bitbucket.org/cegui/cegui#branch=v0-8")
-md5sums=('SKIP')
+source=("hg+ssh://hg@bitbucket.org/cegui/cegui#tag=v0-8-3"
+ "freetype.patch")
+md5sums=('SKIP'
+ '4c5f81f109f36718045bb4ba5ba25602')
build() {
cd "$srcdir/cegui"
+ patch -Np1 < "$srcdir/freetype.patch"
+
[[ -d build ]] && rm -r build
mkdir build && cd build
@@ -37,12 +41,9 @@
}
package() {
- cd "$srcdir/cegui"
+ cd "$srcdir/cegui"/build
- cd build
-
make DESTDIR="${pkgdir}" install
- cd ..
- install -Dm644 doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 ../doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
Added: freetype.patch
===================================================================
--- freetype.patch (rev 0)
+++ freetype.patch 2013-12-17 04:17:00 UTC (rev 102642)
@@ -0,0 +1,14 @@
+diff -r 319182022f9f cmake/FindFreetype.cmake
+--- a/cmake/FindFreetype.cmake Sat Dec 07 09:00:48 2013 +0000
++++ b/cmake/FindFreetype.cmake Tue Dec 17 05:02:30 2013 +0100
+@@ -3,8 +3,8 @@
+ ################################################################################
+ include(FindPackageHandleStandardArgs)
+
+-find_path(FREETYPE_H_PATH_ft2build NAMES ft2build.h)
+-find_path(FREETYPE_H_PATH_ftconfig NAMES freetype/config/ftconfig.h PATH_SUFFIXES freetype2)
++find_path(FREETYPE_H_PATH_ft2build NAMES ft2build.h PATH_SUFFIXES freetype2)
++find_path(FREETYPE_H_PATH_ftconfig NAMES config/ftconfig.h PATH_SUFFIXES freetype2)
+ find_library(FREETYPE_LIB NAMES freetype2 freetype libfreetype PATH_SUFFIXES dynamic)
+ find_library(FREETYPE_LIB_DBG NAMES freetype_d libfreetype_d PATH_SUFFIXES dynamic)
+ mark_as_advanced(FREETYPE_H_PATH_ft2build FREETYPE_H_PATH_ftconfig FREETYPE_LIB FREETYPE_LIB_DBG)
More information about the arch-commits
mailing list