diff options
author | Simon Haegler <simon.haegler@mistafunk.ch> | 2011-10-17 16:56:23 +0200 |
---|---|---|
committer | Simon Haegler <simon.haegler@mistafunk.ch> | 2011-10-17 16:56:23 +0200 |
commit | e82ac91203ff0ae0bf5e8bc2bd619c726a4df246 (patch) | |
tree | 1d0891a9e94c44edb35748e5b876d1320000a515 /media-libs/opensg | |
parent | fixed collada-dom ebuilds (diff) | |
download | mistafunk-e82ac91203ff0ae0bf5e8bc2bd619c726a4df246.tar.gz mistafunk-e82ac91203ff0ae0bf5e8bc2bd619c726a4df246.tar.bz2 mistafunk-e82ac91203ff0ae0bf5e8bc2bd619c726a4df246.zip |
updated opensg ebuilds
Diffstat (limited to 'media-libs/opensg')
-rw-r--r-- | media-libs/opensg/Manifest | 7 | ||||
-rw-r--r-- | media-libs/opensg/opensg-2.0_alpha2284.ebuild | 4 | ||||
-rw-r--r-- | media-libs/opensg/opensg-9999.ebuild | 74 |
3 files changed, 79 insertions, 6 deletions
diff --git a/media-libs/opensg/Manifest b/media-libs/opensg/Manifest index cc995f6..9b48da6 100644 --- a/media-libs/opensg/Manifest +++ b/media-libs/opensg/Manifest @@ -1,6 +1,5 @@ AUX opensg-2.0_alpha2284-fix-gdal-png.patch 2161 RMD160 9e0369fdca0591f568218607f50204fe822c861e SHA1 7233c5ecfcf1bb673397c3f848fa8006444c5531 SHA256 a0bf320fe191176007c35d1954d8f9a85e98febf0ccb5600c91f9bbde708b57d -AUX opensg-fix-gdal-includes.patch 1249 RMD160 8a24de16050faa3603b728aee5959de8856dc153 SHA1 87d21aea8bab1951986516c2159315588b6e6057 SHA256 ccfb4aa874c8455f6ffc47f30877aba3f8af06ad93d4f5d4e16b0d465d2c6f26 DIST opensg-2.0_alpha2284.tar.bz2 9746821 RMD160 a46e7e09c7f60a1ec9e1c8bce877cf81d0e246c8 SHA1 af3beac3cbbdf054233ad7a07a0372f6f2033689 SHA256 a96f45d113aa51ff8209a5aa7a7f5e861e4e2776c606f1b9da4b521414dcbb28 -EBUILD opensg-2.0_alpha2284.ebuild 1526 RMD160 454eeafff34bd38bb47695b78699f9dd2023f4ef SHA1 29641b930f7e12bd8634540e467822a307f5be61 SHA256 68e9470f5ff772d3ae3acdf67600795083aee4265fa8267b99dc4c7abf7338b7 -MISC ChangeLog 3658 RMD160 b46694ce0f8a7327a112d7d3749e5a5ec3c3e979 SHA1 4a4463924f20d3c15763455a66c9b05ff1c4a292 SHA256 140d10ec72e83274e3a844b6796f4abce81528c0adef66c628deaea8e5587e3c -MISC opensg-2.0_alpha2321.ebuild.disabled 1531 RMD160 78f1177a2c18ffebe3217a89d8d94e018e424916 SHA1 8510956d2ac70e2f2aa8ea0ea3b1b8a1fbf4218f SHA256 0bfbc1055af8820e899716fdbe4a8972d6618ab4e44da824e4a05f8f392ed79b +EBUILD opensg-2.0_alpha2284.ebuild 1540 RMD160 2351f3da59b9608b56db66efe0b74cb6fed8d14a SHA1 79cd58a11cde9decd45f5b874494cd680b03ba50 SHA256 6f36cbb060edfbc2b70946d487c59ddae35e36e84ac0e57f757dac92d3aa3f99 +EBUILD opensg-9999.ebuild 1547 RMD160 2c1816c20096ff31be8d5f160ce00b62e2d41f01 SHA1 9db596e4821ae3a71394290c96e7174a14a4b78b SHA256 3ad184cfba2d3b3e8fc99b57411bdc2fbb7f5906b56cc2e233b914dd9bb395fe +MISC opensg-9999.ebuild~ 1547 RMD160 2c1816c20096ff31be8d5f160ce00b62e2d41f01 SHA1 9db596e4821ae3a71394290c96e7174a14a4b78b SHA256 3ad184cfba2d3b3e8fc99b57411bdc2fbb7f5906b56cc2e233b914dd9bb395fe diff --git a/media-libs/opensg/opensg-2.0_alpha2284.ebuild b/media-libs/opensg/opensg-2.0_alpha2284.ebuild index 1cbebfe..aa14f7c 100644 --- a/media-libs/opensg/opensg-2.0_alpha2284.ebuild +++ b/media-libs/opensg/opensg-2.0_alpha2284.ebuild @@ -9,11 +9,11 @@ inherit cmake-utils DESCRIPTION="OpenSG is a portable scenegraph system to create realtime graphics programs, e.g. for virtual reality applications." HOMEPAGE="http://www.opensg.org/" -SRC_URI="http://vision.ee.ethz.ch/shaegler/gentoo/${P}.tar.bz2" +SRC_URI="http://vision.ee.ethz.ch/sihaegle/gentoo/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~x86" +KEYWORDS="~x86 ~amd64" IUSE="tests doc examples" DEPEND="virtual/opengl diff --git a/media-libs/opensg/opensg-9999.ebuild b/media-libs/opensg/opensg-9999.ebuild new file mode 100644 index 0000000..a4b1c20 --- /dev/null +++ b/media-libs/opensg/opensg-9999.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils cmake-utils git-2 + +DESCRIPTION="OpenSG is a portable scenegraph system to create realtime graphics programs, e.g. for virtual reality applications." +HOMEPAGE="http://www.opensg.org/" +LICENSE="LGPL-2.1" + +EGIT_REPO_URI="git://opensg.git.sourceforge.net/gitroot/opensg/opensg" + +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="tests doc examples" +DEPEND="virtual/opengl + media-libs/freeglut + media-libs/glew + + sys-devel/flex + sys-devel/bison + + dev-libs/boost + sys-libs/zlib + media-libs/freetype + media-libs/tiff + media-libs/libpng + media-libs/jpeg + media-libs/openexr + media-libs/collada-dom + + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + + doc? ( app-doc/doxygen )" +# sci-libs/gdal +#sci-libs/vtk + +RDEPEND="${DEPEND}" + +src_configure() { + CMAKE_BUILD_TYPE=Release + mycmakeargs=( + -DOSG_USE_OSGSUPPORT_LIBS=OFF + -DBOOST_ROOT=/usr + -DOSG_DOXY_DOC_TYPE=User + -DOSGBUILD_EXAMPLES_SIMPLE=ON + -DOSGBUILD_EXAMPLES_ADVANCED=ON + -DCOLLADA_INCLUDE_DIR=/usr/include/collada-dom + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + cd "${CMAKE_BUILD_DIR}" + emake Doc || die "building documentation failed" + fi +} + +src_install() { + cmake-utils_src_install + if use doc; then + cd "${CMAKE_BUILD_DIR}"/Doc + dohtml -r html/* || die "dohtml failed" + fi + if use examples; then + cd "${CMAKE_BUILD_DIR}"/demos + dobin mandelbrot/mandelbrot opengl/quaternion_demo || die "dobin failed" + fi +} |