[ogre] Have the cfg files point to the correct location for sample media.

Bruno Wolff III bruno at fedoraproject.org
Tue Jan 11 04:32:16 UTC 2011


commit 4232ae74f8efcd732f6934e81f098e6f7f622e4f
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Mon Jan 10 22:30:14 2011 -0600

    Have the cfg files point to the correct location for sample media.

 ogre.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ogre.spec b/ogre.spec
index 0f76265..6f022d8 100644
--- a/ogre.spec
+++ b/ogre.spec
@@ -121,7 +121,7 @@ rm Tools/XMLConverter/include/tiny*
 %build
 mkdir build
 cd build
-%cmake .. -DOGRE_FULL_RPATH=0 -DCMAKE_SKIP_RPATH=1 -DOGRE_LIB_DIRECTORY=%{_libdir}
+%cmake .. -DOGRE_FULL_RPATH=0 -DCMAKE_SKIP_RPATH=1 -DOGRE_LIB_DIRECTORY=%{_libdir} -DOGRE_MEDIA_PATH=share/OGRE/Samples/Media
 make %{?_smp_mflags}
 
 %install
@@ -202,6 +202,7 @@ ln -s ../../../../fonts/dejavu/DejaVuSans.ttf \
 %changelog
 * Mon Jan 10 2011 Bruno Wolff III <bruno at wolff.to> - 1.7.2-7
 - Exclude CMakeLists.txt from Media
+- Have cfg files point to correct install location for sample media.
 
 * Fri Jan 07 2011 Tom Callaway <spot at fedoraproject.org> - 1.7.2-6
 - BuildRequires: boost-devel for threading, Remove poco-devel from BR


More information about the scm-commits mailing list