From 49f445f2c4051ac650d47fcd6c6b9f7e1353aeb4 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Mon, 12 Feb 2007 04:44:59 +0000 Subject: [PATCH] Version Bump Package-Manager: portage-2.1.2-r9 --- media-gfx/pixie/ChangeLog | 9 +- media-gfx/pixie/Manifest | 32 +- media-gfx/pixie/files/digest-pixie-1.5.1 | 6 +- media-gfx/pixie/files/digest-pixie-1.7.6 | 3 + .../pixie/files/pixie-1.6.2-libtool.patch | 450 ------------------ .../pixie/files/pixie-1.7.6-libcommon.patch | 185 +++++++ media-gfx/pixie/pixie-1.7.6.ebuild | 52 ++ 7 files changed, 271 insertions(+), 466 deletions(-) create mode 100644 media-gfx/pixie/files/digest-pixie-1.7.6 delete mode 100644 media-gfx/pixie/files/pixie-1.6.2-libtool.patch create mode 100644 media-gfx/pixie/files/pixie-1.7.6-libcommon.patch create mode 100644 media-gfx/pixie/pixie-1.7.6.ebuild diff --git a/media-gfx/pixie/ChangeLog b/media-gfx/pixie/ChangeLog index 7a53751f434c..7011ddccf58b 100644 --- a/media-gfx/pixie/ChangeLog +++ b/media-gfx/pixie/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/pixie # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.25 2007/01/11 22:42:11 masterdriverz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.26 2007/02/12 04:44:59 eradicator Exp $ + +*pixie-1.7.6 (12 Feb 2007) + + 12 Feb 2007; Jeremy Huddleston + -files/pixie-1.6.2-libtool.patch, +files/pixie-1.7.6-libcommon.patch, + +pixie-1.7.6.ebuild: + Version Bump 11 Jan 2007; Charlie Shepherd -pixie-1.6.2.ebuild: diff --git a/media-gfx/pixie/Manifest b/media-gfx/pixie/Manifest index 04649d0d0396..a360d02805c6 100644 --- a/media-gfx/pixie/Manifest +++ b/media-gfx/pixie/Manifest @@ -6,16 +6,17 @@ AUX pixie-1.4.7-libtool.patch 14583 RMD160 75044cb4b56fdb7c550b599f94e621e07ace4 MD5 391ca6aaedf3654e8e09f851cf502c01 files/pixie-1.4.7-libtool.patch 14583 RMD160 75044cb4b56fdb7c550b599f94e621e07ace479f files/pixie-1.4.7-libtool.patch 14583 SHA256 3a791159938a40dfd1d9ea5cadbfda36c47b30ecc9a193c2cee672b4e4258e16 files/pixie-1.4.7-libtool.patch 14583 -AUX pixie-1.6.2-libtool.patch 15395 RMD160 34bb16a4fe943f364656c7213d06a49fc7d1a844 SHA1 18a68140bda3544a43c3a20a49a53027c3b33983 SHA256 bed6db7f99317500a83d376e020978cdb53afccd959a4f9ea3b55367d4915b9b -MD5 06728f346102a5d097ceb2633df61932 files/pixie-1.6.2-libtool.patch 15395 -RMD160 34bb16a4fe943f364656c7213d06a49fc7d1a844 files/pixie-1.6.2-libtool.patch 15395 -SHA256 bed6db7f99317500a83d376e020978cdb53afccd959a4f9ea3b55367d4915b9b files/pixie-1.6.2-libtool.patch 15395 AUX pixie-1.6.3-libcommon.patch 6767 RMD160 31fd9cedeb44c6ba162eb3e96cc632c354c3c698 SHA1 eeb398cd91cdbebef4c4660779da83a8747775c0 SHA256 5efbf4d20fe98515860dc26ff2c6225919e877deb141fd51fb1ad8ea01d0ce92 MD5 e8cc90bcfa6ad3788c1ce9cca600a0cd files/pixie-1.6.3-libcommon.patch 6767 RMD160 31fd9cedeb44c6ba162eb3e96cc632c354c3c698 files/pixie-1.6.3-libcommon.patch 6767 SHA256 5efbf4d20fe98515860dc26ff2c6225919e877deb141fd51fb1ad8ea01d0ce92 files/pixie-1.6.3-libcommon.patch 6767 -DIST Pixie-src-1.5.1.tgz 5627955 RMD160 d6f87307dbb1f032824fe6a15038f05a36095aa9 SHA256 d8ccd48b3559664e156abf13bf0927cd783684c6e684f81e0c1fb6bf2d98cfa0 +AUX pixie-1.7.6-libcommon.patch 7130 RMD160 2cca6cb1b8442420d356a20bb15821f55be6f32d SHA1 41af25e4709aa17ba8a3ad2aecb2bdb542ee08e9 SHA256 e42c6e8aa18e847908eff8e808a1536e4be8eb006e52b791cb890498fa962165 +MD5 b32927aeb814fb83fca4ad56fbf4e172 files/pixie-1.7.6-libcommon.patch 7130 +RMD160 2cca6cb1b8442420d356a20bb15821f55be6f32d files/pixie-1.7.6-libcommon.patch 7130 +SHA256 e42c6e8aa18e847908eff8e808a1536e4be8eb006e52b791cb890498fa962165 files/pixie-1.7.6-libcommon.patch 7130 +DIST Pixie-src-1.5.1.tgz 473208 RMD160 8fe5f8ee89c5b966196c1c85ec06f5a34358f52a SHA1 1f5649f1194bff517322d562911cda99349fa577 SHA256 678dc22f8f746f211b4cbe288fd2feb02b120fb419cccf3787d1f150e7901f2a DIST Pixie-src-1.6.3.tgz 6125284 RMD160 d47f70fb6a9362d389c567a73d48dd2c2d4eb939 SHA1 23b297398f8a2e290b3408e484e844a91db0fa07 SHA256 19cd9aee4b360cde8bb12862b6e312498fd3a257d58d6d133150324a433180b6 +DIST Pixie-src-1.7.6.tgz 5258068 RMD160 5ac6fbafc4b74a97b60319b8693fed85bf5f543c SHA1 0b9d71f89f03886b6787b20a8a81b1c90f309813 SHA256 4917a622521cf49e5d6d7498673d0e58fbe85ac2f2489ebf8053b0a06a3e516a EBUILD pixie-1.5.1.ebuild 1412 RMD160 1321c5826ae15ccd4bfc975bcfb82250c9ab8a85 SHA1 68c5fc883a0ddd8e7713cd969207dde6bc30f495 SHA256 79e7844882882647ca8e9e192e7d64c8a57cd7b1f6e615962cc8094d0de1057e MD5 fe08794a72d5c9e98b6274122958c19d pixie-1.5.1.ebuild 1412 RMD160 1321c5826ae15ccd4bfc975bcfb82250c9ab8a85 pixie-1.5.1.ebuild 1412 @@ -24,17 +25,24 @@ EBUILD pixie-1.6.3.ebuild 1198 RMD160 34a9c1255b25a93cc988e1885562351237297e3b S MD5 7cbd0be759576d41b0e89648a573aa22 pixie-1.6.3.ebuild 1198 RMD160 34a9c1255b25a93cc988e1885562351237297e3b pixie-1.6.3.ebuild 1198 SHA256 7fb874378ca14e04b8329f65dbeb7800e4a8d41f58c4923f274d163e69545b7c pixie-1.6.3.ebuild 1198 -MISC ChangeLog 4528 RMD160 8f57db559322434a12ab70164743054184b27be1 SHA1 df489aeaadd4c6d73c73f0b7194ed6616141b84b SHA256 560044488664952c123f873baf2744ae59b136670556c2a488e7870f01974990 -MD5 05f62b6ff3f8c76f993d7402ff4a0d38 ChangeLog 4528 -RMD160 8f57db559322434a12ab70164743054184b27be1 ChangeLog 4528 -SHA256 560044488664952c123f873baf2744ae59b136670556c2a488e7870f01974990 ChangeLog 4528 +EBUILD pixie-1.7.6.ebuild 1199 RMD160 a0857bde8e31376690cf0a04a8072f099cecf67e SHA1 0bba78fc46c449f2981520fc8384f253fb64f842 SHA256 96b5156f43ef2198992afd7d8a474eb2ba1e2ed299b296213fafced5b61e6d02 +MD5 27faf13cd3e3faa2d9e706f9360ade04 pixie-1.7.6.ebuild 1199 +RMD160 a0857bde8e31376690cf0a04a8072f099cecf67e pixie-1.7.6.ebuild 1199 +SHA256 96b5156f43ef2198992afd7d8a474eb2ba1e2ed299b296213fafced5b61e6d02 pixie-1.7.6.ebuild 1199 +MISC ChangeLog 4721 RMD160 963ca666578a1609da0885ada93593e7fa2341f6 SHA1 00f1b273cd8bbbb17d19da96bafd4ba390a5ef39 SHA256 da20a8f1e12e1e5c58924cdebf952e1c50f1fffb0bce19144fea46a8dc8c2b20 +MD5 c2c92cc8c06ab283d17f5a69b86c5a4c ChangeLog 4721 +RMD160 963ca666578a1609da0885ada93593e7fa2341f6 ChangeLog 4721 +SHA256 da20a8f1e12e1e5c58924cdebf952e1c50f1fffb0bce19144fea46a8dc8c2b20 ChangeLog 4721 MISC metadata.xml 259 RMD160 d1f5ea37202987c54db9697175a55e5609386654 SHA1 d7234631415b27fa166f13d440f0ea6e4d3f1044 SHA256 14f1bab6a31d434eda6319b2783239e50179d75501edb6e255bb6c3e665418cf MD5 c1e212329f9083e2405b16dd382d6632 metadata.xml 259 RMD160 d1f5ea37202987c54db9697175a55e5609386654 metadata.xml 259 SHA256 14f1bab6a31d434eda6319b2783239e50179d75501edb6e255bb6c3e665418cf metadata.xml 259 -MD5 cc11bdf1eb1040e9212aac2cdfa2f216 files/digest-pixie-1.5.1 241 -RMD160 7d183b701a935b28964b46f64c89c013edbc7efd files/digest-pixie-1.5.1 241 -SHA256 4f68b1488f2a1ae4a9ee43fc032519b3d56db7c446e9f40a7d4536c276280c58 files/digest-pixie-1.5.1 241 +MD5 e4281d872552ad40bc047d32f6d93ad7 files/digest-pixie-1.5.1 238 +RMD160 287898567ae5c43429e17ad653c71fe3e4414c48 files/digest-pixie-1.5.1 238 +SHA256 a1e5f3e98b3efb66e933dca9d301592c7a4a5eaad137de7e12fd90a8ea942a50 files/digest-pixie-1.5.1 238 MD5 75cf8a51461453d529d23740f4ccdc14 files/digest-pixie-1.6.3 241 RMD160 e8c4483b4fcb17ccea0cc6ee2a25c57ccdda0094 files/digest-pixie-1.6.3 241 SHA256 852c8660e74c20bacaf81c5fae48f23d3b1f19f494a5b81c9529ff339cbba591 files/digest-pixie-1.6.3 241 +MD5 fb2a466bd926c4f236a9a72a1e149dfe files/digest-pixie-1.7.6 241 +RMD160 aa403621f9f3de97dc976f9e327c59e6e233b12e files/digest-pixie-1.7.6 241 +SHA256 addf42412308b086e172a7e53b5a3f09de326b8715af73fc64e8621f9f187397 files/digest-pixie-1.7.6 241 diff --git a/media-gfx/pixie/files/digest-pixie-1.5.1 b/media-gfx/pixie/files/digest-pixie-1.5.1 index 7e70509f420a..f9f090dd0257 100644 --- a/media-gfx/pixie/files/digest-pixie-1.5.1 +++ b/media-gfx/pixie/files/digest-pixie-1.5.1 @@ -1,3 +1,3 @@ -MD5 d4a57028f8a02fd0dc3ea125442e7d6f Pixie-src-1.5.1.tgz 5627955 -RMD160 d6f87307dbb1f032824fe6a15038f05a36095aa9 Pixie-src-1.5.1.tgz 5627955 -SHA256 d8ccd48b3559664e156abf13bf0927cd783684c6e684f81e0c1fb6bf2d98cfa0 Pixie-src-1.5.1.tgz 5627955 +MD5 219ecbec4fabb7eebd81343aba54ea7c Pixie-src-1.5.1.tgz 473208 +RMD160 8fe5f8ee89c5b966196c1c85ec06f5a34358f52a Pixie-src-1.5.1.tgz 473208 +SHA256 678dc22f8f746f211b4cbe288fd2feb02b120fb419cccf3787d1f150e7901f2a Pixie-src-1.5.1.tgz 473208 diff --git a/media-gfx/pixie/files/digest-pixie-1.7.6 b/media-gfx/pixie/files/digest-pixie-1.7.6 new file mode 100644 index 000000000000..1172404b5720 --- /dev/null +++ b/media-gfx/pixie/files/digest-pixie-1.7.6 @@ -0,0 +1,3 @@ +MD5 23b370f86f25c86ac1cc70d3efc219f6 Pixie-src-1.7.6.tgz 5258068 +RMD160 5ac6fbafc4b74a97b60319b8693fed85bf5f543c Pixie-src-1.7.6.tgz 5258068 +SHA256 4917a622521cf49e5d6d7498673d0e58fbe85ac2f2489ebf8053b0a06a3e516a Pixie-src-1.7.6.tgz 5258068 diff --git a/media-gfx/pixie/files/pixie-1.6.2-libtool.patch b/media-gfx/pixie/files/pixie-1.6.2-libtool.patch deleted file mode 100644 index 73050bbdac26..000000000000 --- a/media-gfx/pixie/files/pixie-1.6.2-libtool.patch +++ /dev/null @@ -1,450 +0,0 @@ -diff -Naurp -Naurp Pixie.orig/Makefile.am Pixie/Makefile.am ---- Pixie.orig/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,29 +1,8 @@ - SUBDIRS = src - --if SELFCONTAINED -- pixdatadir = $(prefix) -- docdir = $(prefix) -- htmldocdir = $(docdir)/html -- shaderdir = $(pixdatadir)/shaders --else -- pixdatadir = $(libdir)/$(PACKAGE) -- docdir = $(datadir)/doc/$(PACKAGE) -- htmldocdir = $(docdir)/html -- shaderdir = $(pixdatadir)/shaders --endif -- --doc_DATA = README AUTHORS LICENSE COPYING -- - man_MANS = man/rndr.1 man/sdrc.1 man/sdrinfo.1 man/texmake.1 - --EXTRA_DIST = DEVNOTES LICENSE -+doc_DATA = AUTHORS ChangeLog COPYING DEVNOTES LICENSE NEWS README doc/* - --dist-hook: -- cp -rf $(srcdir)/doc $(DESTDIR)$(distdir) -- cp -rf $(srcdir)/shaders $(DESTDIR)$(distdir) -+shader_DATA = shaders/* - --install-data-hook: -- mkdir -p $(DESTDIR)$(htmldocdir) -- cp -rf $(srcdir)/doc/* $(DESTDIR)$(htmldocdir) -- mkdir -p $(DESTDIR)$(shaderdir) -- cp -rf $(srcdir)/shaders/* $(DESTDIR)$(shaderdir) -diff -Naurp -Naurp Pixie.orig/configure.in Pixie/configure.in ---- Pixie.orig/configure.in 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/configure.in 2006-04-12 07:40:02.000000000 +0000 -@@ -14,6 +14,7 @@ dnl - AC_PROG_CC - AC_PROG_CPP - AC_PROG_CXX -+AM_DISABLE_STATIC - AM_PROG_LIBTOOL - AC_PROG_INSTALL - AC_PROG_MAKE_SET -@@ -101,17 +102,80 @@ AC_SUBST(TIFF_LIBS) - AC_SUBST(BUILD_SHOW) - - dnl --------------------------------------------------- -+dnl Set custom directories for shaders, models, procedurals, and displays -+dnl -+ -+AC_ARG_WITH(docdir, -+ AS_HELP_STRING([--with-docdir=DIR],[directory where we install documentation (Default: DATADIR/doc/Pixie)]), -+ docdir="${withval}", -+ docdir="${datadir}/doc/Pixie") -+ -+AC_ARG_WITH(shaderdir, -+ AS_HELP_STRING([--with-shaderdir=DIR],[directory where we store shaders (Default: DATADIR/Pixie/shaders)]), -+ shaderdir="${withval}", -+ shaderdir="${datadir}/Pixie/shaders") -+ -+AC_ARG_WITH(modeldir, -+ AS_HELP_STRING([--with-modeldir=DIR],[directory where we store models (Default: DATADIR/Pixie/models)]), -+ modeldir="${withval}", -+ modeldir="${datadir}/Pixie/models") -+ -+AC_ARG_WITH(texturedir, -+ AS_HELP_STRING([--with-modeldir=DIR],[directory where we store models (Default: DATADIR/Pixie/textures)]), -+ texturedir="${withval}", -+ texturedir="${datadir}/Pixie/textures") -+ -+AC_ARG_WITH(proceduraldir, -+ AS_HELP_STRING([--with-shaderdir=DIR],[directory to store shaders (Default: LIBDIR/Pixie/procedurals)]), -+ proceduraldir="${withval}", -+ proceduraldir="${libdir}/Pixie/procedurals") -+ -+AC_ARG_WITH(displaysdir, -+ AS_HELP_STRING([--with-displaysdir=DIR],[directory to store displays (Default: LIBDIR/Pixie/displays)]), -+ displaysdir="${withval}", -+ displaysdir="${libdir}/Pixie/displays") -+ -+dnl --------------------------------------------------- - dnl Are we building for self contained distribution - dnl - - AC_ARG_ENABLE(selfcontained, --AS_HELP_STRING([--enable-selfcontained],[Build for a selfcontained setup]), -+AS_HELP_STRING([--enable-selfcontained],[Build for a selfcontained setup (overrides custom directory settings)]), - [case "${enableval}" in --yes) selfcontained=true ;; --no) selfcontained=false ;; --*) AC_MSG_ERROR(bad value ${enableval} for --enable-selfcontained) ;; --esac],[selfcontained=false]) --AM_CONDITIONAL(SELFCONTAINED, test x$selfcontained = xtrue) -+ yes) docdir="${prefix}/doc" -+ shaderdir="${prefix}/shaders" -+ modeldir="${prefix}/models" -+ texturedir="${prefix}/textures" -+ displaysdir="${prefix}/displays" -+ proceduraldir="${prefix}/procedurals" -+ ;; -+ no) ;; -+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-selfcontained) ;; -+esac]) -+ -+dnl --------------------------------------------------- -+dnl Now tell the c preprocessor and the Makefiles where stuff goes -+dnl -+ -+AC_DEFUN([AC_DEFINE_DIR], [ -+ prefix_NONE= -+ exec_prefix_NONE= -+ test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix -+ test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix -+ eval ac_define_dir="\"[$]$2\"" -+ AC_SUBST($1, "$ac_define_dir") -+ AC_SUBST($2, "$ac_define_dir") -+ AC_DEFINE_UNQUOTED($1, "$ac_define_dir", [$3]) -+ test "$prefix_NONE" && prefix=NONE -+ test "$exec_prefix_NONE" && exec_prefix=NONE -+]) -+ -+AC_DEFINE_DIR(PIXIE_DOCS,docdir,[Directory where we store documentation]) -+AC_DEFINE_DIR(PIXIE_SHADERS,shaderdir,[Directory where we store shaders]) -+AC_DEFINE_DIR(PIXIE_MODELS,modeldir,[Directory where we store models]) -+AC_DEFINE_DIR(PIXIE_TEXTURES,texturedir,[Directory where we store textures]) -+AC_DEFINE_DIR(PIXIE_DISPLAYS,displaysdir,[Directory where we store displays]) -+AC_DEFINE_DIR(PIXIE_PROCEDURALS,proceduraldir,[Directory where we store procedurals]) - - dnl --------------------------------------------------- - dnl Write the output -@@ -125,10 +189,3 @@ echo ">make -install" - echo "to built Pixie" - echo - -- -- -- -- -- -- -- -diff -Naurp -Naurp Pixie.orig/src/common/Makefile.am Pixie/src/common/Makefile.am ---- Pixie.orig/src/common/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/common/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,6 +1,9 @@ --noinst_LIBRARIES = libcommon.a -- --libcommon_a_SOURCES = algebra.cpp os.cpp memoryman.cpp --libcommon_a_CFLAGS = -fPIC -DPIC --libcommon_a_CXXFLAGS = -fPIC -DPIC -- -+lib_LTLIBRARIES = libpixiecommon.la -+ -+LIBPIXIECOMMON_CURRENT_VERSION=0 -+LIBPIXIECOMMON_REVISION_VERSION=0 -+LIBPIXIECOMMON_AGE_VERSION=0 -+ -+libpixiecommon_la_LDFLAGS = -export-dynamic -version-info $(LIBPIXIECOMMON_CURRENT_VERSION):$(LIBPIXIECOMMON_REVISION_VERSION):$(LIBPIXIECOMMON_AGE_VERSION) -+ -+libpixiecommon_la_SOURCES = algebra.cpp os.cpp memoryman.cpp -diff -Naurp -Naurp Pixie.orig/src/common/os.h Pixie/src/common/os.h ---- Pixie.orig/src/common/os.h 2006-04-08 23:25:07.000000000 +0000 -+++ Pixie/src/common/os.h 2006-04-12 07:40:02.000000000 +0000 -@@ -32,7 +32,10 @@ - #define OS_H - - #include "global.h" --#include "../../config.h" -+ -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif - - #ifdef WIN32 - // >> WIN32 -diff -Naurp -Naurp Pixie.orig/src/file/Makefile.am Pixie/src/file/Makefile.am ---- Pixie.orig/src/file/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/file/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,15 +1,7 @@ -- --if SELFCONTAINED -- displaysdir = $(prefix)/displays --else -- displaysdir = $(libdir)/$(PACKAGE)/displays --endif -- - displays_LTLIBRARIES = file.la - --LIBS = @TIFF_LIBS@ - file_la_SOURCES = file.cpp --file_la_LIBADD = ../common/libcommon.a -+file_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ - file_la_LDFLAGS = -module -avoid-version - - INCLUDES = -I.. -diff -Naurp -Naurp Pixie.orig/src/framebuffer/Makefile.am Pixie/src/framebuffer/Makefile.am ---- Pixie.orig/src/framebuffer/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/framebuffer/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,16 +1,9 @@ -+displays_LTLIBRARIES = framebuffer.la - --if SELFCONTAINED -- displaysdir = $(prefix)/displays --else -- displaysdir = $(libdir)/$(PACKAGE)/displays --endif -- --displays_LTLIBRARIES = framebuffer.la -- --CFLAGS = @CFLAGS@ @X_CFLAGS@ - framebuffer_la_SOURCES = framebuffer.cpp fbx.cpp --framebuffer_la_LIBADD = ../common/libcommon.a @X_LIBS@ -+framebuffer_la_LIBADD = ../common/libpixiecommon.la @X_LIBS@ - framebuffer_la_LDFLAGS = -module -avoid-version @X_LDFLAGS@ -+framebuffer_la_CXXFLAGS = @X_CFLAGS@ - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/openexr/Makefile.am Pixie/src/openexr/Makefile.am ---- Pixie.orig/src/openexr/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/openexr/Makefile.am 2006-04-12 07:43:07.000000000 +0000 -@@ -1,17 +1,9 @@ -- --if SELFCONTAINED -- displaysdir = $(prefix)/displays --else -- displaysdir = $(libdir)/$(PACKAGE)/displays --endif -- - if BUILD_OPENEXR - displays_LTLIBRARIES = openexr.la - endif - --LIBS = @OPENEXR_LIBS@ - openexr_la_SOURCES = openexr.cpp --openexr_la_LIBADD = ../common/libcommon.a -+openexr_la_LIBADD = ../common/libpixiecommon.la @OPENEXR_LIBS@ - openexr_la_LDFLAGS = -module -avoid-version - - INCLUDES = -I.. @OPENEXR_INCLUDES@ -diff -Naurp -Naurp Pixie.orig/src/precomp/Makefile.am Pixie/src/precomp/Makefile.am ---- Pixie.orig/src/precomp/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/precomp/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -2,7 +2,7 @@ noinst_PROGRAMS = precomp - - precomp_SOURCES = precomp.cpp - --precomp_LDADD = ../common/libcommon.a -+precomp_LDADD = ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/rgbe/Makefile.am Pixie/src/rgbe/Makefile.am ---- Pixie.orig/src/rgbe/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/rgbe/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,14 +1,7 @@ -- --if SELFCONTAINED -- displaysdir = $(prefix)/displays --else -- displaysdir = $(libdir)/$(PACKAGE)/displays --endif -- - displays_LTLIBRARIES = rgbe.la - - rgbe_la_SOURCES = file.cpp rgbe.cpp --rgbe_la_LIBADD = ../common/libcommon.a -+rgbe_la_LIBADD = ../common/libpixiecommon.la - rgbe_la_LDFLAGS = -module -avoid-version - - INCLUDES = -I.. -diff -Naurp -Naurp Pixie.orig/src/ri/Makefile.am Pixie/src/ri/Makefile.am ---- Pixie.orig/src/ri/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/ri/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,6 +1,10 @@ - lib_LTLIBRARIES = libri.la - --LIBS = @TIFF_LIBS@ -+LIBRI_CURRENT_VERSION=0 -+LIBRI_REVISION_VERSION=0 -+LIBRI_AGE_VERSION=0 -+ -+libri_la_LDFLAGS = -export-dynamic -version-info $(LIBRI_CURRENT_VERSION):$(LIBRI_REVISION_VERSION):$(LIBRI_AGE_VERSION) - libri_la_SOURCES = attributes.cpp \ - bundles.cpp \ - cache.cpp \ -@@ -62,8 +66,7 @@ libri_la_SOURCES = attributes.cpp \ - xform.cpp \ - zbuffer.cpp - --libri_la_LIBADD = ../common/libcommon.a --libri_la_LDFLAGS = -version-info 0:0:0 -+libri_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/ri/options.cpp Pixie/src/ri/options.cpp ---- Pixie.orig/src/ri/options.cpp 2006-04-08 23:25:05.000000000 +0000 -+++ Pixie/src/ri/options.cpp 2006-04-12 07:40:02.000000000 +0000 -@@ -37,6 +37,10 @@ - #include "renderer.h" - #include "stats.h" - -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif -+ - /////////////////////////////////////////////////////////////////////// - // Class : COptions - // Method : optionsDeleteSearchPath -@@ -260,18 +264,38 @@ COptions::COptions() { - - hider = strdup("stochastic"); - -- archivePath = optionsGetSearchPath(".:%PIXIEHOME%/models:%RIBS%",NULL); -+#ifndef PIXIE_MODELS -+#define PIXIE_MODELS "%PIXIEHOME%/models" -+#endif -+ -+#ifndef PIXIE_PROCEDURALS -+#define PIXIE_PROCEDURALS "%PIXIE_PROCEDURALS%" -+#endif -+ -+#ifndef PIXIE_TEXTURES -+#define PIXIE_TEXTURES "%PIXIEHOME%/textures" -+#endif -+ -+#ifndef PIXIE_SHADERS -+#define PIXIE_SHADERS "%PIXIEHOME%/shaders" -+#endif -+ -+#ifndef PIXIE_DISPLAYS -+#define PIXIE_DISPLAYS "%PIXIE_DISPLAY%" -+#endif -+ -+ archivePath = optionsGetSearchPath(".:%PIXIEHOME%/models:%RIBS%:" PIXIE_MODELS,NULL); - #ifdef _DEBUG -- proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/bind:%PROCEDURALS%",NULL); -+ proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/bind:%PIXIE_PROCEDURALS%:%PROCEDURALS%",NULL); - #else -- proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/lib:%PROCEDURALS%",NULL); -+ proceduralPath = optionsGetSearchPath(".:%PIXIEHOME%/procedurals:%PIXIEHOME%/lib:%PIXIE_PROCEDURALS%:%PROCEDURALS%:" PIXIE_PROCEDURALS,NULL); - #endif -- texturePath = optionsGetSearchPath(".:%PIXIEHOME%/textures:%TEXTURES%",NULL); -- shaderPath = optionsGetSearchPath(".:%PIXIEHOME%/shaders:%SHADERS%",NULL); -+ texturePath = optionsGetSearchPath(".:%PIXIEHOME%/textures:%TEXTURES%:" PIXIE_TEXTURES,NULL); -+ shaderPath = optionsGetSearchPath(".:%PIXIEHOME%/shaders:%SHADERS%:" PIXIE_SHADERS,NULL); - #ifdef _DEBUG -- displayPath = optionsGetSearchPath(".:%PIXIEHOME%/bind:%DISPLAYS%",NULL); -+ displayPath = optionsGetSearchPath(".:%PIXIEHOME%/bind:%PIXIE_DISPLAY%:%DISPLAYS%",NULL); - #else -- displayPath = optionsGetSearchPath(".:%PIXIEHOME%/displays:%DISPLAYS%",NULL); -+ displayPath = optionsGetSearchPath(".:%PIXIEHOME%/displays:%PIXIE_DISPLAY%:%DISPLAYS%:" PIXIE_DISPLAYS,NULL); - #endif - temporaryPath = strdup("temp"); - -diff -Naurp -Naurp Pixie.orig/src/rndr/Makefile.am Pixie/src/rndr/Makefile.am ---- Pixie.orig/src/rndr/Makefile.am 2006-04-08 23:25:09.000000000 +0000 -+++ Pixie/src/rndr/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,7 +1,7 @@ - bin_PROGRAMS = rndr - - rndr_SOURCES = rndr.cpp --rndr_LDADD = ../ri/libri.la ../common/libcommon.a -+rndr_LDADD = ../ri/libri.la ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/sdr/Makefile.am Pixie/src/sdr/Makefile.am ---- Pixie.orig/src/sdr/Makefile.am 2006-04-08 23:25:10.000000000 +0000 -+++ Pixie/src/sdr/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,9 +1,14 @@ - lib_LTLIBRARIES = libsdr.la - -+LIBSDR_CURRENT_VERSION=0 -+LIBSDR_REVISION_VERSION=0 -+LIBSDR_AGE_VERSION=0 -+ -+libsdr_la_LDFLAGS = -export-dynamic -version-info $(LIBSDR_CURRENT_VERSION):$(LIBSDR_REVISION_VERSION):$(LIBSDR_AGE_VERSION) -+ - libsdr_la_SOURCES = sdr.cpp - --libsdr_la_LIBADD = ../common/libcommon.a --libsdr_la_LDFLAGS = -version-info 0:0:0 -+libsdr_la_LIBADD = ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/sdrc/Makefile.am Pixie/src/sdrc/Makefile.am ---- Pixie.orig/src/sdrc/Makefile.am 2006-04-08 23:25:10.000000000 +0000 -+++ Pixie/src/sdrc/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,7 +1,7 @@ - bin_PROGRAMS = sdrc - - sdrc_SOURCES = sdrc.cpp dso.cpp expression.cpp opcodes.cpp sdr.cpp sl.cpp pp1.c pp2.c pp3.c pp4.c pp5.c pp6.c pp7.c pp8.c --sdrc_LDADD = ../common/libcommon.a -+sdrc_LDADD = ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/sdrinfo/Makefile.am Pixie/src/sdrinfo/Makefile.am ---- Pixie.orig/src/sdrinfo/Makefile.am 2006-04-08 23:25:10.000000000 +0000 -+++ Pixie/src/sdrinfo/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,7 +1,7 @@ - bin_PROGRAMS = sdrinfo - - sdrinfo_SOURCES = sdrinfo.cpp --sdrinfo_LDADD = ../sdr/libsdr.la ../common/libcommon.a -+sdrinfo_LDADD = ../sdr/libsdr.la ../common/libpixiecommon.la - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/show/Makefile.am Pixie/src/show/Makefile.am ---- Pixie.orig/src/show/Makefile.am 2006-04-08 23:25:10.000000000 +0000 -+++ Pixie/src/show/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -4,9 +4,6 @@ endif - - EXTRA_DIST = *.h show.dsp - --CFLAGS = @CFLAGS@ @X_CFLAGS@ --LIBS = @TIFF_LIBS@ -- - show_SOURCES = cacheView.cpp \ - radView.cpp \ - interface.cpp \ -@@ -15,7 +12,8 @@ show_SOURCES = cacheView.cpp \ - imageView.cpp \ - show.cpp - --show_LDADD = @X_LIBS@ @LIBFLTK@ @LIBFLTKGL@ @X_LDFLAGS@ ../common/libcommon.a -+show_LDADD = @X_LIBS@ @LIBFLTK@ @LIBFLTKGL@ @X_LDFLAGS@ @TIFF_LIBS@ ../common/libpixiecommon.la -+show_CXXFLAGS = @X_CFLAGS@ - - INCLUDES = -I.. - -diff -Naurp -Naurp Pixie.orig/src/texmake/Makefile.am Pixie/src/texmake/Makefile.am ---- Pixie.orig/src/texmake/Makefile.am 2006-04-08 23:25:10.000000000 +0000 -+++ Pixie/src/texmake/Makefile.am 2006-04-12 07:40:02.000000000 +0000 -@@ -1,7 +1,7 @@ - bin_PROGRAMS = texmake - - texmake_SOURCES = texmake.cpp --texmake_LDADD = ../ri/libri.la ../common/libcommon.a -+texmake_LDADD = ../ri/libri.la ../common/libpixiecommon.la - - INCLUDES = -I.. - diff --git a/media-gfx/pixie/files/pixie-1.7.6-libcommon.patch b/media-gfx/pixie/files/pixie-1.7.6-libcommon.patch new file mode 100644 index 000000000000..aee8e009db22 --- /dev/null +++ b/media-gfx/pixie/files/pixie-1.7.6-libcommon.patch @@ -0,0 +1,185 @@ +diff -Naurp Pixie.orig/src/common/Makefile.am Pixie/src/common/Makefile.am +--- Pixie.orig/src/common/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/common/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,11 +1,10 @@ +-lib_LTLIBRARIES = libcommon.la ++lib_LTLIBRARIES = libpixiecommon.la + +-LIBCOMMON_CURRENT_VERSION=0 +-LIBCOMMON_REVISION_VERSION=0 +-LIBCOMMON_AGE_VERSION=0 ++LIBPIXIECOMMON_CURRENT_VERSION=0 ++LIBPIXIECOMMON_REVISION_VERSION=0 ++LIBPIXIECOMMON_AGE_VERSION=0 + +-libcommon_la_LDFLAGS = -export-dynamic -version-info $(LIBCOMMON_CURRENT_VERSION):$(LIBCOMMON_REVISION_VERSION):$(LIBCOMMON_AGE_VERSION) ++libpixiecommon_la_LDFLAGS = -export-dynamic -version-info $(LIBPIXIECOMMON_CURRENT_VERSION):$(LIBPIXIECOMMON_REVISION_VERSION):$(LIBPIXIECOMMON_AGE_VERSION) + +-libcommon_la_SOURCES = algebra.cpp os.cpp memoryman.cpp +- ++libpixiecommon_la_SOURCES = algebra.cpp os.cpp memoryman.cpp + +diff -Naurp Pixie.orig/src/file/Makefile.am Pixie/src/file/Makefile.am +--- Pixie.orig/src/file/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/file/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,7 +1,7 @@ + displays_LTLIBRARIES = file.la + + file_la_SOURCES = file.cpp +-file_la_LIBADD = ../common/libcommon.la @TIFF_LIBS@ ++file_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ + file_la_LDFLAGS = -module -avoid-version + + INCLUDES = -I.. +diff -Naurp Pixie.orig/src/framebuffer/Makefile.am Pixie/src/framebuffer/Makefile.am +--- Pixie.orig/src/framebuffer/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/framebuffer/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -3,7 +3,7 @@ displays_LTLIBRARIES = framebuffer.la + endif + + framebuffer_la_SOURCES = framebuffer.cpp fbx.cpp +-framebuffer_la_LIBADD = ../common/libcommon.la @X_LIBS@ ++framebuffer_la_LIBADD = ../common/libpixiecommon.la @X_LIBS@ + framebuffer_la_LDFLAGS = -module -avoid-version @X_LDFLAGS@ + framebuffer_la_CXXFLAGS = @X_CFLAGS@ + +diff -Naurp Pixie.orig/src/gui/Makefile.am Pixie/src/gui/Makefile.am +--- Pixie.orig/src/gui/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/gui/Makefile.am 2007-02-12 04:32:46.000000000 +0000 +@@ -4,14 +4,14 @@ if BUILD_SHOW + endif + + #gui_la_SOURCES = opengl.cpp +-#gui_la_LIBADD = ../common/libcommon.la @QT_LIBS@ ++#gui_la_LIBADD = ../common/libpixiecommon.la @QT_LIBS@ + #gui_la_CXXFLAGS = $(AM_CXXFLAGS) @QT_CXXFLAGS@ + #gui_la_LDFLAGS = -module -avoid-version @QT_LDFLAGS@ + # + #INCLUDES = -I.. @QT_INCLUDES@ + + gui_la_SOURCES = opengl.cpp +-gui_la_LIBADD = ../common/libcommon.la @X_LIBS@ ++gui_la_LIBADD = ../common/libpixiecommon.la @X_LIBS@ + gui_la_CXXFLAGS = $(AM_CXXFLAGS) @X_CFLAGS@ @FLTK_CXXFLAGS@ + gui_la_LDFLAGS = -module -avoid-version @FLTK_LDFLAGS@ @X_LDFLAGS@ + +diff -Naurp Pixie.orig/src/openexr/Makefile.am Pixie/src/openexr/Makefile.am +--- Pixie.orig/src/openexr/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/openexr/Makefile.am 2007-02-12 04:30:28.000000000 +0000 +@@ -3,7 +3,7 @@ if BUILD_OPENEXR + endif + + openexr_la_SOURCES = openexr.cpp +-openexr_la_LIBADD = ../common/libcommon.la @OPENEXR_LIBS@ ++openexr_la_LIBADD = ../common/libpixiecommon.la @OPENEXR_LIBS@ + openexr_la_LDFLAGS = -module -avoid-version @OPENEXR_LDFLAGS@ + + INCLUDES = -I.. @OPENEXR_INCLUDES@ +diff -Naurp Pixie.orig/src/precomp/Makefile.am Pixie/src/precomp/Makefile.am +--- Pixie.orig/src/precomp/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/precomp/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -2,7 +2,7 @@ noinst_PROGRAMS = precomp + + precomp_SOURCES = precomp.cpp + +-precomp_LDADD = ../common/libcommon.la ++precomp_LDADD = ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/rgbe/Makefile.am Pixie/src/rgbe/Makefile.am +--- Pixie.orig/src/rgbe/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/rgbe/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,7 +1,7 @@ + displays_LTLIBRARIES = rgbe.la + + rgbe_la_SOURCES = file.cpp rgbe.cpp +-rgbe_la_LIBADD = ../common/libcommon.la ++rgbe_la_LIBADD = ../common/libpixiecommon.la + rgbe_la_LDFLAGS = -module -avoid-version + + INCLUDES = -I.. +diff -Naurp Pixie.orig/src/ri/Makefile.am Pixie/src/ri/Makefile.am +--- Pixie.orig/src/ri/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/ri/Makefile.am 2007-02-12 04:30:59.000000000 +0000 +@@ -69,7 +69,7 @@ libri_la_SOURCES = attributes.cpp \ + xform.cpp \ + zbuffer.cpp + +-libri_la_LIBADD = ../common/libcommon.la @TIFF_LIBS@ @ZLIB_LIBS@ ++libri_la_LIBADD = ../common/libpixiecommon.la @TIFF_LIBS@ @ZLIB_LIBS@ + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/rndr/Makefile.am Pixie/src/rndr/Makefile.am +--- Pixie.orig/src/rndr/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/rndr/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = rndr + + rndr_SOURCES = rndr.cpp +-rndr_LDADD = ../ri/libri.la ../common/libcommon.la ++rndr_LDADD = ../ri/libri.la ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/sdr/Makefile.am Pixie/src/sdr/Makefile.am +--- Pixie.orig/src/sdr/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/sdr/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -8,7 +8,7 @@ libsdr_la_LDFLAGS = -export-dynamic -ver + + libsdr_la_SOURCES = sdr.cpp + +-libsdr_la_LIBADD = ../common/libcommon.la ++libsdr_la_LIBADD = ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/sdrc/Makefile.am Pixie/src/sdrc/Makefile.am +--- Pixie.orig/src/sdrc/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/sdrc/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = sdrc + + sdrc_SOURCES = sdrc.cpp dso.cpp expression.cpp opcodes.cpp sdr.cpp sl.cpp pp1.c pp2.c pp3.c pp4.c pp5.c pp6.c pp7.c pp8.c +-sdrc_LDADD = ../common/libcommon.la ++sdrc_LDADD = ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/sdrinfo/Makefile.am Pixie/src/sdrinfo/Makefile.am +--- Pixie.orig/src/sdrinfo/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/sdrinfo/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = sdrinfo + + sdrinfo_SOURCES = sdrinfo.cpp +-sdrinfo_LDADD = ../sdr/libsdr.la ../common/libcommon.la ++sdrinfo_LDADD = ../sdr/libsdr.la ../common/libpixiecommon.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/show/Makefile.am Pixie/src/show/Makefile.am +--- Pixie.orig/src/show/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/show/Makefile.am 2007-02-12 04:29:48.000000000 +0000 +@@ -6,7 +6,7 @@ EXTRA_DIST = *.h show.dsp + + show_SOURCES = show.cpp + +-show_LDADD = ../common/libcommon.la ../ri/libri.la ++show_LDADD = ../common/libpixiecommon.la ../ri/libri.la + + INCLUDES = -I.. + +diff -Naurp Pixie.orig/src/texmake/Makefile.am Pixie/src/texmake/Makefile.am +--- Pixie.orig/src/texmake/Makefile.am 2006-10-14 01:52:39.000000000 +0000 ++++ Pixie/src/texmake/Makefile.am 2007-02-12 04:28:52.000000000 +0000 +@@ -1,7 +1,7 @@ + bin_PROGRAMS = texmake + + texmake_SOURCES = texmake.cpp +-texmake_LDADD = ../ri/libri.la ../common/libcommon.la ++texmake_LDADD = ../ri/libri.la ../common/libpixiecommon.la + + INCLUDES = -I.. + diff --git a/media-gfx/pixie/pixie-1.7.6.ebuild b/media-gfx/pixie/pixie-1.7.6.ebuild new file mode 100644 index 000000000000..0e5e4330d3ef --- /dev/null +++ b/media-gfx/pixie/pixie-1.7.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-1.7.6.ebuild,v 1.1 2007/02/12 04:44:59 eradicator Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools + +IUSE="X openexr" + +MY_PN="Pixie" +S="${WORKDIR}/${MY_PN}" + +DESCRIPTION="RenderMan like photorealistic renderer." +HOMEPAGE="http://pixie.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="-amd64 ~ppc ~sparc ~x86" + +RDEPEND="media-libs/jpeg + sys-libs/zlib + media-libs/tiff + openexr? ( media-libs/openexr ) + X? ( || ( x11-libs/libXext virtual/x11 ) )" + +src_unpack() { + unpack ${A} + + cd "${S}" + + # Don't install a lib with a name like 'libcommon'. Renaming it to libpixiecommon + epatch ${FILESDIR}/${PN}-1.7.6-libcommon.patch + + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die + + keepdir /usr/$(get_libdir)/Pixie/procedurals + keepdir /usr/share/Pixie/models + + insinto /usr/share/Pixie/textures + doins ${S}/textures/checkers.tif + + edos2unix ${D}/usr/share/Pixie/shaders/* + mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF} +} -- 2.26.2