diff --git a/common/shlibs b/common/shlibs index 2d66100d8a..ee58ceeb2d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1540,3 +1540,11 @@ libgnc-qof.so.1 gnucash-2.6.2_2 libgnc-core-utils-python.so.0 gnucash-2.6.2_2 libgnc-core-utils.so.0 gnucash-2.6.2_2 libcppunit-1.12.so.1 libcppunit-1.12.1_1 +libOgreMain.so.1.9.0 libogre-1.9.0_1 +libOgrePaging.so.1.9.0 libogre-1.9.0_1 +libOgreProperty.so.1.9.0 libogre-1.9.0_1 +libOgreTerrain.so.1.9.0 libogre-1.9.0_1 +libOgreRTShaderSystem.so.1.9.0 libogre-1.9.0_1 +libOgreVolume.so.1.9.0 libogre-1.9.0_1 +libOgreOverlay.so.1.9.0 libogre-1.9.0_1 + diff --git a/srcpkgs/libogre-devel b/srcpkgs/libogre-devel new file mode 120000 index 0000000000..2845528f8e --- /dev/null +++ b/srcpkgs/libogre-devel @@ -0,0 +1 @@ +libogre \ No newline at end of file diff --git a/srcpkgs/libogre-docs b/srcpkgs/libogre-docs new file mode 120000 index 0000000000..2845528f8e --- /dev/null +++ b/srcpkgs/libogre-docs @@ -0,0 +1 @@ +libogre \ No newline at end of file diff --git a/srcpkgs/libogre/template b/srcpkgs/libogre/template new file mode 100644 index 0000000000..c31585e5b0 --- /dev/null +++ b/srcpkgs/libogre/template @@ -0,0 +1,48 @@ +# Template file for 'ogre' +pkgname=libogre +version=1.9.0 +revision=1 +build_style=cmake +_hgrev=dd30349ea6670e3cd962d9d41a8039de3a3482d3 +configure_args="-DCMAKE_INSTALL_PREFIX=/usr \ + -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \ + -DOGRE_INSTALL_SAMPLES=TRUE \ + -DOGRE_INSTALL_DOCS=TRUE \ + -DOGRE_INSTALL_MEDIA=TRUE \ + -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \ + -DCMAKE_BUILD_TYPE=Release" +hostmakedepends="cmake pkg-config graphviz doxygen dejavu-fonts-ttf" +makedepends="boost-devel freetype-devel libXaw-devel libXrandr-devel + MesaLib-devel zziplib-devel libcppunit-devel glu-devel" +short_desc="scene-oriented, flexible 3D engine" +maintainer="Enno Boland " +homepage="http://www.ogre3d.org" +license="MIT" +distfiles="https://bitbucket.org/sinbad/ogre/get/${_hgrev}.tar.gz" +checksum=ead2baa807903b740e726ebf2f205ad2de9f9aacaeeae0a38fc3e29184f50f5d +wrksrc="sinbad-ogre-${_hgrev:0:12}" +make_build_target="all OgreDoc" + +post_install() { + vmkdir /usr/share/doc + vcopy build/Docs /usr/share/doc/libogre +} + +libogre-devel_package() { + depends="libogre>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} + +libogre-docs_package() { + depends="libogre>=${version}_${revision}" + short_desc+=" - documentation" + pkg_install() { + vmove /usr/share/doc/libogre + } +}