summaryrefslogtreecommitdiff
path: root/packages/povray/povray_3.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/povray/povray_3.6.1.bb')
-rw-r--r--packages/povray/povray_3.6.1.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/povray/povray_3.6.1.bb b/packages/povray/povray_3.6.1.bb
new file mode 100644
index 0000000000..58ff33cbc4
--- /dev/null
+++ b/packages/povray/povray_3.6.1.bb
@@ -0,0 +1,44 @@
+DESCRIPTION = "The Persistence of Vision Raytracer is a high-quality, totally free tool for creating stunning three-dimensional graphics. "
+HOMEPAGE = "http://www.povray.org"
+#Make this a weak assigment to allow branding of the povray binary
+MAINTAINER ?= "Koen Kooi <koen@openembedded.org>"
+LICENSE = "povray"
+
+DEPENDS = "virtual/libx11 libz jpeg libpng tiff"
+RDEPENDS = ""
+
+PR = "r0"
+
+#We apply a patch that subverts the checks for jpeg, zlib, png and tiff because we know OE has the required versions, but it is still a hack.
+SRC_URI = "http://www.povray.org/redirect/www.povray.org/ftp/pub/povray/Official/Unix/${P}.tar.bz2 \
+ file://configure-cross-hack.patch;patch=1"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-x COMPILED_BY=${MAINTAINER}"
+PARALLEL_MAKE = ""
+
+#autoreconf breaks, so we'll skip that. The added advantage is that the patch to ./configure actually has effect
+do_configure() {
+ oe_runconf
+}
+
+PACKAGES += "${PN}-scenes ${PN}-ini ${PN}-icons ${PN}-scripts ${PN}-includes"
+
+PACKAGE_ARCH_${PN}-doc = "all"
+
+PACKAGE_ARCH_${PN}-scenes = "all"
+FILES_${PN}-scenes = "${datadir}/povray-3.6/scenes"
+
+PACKAGE_ARCH_${PN}-ini = "all"
+FILES_${PN}-ini = "${datadir}/povray-3.6/ini"
+
+PACKAGE_ARCH_${PN}-icons = "all"
+FILES_${PN}-icons = "${datadir}/povray-3.6/icons"
+
+PACKAGE_ARCH_${PN}-scripts = "all"
+FILES_${PN}-scripts = "${datadir}/povray-3.6/scripts"
+
+PACKAGE_ARCH_${PN}-includes = "all"
+FILES_${PN}-includes = "${datadir}/povray-3.6/include"
+