From efc013546902a36fbc7c0925b3901ec5e579db3d Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 23 Jun 2015 03:12:04 +0200 Subject: [PATCH] New package: embree-2.5.1 --- common/shlibs | 1 + srcpkgs/embree-devel | 1 + srcpkgs/embree/template | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 120000 srcpkgs/embree-devel create mode 100644 srcpkgs/embree/template diff --git a/common/shlibs b/common/shlibs index 925f846ba7..611ec8e1d0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2094,3 +2094,4 @@ libtbbmalloc.so.2 tbb-4.3_1 libtbb_debug.so.2 tbb-4.3_1 libtbb.so.2 tbb-4.3_1 libtbbmalloc_debug.so.2 tbb-4.3_1 +libembree.so.2 embree-2.5.1_1 diff --git a/srcpkgs/embree-devel b/srcpkgs/embree-devel new file mode 120000 index 0000000000..0e6e1e5b73 --- /dev/null +++ b/srcpkgs/embree-devel @@ -0,0 +1 @@ +embree/ \ No newline at end of file diff --git a/srcpkgs/embree/template b/srcpkgs/embree/template new file mode 100644 index 0000000000..0cfa73b0b6 --- /dev/null +++ b/srcpkgs/embree/template @@ -0,0 +1,24 @@ +# Template file for 'embree' +pkgname=embree +version=2.5.1 +revision=1 +only_for_archs="x86_64" +build_style=cmake +hostmakedepends="cmake ispc" +makedepends="libfreeglut-devel libXmu-devel tbb-devel MesaLib-devel libpng-devel libopenexr-devel libjpeg-turbo-devel libmagick-devel" +short_desc="High Performance Ray Tracing Kernels" +maintainer="Andrea Brancaleoni " +license="Apache-2.0" +homepage="https://embree.github.io/" +distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz" +checksum=154c898214f666e3406dc30c0edf6375f5b0f4e3b2a4b3b896102c3fec09b466 + +configure_args="-DTBB_ROOT=/usr -DENABLE_TUTORIALS=OFF" + +embree-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + } +}