]> git.pld-linux.org Git - packages/CEGUI.git/commitdiff
- more BRs
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Oct 2014 09:54:54 +0000 (10:54 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Oct 2014 09:54:54 +0000 (10:54 +0100)
- added python patch (use python library version consistent with found python interpreter)

CEGUI-python.patch [new file with mode: 0644]
CEGUI.spec

diff --git a/CEGUI-python.patch b/CEGUI-python.patch
new file mode 100644 (file)
index 0000000..d15a8a5
--- /dev/null
@@ -0,0 +1,11 @@
+--- cegui-0.8.4/CMakeLists.txt.orig    2014-07-07 10:46:25.000000000 +0200
++++ cegui-0.8.4/CMakeLists.txt 2014-10-26 07:04:55.574145118 +0100
+@@ -106,7 +106,7 @@
+ find_package(Lua51)
+ find_package(TOLUAPP)
+ find_package(PythonInterp)
+-find_package(PythonLibs)
++find_package(PythonLibs ${PYTHON_VERSION_STRING})
+ find_package(Boost 1.36.0 COMPONENTS python unit_test_framework system)
+ find_package(Doxygen)
index 6d15f7666dba622386a97a100b6671370316e3c3..5bf605846578e1f535e57e040514a54515c01076 100644 (file)
@@ -19,10 +19,13 @@ Source1:    http://downloads.sourceforge.net/crayzedsgui/cegui-docs-%{version}.tar.
 # Source1-md5: 1096bf8c84bf6a22e8892ab9258c22f6
 Patch0:                pthread.patch
 Patch1:                %{name}-glfw3.patch
+Patch2:                %{name}-python.patch
 URL:           http://www.cegui.org.uk/
 BuildRequires: DevIL-devel
 %{?with_directfb:BuildRequires:        DirectFB-devel >= 1.2.0}
 BuildRequires: FreeImage-devel
+BuildRequires: GLM
+BuildRequires: OpenGL-devel
 BuildRequires: SILLY-devel >= 0.1.0
 BuildRequires: boost-devel >= 1.36.0
 BuildRequires: boost-python-devel >= 1.36.0
@@ -32,6 +35,8 @@ BuildRequires:        doxygen
 BuildRequires: expat-devel
 BuildRequires: fribidi-devel
 BuildRequires: freetype-devel >= 2.0
+BuildRequires: glew-devel
+# for SampleFramework
 BuildRequires: glfw-devel
 BuildRequires: gtk+2-devel >= 2:2.4
 BuildRequires: irrlicht-devel >= 1.4
@@ -46,7 +51,7 @@ BuildRequires:        ois-devel >= 1.0.0
 %endif
 BuildRequires: pcre-devel >= 5.0
 BuildRequires: pkgconfig
-BuildRequires: python-devel
+BuildRequires: python-devel >= 2
 BuildRequires: rapidxml
 BuildRequires: sed >= 4.0
 BuildRequires: tinyxml-devel
@@ -425,6 +430,7 @@ Wiązania Pythona do biblioteki CEGUI OpenGLRenderer.
 %setup -q -a 1 -n cegui-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 install -d build
This page took 0.096278 seconds and 4 git commands to generate.