diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-06-28 12:05:35 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-06-28 12:05:35 +0000 |
commit | 4ac4b516629979000b5294568858013dfaf37531 (patch) | |
tree | 9c9765707e7f52626c2265da4d7e649a904bda91 /media-gfx | |
parent | add test deps, upstream patch, drop amd64-fbsd hppa x86-fbsd keywords to incl... (diff) | |
download | historical-4ac4b516629979000b5294568858013dfaf37531.tar.gz historical-4ac4b516629979000b5294568858013dfaf37531.tar.bz2 historical-4ac4b516629979000b5294568858013dfaf37531.zip |
version bump wrt #515390
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/blender/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/blender/Manifest | 31 | ||||
-rw-r--r-- | media-gfx/blender/blender-2.71.ebuild | 268 | ||||
-rw-r--r-- | media-gfx/blender/files/02-blender-2.71-unbundle-colamd.patch | 52 | ||||
-rw-r--r-- | media-gfx/blender/files/04-blender-2.71-unbundle-glog.patch | 56 |
5 files changed, 404 insertions, 12 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index d6ee9cbdca2d..394956dca4da 100644 --- a/media-gfx/blender/ChangeLog +++ b/media-gfx/blender/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/blender # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.268 2014/05/15 17:08:04 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.269 2014/06/28 12:05:30 hasufell Exp $ + +*blender-2.71 (28 Jun 2014) + + 28 Jun 2014; Julian Ospald <hasufell@gentoo.org> +blender-2.71.ebuild, + +files/02-blender-2.71-unbundle-colamd.patch, + +files/04-blender-2.71-unbundle-glog.patch: + version bump wrt #515390 15 May 2014; Ulrich Müller <ulm@gentoo.org> blender-2.66-r1.ebuild, blender-2.67b-r1.ebuild, blender-2.68.ebuild, blender-2.68a.ebuild, diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index eebcb9ec29b9..39dc789f20da 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -5,11 +5,13 @@ AUX 01-blender-2.67b-doxyfile.patch 733 SHA256 54da3cad8c1ab1f436a74ea720a0bcd65 AUX 01-blender-2.68-doxyfile.patch 732 SHA256 d485da5bdf1f123d945b8f945a84ead947ff123b4126a626bb394256ea07cbec SHA512 5191a25127e24d3ac7b18f6cd0b247e76a3fdeec46640f5d1ecba118fa35abbdaf19642c718e85149a304e9dc2093465b54b96e343f125163d091f045ab09db7 WHIRLPOOL 5cfdb697bf18aa50488495d017feda2e071332996a72e1a3c347291034c7230ad63c89e38670a86df633d3dc8359962e8888e4f0f1a2fa0b478acdb33a8f4d64 AUX 02-blender-2.67b-unbundle-colamd.patch 1840 SHA256 8d5142ffdb433315b5c8107856c47f5848e58d8070d05e0a2a61531d54b9747a SHA512 d916efb1a94c9b6d443430bd793b8af3a024b11c8b8c0cfde3f6329994aa836831b5191af93c18ae21d5f80002a30d18e9c6577b982c60884b3b5ddfb93060d4 WHIRLPOOL 2f2c0fa0013a049816b5a0574ad29d4c45d467582d971fc99eabdcbebf11621fddff891c2466ec9dd4506c9b922326d967c3d534e83893419de169f0448ad760 AUX 02-blender-2.68-unbundle-colamd.patch 1863 SHA256 721620f8451f585a35725570cba5ed61106710f4dac9de6aaa81b3d5335db41f SHA512 3163b07fa184b0cff975e53adeb27f10fe01121fc55daf059d4967e5415ef590cfcab087bf862cdb8313319ea99d53252d04f72163cb092087b4e54bb778b623 WHIRLPOOL 450218063c8f999e7d16af9d01adf18847446bdf7a07166e4f8866413de6fd7c46dddcf0156c876bcd84c8775eaabfd0aaa6852f580d54bccf3c747f49afb7c4 +AUX 02-blender-2.71-unbundle-colamd.patch 1592 SHA256 d86234ea75cec01786685e985a6f0f13b60f4fbd296e906d96a24beed9118598 SHA512 f3656380c588ebc54f327e1997e0b0f6fc9b2f3ac6fa2fcae6eb2c217503d5567fb88972d8eec4dd3a1f0dea0aee9171914d0436042d672c097e8777d31ff76b WHIRLPOOL bb8ece004007b4b25a7c772c0a2e8ccdb6ed21e5ab265446465feecd99c803434e0093e9e580893fdda34489cb4c404a56a46f09684a5f3854f23dd2f856eede AUX 03-blender-2.67b-remove-binreloc.patch 918 SHA256 f654304421f63bb89862c1688aa288fae744519e03fa292dac191ea0a51c8b90 SHA512 7a53cdf6f31a0f33298adfc3113967547c75451552ce514749ed4926598f0fdffb4854c5443d140f76ec483be7342b4d18bdacfa460b3b3603072a7912429666 WHIRLPOOL ccfb950fe7dab6b7e1ca5e1a1a77327d7a32b8045518063b016dbb73b2595cc7b4281ead7d078089e3b9e7b17ab5566d641d73b3d8c5019b3ae0059220f6ea31 AUX 03-blender-2.68-remove-binreloc.patch 918 SHA256 53c26a698bf5026593ba144133a4f8e89d6cd9433dbd6c2f2f6e5638d2d3e27c SHA512 71c973b208f3177b83ae23f224e66c8b8f8db50e8f822a7ff050fe77513ee68f834654b0099b4639fb718be9ac5ad4a1abae8397042818066cb477759a1887a3 WHIRLPOOL 9179ecac1ef919d75ed0ee9463b7df7861926eb3dd3c486de6798fe0aa6ca29dc1240bcf24efc035d91c442d87143576b4ea5957519f2793a2e82ea9c37391cd AUX 04-blender-2.67b-unbundle-glog.patch 3278 SHA256 2eaf6be80747200763fb3a5956cd0883c178ce17995f1563c747347bad096a8a SHA512 e2189b0e0841e5239195501ad39e59e571ad609e8ae81b87669c9c28165d4b92c5bc55080067756ab7655339b8e276d2d90a762c3c8ab4653ced0f4cc5d9246f WHIRLPOOL 154b807351b27b74933683777aadb5b4ddd1208ab6aff5317e5ba2feb4e504469b0c82a76c293fb90247f7a41987b8c4842bd9b724bd165077117cf186ffd845 AUX 04-blender-2.68-unbundle-glog.patch 3352 SHA256 52e5d89d59e1610e84ab6e319e55c073f80b67bd94ed7bc2af1f57074a32405a SHA512 407d313cbc1bc21cab50e3344b4647a03c396ceeccca5e844c14b8c0110638bfe064a283ea886e81ee628278ce89f54aa6c8ce6d0b5b35cc987b42a311d806a1 WHIRLPOOL 28d3c152e6997d4f15f9bf94f1a3758f36928e44c10a8f7eb4fb2e524cf0af2dad9aae93eecc93d72f2c732e39e6f3b135071f391eeadfaa0fc121cd73ae30f9 AUX 04-blender-2.70-unbundle-glog.patch 3328 SHA256 a3ea77f91417bcc685346c957fa5979f4c65f9e602e81295acd26f7bf4fb002d SHA512 2bd17df822e19c2ceefabbe4f9beedfc4ea2bd2bf1b37efbecaeebc1e3b4114e4e953f5aea46bfe1264fbd365b602963bd7fa115f7ec0e4d222b15ba87131cef WHIRLPOOL 4aa12f49a711ba18ee03dd96771b1fdb52984a29164db10ae81500fb5092c6bc810e5a78fbeee9c90e48a417c3f26517a34cae904a9dbecbea2c0b0081bded0e +AUX 04-blender-2.71-unbundle-glog.patch 1650 SHA256 bec78cb9ec67f5a5fafdca06bf796c8e9a4f531fbf3ab78ebe124df317e9c8eb SHA512 92eaca756e5b0c6c1c958cb58a47b9aeb87dcd6494ec7a7fee83ec06887e3fa323886e44cfcc968e40f4cb99a352cdba56ea25c6c5a051b769101e0ae3eecdc1 WHIRLPOOL 54e65ec7e42d4e847caec17312b53e349fb40d2bac0a924ca7cedddaf8773acb30750a1f903b4c9c142c04d2ba76095a16ab50043ab1112b198bca5e048ef202 AUX 05-blender-2.67b-unbundle-eigen3.patch 30917 SHA256 587dbe4c263e564edfde0611b2fdde3527442d9c72759912e3efa484bc1ff152 SHA512 1dc845eb8ea6a1f5dae43c88eba9130501b80fa6f9948d294beb236fd9d77f0d6dc8efedcd2827e50721b19b302f97912aacd9d2b0d5904ef08ca21970279194 WHIRLPOOL 4978a467dd548104ee05db32c9093bd59249d2ef6fef7baead3949d9f4b0d8224c1342ed707a17affca1c31e0bf078d7b0aa352b2093e738242e8e3b7cce5ba1 AUX 05-blender-2.68-unbundle-eigen3.patch 16058 SHA256 546bfc4ec8a4397a860ca15414698d90748f3b62fef106fab1bf842ab7515c52 SHA512 8b5d7a974c88611586fcc065b31a43756a23ca56aeb7204cae90d99657ff0f6505973c110def6fb80405db5607f2a6b5eef8eb26fb9065eef610437b5535282a WHIRLPOOL ad749aed40df519f8886a30bfbdf8cb243941d79da265226bc5f4e1c17b0cc180d3fcb1a41fc3ea982d31660b0a87fa0ab40c0e0a4defc996133eb90692b755e AUX 06-blender-2.67b-fix-install-rules.patch 740 SHA256 7b3b7a8b19c00b93ae2ebbc5f3cee294c20f8468b40fc5cd7fd686b81ba77adf SHA512 6ebd7ecb87a0137914145f38ded6bf4b7465391680329dc9a8a6fa00ae324cc81f49f485400c0edda6fe530b994231ae0eea6eb76cb8113b16f660d3da09f783 WHIRLPOOL 8ab814662605a492d0e7bbe0d899cfd35406ece17391a01951bb4d8ab285575126caf097772db174833c23ac5b3d4c67ed57ad54e9dcd2bc36e89fbeced23936 @@ -29,6 +31,7 @@ DIST blender-2.68a.tar.gz 40042207 SHA256 13ed290b0db381523dd26689d29fd00b08bae0 DIST blender-2.69.tar.gz 41274518 SHA256 c94a7f5dec0d42683b96b2591c240ebcc2743d10b84fc53ca13374b5e654ce09 SHA512 f4de1f5a0a7868ee509b57ef65962a6c2af4c2bc7328db6ebe7b8e05f771c06efea92977f7a64433e8383382a33dbd73cb42b2bf872e63410e55c19ddd133142 WHIRLPOOL 30b5e8dd4e2a8ed3a0e9484656d9ac5b6c420076438aa0cdabf3d5d6b5d608bb90d5253c365b712899a9b7ea8965b815059e3e8c5a712c07c399f7848c14e8cb DIST blender-2.70.tar.gz 55298021 SHA256 2695c3cab21721d1108c90e6e9cb4b279817f551904d5276793fb3adaef3e348 SHA512 5c5d3aa418b88eb55d25a28967edc9ff51b4f9337e15d662db8f4e23eea0772f31a256a7effdd1ffecf0636a300b821a7c53dd1c8b46311b572b412b758224af WHIRLPOOL 9174b325f0d027a56342699cde14fb3ef0883c3089573c9560af1d5adaa9e0815f1e449fd22da4fdc36efa5526094ed37b028e447fc987fba88f08944d75ceb5 DIST blender-2.70a.tar.gz 55875629 SHA256 eb2d82e4bace4028e05eef2ac9799104231eafd91f1500b91c32471bac8cf3e5 SHA512 777938abf30a336bab83a7418461d8d435cc3dc1421aeddc36657d5b8bae1742a38ee468020cee04f4089b646bff1c3715ad9ceb987d649eb3d015047f1869d7 WHIRLPOOL b7a3bf59a078e425e09b32289372ddf23ac6172f64e07bc45b875857b733e4414021cb99cf65596bdf271ce501a7ba946c8e4c0434947af6b0f552364ec5a040 +DIST blender-2.71.tar.gz 57120144 SHA256 7daa7f8ce1df495ad20843aa86bc5268179085ec2963655c358b65a2b365ffa2 SHA512 59092cc0e49030ffc0094fac96272d618428d8964337002a331bf52438c7dd7d24d7bc7930a5b6b5073389144e789a971402bae2eda827ec79ee193b03bd5697 WHIRLPOOL b57a909be3c671f1b4ce21ef8026d3e07451257606dc4f80100393e38bb2de675ed5adc0984bfb4977fb4f5a3b11504c9d2559cc3ff08b773f7912311ebe2bee EBUILD blender-2.66-r1.ebuild 7134 SHA256 606b40465cf7a924fbe05e3876de1a53c8e29a90463d0c0f1ef1a1e9932df0f2 SHA512 a8a024cb67f42aaef19a99c5aae9249e24ac574087aa521ddc268c2d484d7c0a49093610e2f1a71b47897a4d35460db00051483141719bfc3f3dcabea828de8d WHIRLPOOL bc6ce0a78191ace1ab98b38f530585246dc4956e2af23b734e2fac2656bd28b59ddae0c0a83d76bb6ffab15730cd853038f4dd91bb2d90f999b4c3696289c78f EBUILD blender-2.67b-r1.ebuild 7422 SHA256 3f1a8d5e1e8d852a31d6bfbcc7aae23f233f52e05aa0ad8e685474bf50ddc13a SHA512 4e68e61a16d0af7267d93b222ea2979b83879b9250ebc252d6e67d7aab48bd37c28b594ded0c76241f41d99b4686da3850b584725e890afb73b47f156deab442 WHIRLPOOL 21bf889f442bed7626b335c7332a49889d244f8089a657d8beda8862644753987900e070294cb4b328c5a5a278d802266d6cf1314fec2a146b650db4c79a8c8e EBUILD blender-2.68.ebuild 7484 SHA256 8386818a2c0d01128a3ce7ed5716a76ccd4ce382adc3c38b7c9cee0e286ffbe4 SHA512 9b240f87fa0ac8baf5194374726338f59902ae8323ce9758a35111e7dd39a5e4741810f96771d633e5da3f3b51e0329fa4c521528eaedd6c6b1088d08fb9aff5 WHIRLPOOL deac1ada6f70823626a8f3532dac73d32272f067c884bdf62e78c524a40afbbb4581b8eb69c8042171741aa0d42fa4d751af7c8086bf82e975b8c0105f49021e @@ -38,19 +41,25 @@ EBUILD blender-2.69.ebuild 7573 SHA256 ad03858313b71ddcaa1eb595d120f2aa41808a673 EBUILD blender-2.70-r1.ebuild 7570 SHA256 ba50201a638acb6dac73c67e6ed525728929fca1acacfeaa030c7fa8564d5b4b SHA512 119a877bfb6427c695c7d16bc2bcc91448d5e0b13c701fcf46ba62d8f2dfd3206641385e321f540e47ca1638f30d57ecd7c9724500e34b4baf0a520a0e1d9a8d WHIRLPOOL f2c5363905da28ec853ecb7673c176f69a0d82fdcb70e86daaaa783d184f912e40899474b965367ed2abfc9e62a3f28f4f512c6b1dac17c1bb1f40e9a6dce9c7 EBUILD blender-2.70.ebuild 7767 SHA256 1b77f8daa513629173e70fc766864fe42cd1cc6d664c1214329645623ab54ac9 SHA512 8be39580f04eaa5e2d83d853b93463c6d6f56d4b14088bc65d7670978df71d61aea703f984417cafa260cdda8764fc4510d75ca0ce7fc904cb156c248c6a11de WHIRLPOOL 005bcb8c5534570b7abfeb4bc941ffbf8057eccaf85d4006425f4db033c7b487886ba753203e0e6c694b13aa801306b6d26970bc7c77ab83f2e6ee3a6c06e6bd EBUILD blender-2.70a-r3.ebuild 7663 SHA256 a16efb84ee8f89d4248b01fc940cc24c56163ea02311fae9a2943ff0aba3f4bd SHA512 2972f4d9051d22fa7275313b682047c80e8fae697ab3beea08c12e58cc9e8cae0149ac3ec5090d7582bab9a2a1675a4c438ce8718ecc24b4587581525e0879ce WHIRLPOOL f8fe963fcaf7e543e599b2b694c98ce4eeebab37ed6f6d11973f9e106e16e3a347a0831d45f7ddceaf612b46e2c4ad874eb2c788c3dd0986ce3c9be5d9abe81b -MISC ChangeLog 47201 SHA256 9ae6bc0a57264c00640a8618cc9a9fdc262a016b43bc3e84d4ed6c6acc2a8cc4 SHA512 7f26201da8ba7577868d37913b0a6ce0e7c7009e6da0ac00a830535c761ee074ade5850724d9ae2076eaefc3eaac7ea7b2221d75b085e4668a7552d82d79fd01 WHIRLPOOL 7ebc17a3a02ad420b2cd66afa90832edd97d8c87ffc8fc2ef38f8f052a2048d584e7bd1dbf37a5ec05cec82fec91a6ac2fe4417dd9166d6fc37c0bcfcdf9077f +EBUILD blender-2.71.ebuild 7584 SHA256 ba1e19cee68ef2e1238aafb4d884e8fc0e344ed6fa0d37b703a3c9d60e32ac1e SHA512 0d64b54f0ad5958a60d9469c453c9de32479ff25288768b109bc71afb7212121c766131654ed7e3dac3524d7e5dcdfcf2131d022627766f87ed701af16215422 WHIRLPOOL d5bde04a0afdfc8bd2822dd04e470a195e6644317cb77784863d6c443bb9ff9e39de317a5473f1aaa6f2b379c56762b0da3f09e38ed9cfbe19716e7fee8ab932 +MISC ChangeLog 47430 SHA256 e859a93de9f3c06d1273a941fe05a6ee9049bfe33bc1aadbb99ab00cfbcf81f6 SHA512 4919903f8ac0f37b475dda9388c72bd25a76629d9f8fb6bbe9ba7f00145867a147c03029af1bfc3fa7849e9c7560e39e0579eae72198a6de10fd635f2d2c67cf WHIRLPOOL 27e9906539c1fdedeb68821d5b68a33e8709729aa1949e2ec1b0c4abe627d12a11d298f6149c75b02f85e23097c78dba0164df618e1f3ac52ac22a399c72bc4f MISC metadata.xml 1943 SHA256 442b4b8f917e536321467f5b4408d6530fc8030db5d3efa532a007aaa81defb0 SHA512 8a18cfb1afc6e465c3e10698470794971c2b967f914332421817bbe1c6dc92372d61139803d3b5b7bdd5fd6a80c53b0eb2d0554ae8b41e5d5e4b75de30969a0c WHIRLPOOL 9ab06cf2763dbedc21723e36e9afa72710d8299f602c63152345ea3c67ea3398d8e7ac0c6b4b1c37a2767cb6598b5a76d793ab300483a052c00e6789f08f648c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQGcBAEBCAAGBQJTdPSGAAoJEJQzkH1pP7W4aQUMAKJalBnnY2NiWtE3Jxj97XCS -g9EAYXaZAnIb4DVbMiD0c3oYjQAoPpwmw6dIZJ2hogWDRVj8zZ5FR9Lr2Lva/G1Y -0GkgUS5jGjROOuQcAdiuNWG9N3yM6HQhLF1RhhBJ9yLuOXEPkqqR0hFsqTmsALHu -22GTUsRwh2jyvTVAF2KgdUQGdZ2viYnTCS79uHXl76oO2ZIygHBQmt6YBowYeC1J -bIResqoitlIPXsStoDObLpVsNqb0DcuPuGNSnxQtum5+mYQzZWGccPo0kWPX+K0c -wLMseNrvLCImvPNbg6/DAvvKOFoQX8rnkixhutWX2Wh4Km05116uOA2knMzf/Wjr -9VjQECDAPwKoFk/ZPs+RQL6sHLF4WXuwUU/fEE+YtR8XcIyjBfIGivBGrywmqV3R -vdcxUeUmtpSqPs5pEbxa1Q+l1sJV3MoTUl/esMISXih6BqJCVZ4lY/d7pSmls4Qv -L5ulUNQzc1RxrD7wtvOdjOd3+rXzDi2DNP3rNquEVA== -=gCmC +iQJ8BAEBCABmBQJTrq+NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy +MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgdXQP/0ejcL2K7hMUW9yeU15HQdNp +Ewz/jyrhUIKvXU9vSRvY4lx84t35RINMEGIdCOJRz725rGjPG5+5dAkAcE16evuZ +7kA83whYf0xdWFEVtSvTYKlWCu3idtQpXijah/vvJPFvPtuXAyM0oyx6hPHMJEs+ +i/OoYcyk7c0Q2S+SUoYwNUl6CgvZR8rZ8v55bmB/DZ+wObFasYd9AEhQX2mIPJTf +swJ3KdwW17ggEa/Y9rqFPG0cPy+UNgmT4EBihA4DMLO0jrcQe0foUcXCycyp9wCB +3hY0Rve7X2SetUdlr/cclioiOKUIThXXtF6YX3NnI1cXWnEHVH4tSfNXJaBrUius +4cZEaQwKMe15/Zd9FOEShCx/K8fauoCKvciyJ+A8rBnx8sFofB/ZGYa8CX/XLMmz +a7OPzvufMUc89udqzgYXaOcrXkYv3ww0KD7DQi9UiBT3dylYd6CcL/94TDrgVBkf +4P0elgdXHBNlnOpgCi1KHVoea88e7XfObsohMkdrryoAM+x3SH+rqxZ+r5CbG3oM +plQnsIWIzIu/PnYjW75j71VNmQlxLaWbMj9oEgo5RG7Ita3uj0rqnnU5MNUKPhnM +qVdBNnePPXksN9/9T3vCozrDiMk8faM+Ds3QIEbHSO7WrCAPvNmDsFG4RjqxohaH +hRiI2P2tb8Wv+LhI5n3H +=qLoB -----END PGP SIGNATURE----- diff --git a/media-gfx/blender/blender-2.71.ebuild b/media-gfx/blender/blender-2.71.ebuild new file mode 100644 index 000000000000..ff59c7d53ac9 --- /dev/null +++ b/media-gfx/blender/blender-2.71.ebuild @@ -0,0 +1,268 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.71.ebuild,v 1.1 2014/06/28 12:05:30 hasufell Exp $ + +# TODO: +# bundled-deps: bullet is modified +# multiple python abi? + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) +#PATCHSET="1" + +inherit multilib fdo-mime gnome2-utils cmake-utils eutils python-single-r1 versionator flag-o-matic toolchain-funcs pax-utils check-reqs + +DESCRIPTION="3D Creation/Animation/Publishing System" +HOMEPAGE="http://www.blender.org" + +case ${PV} in + *_p*) + SRC_URI="http://dev.gentoo.org/~lu_zero/${P}.tar.gz" ;; + *) + SRC_URI="http://download.blender.org/source/${P}.tar.gz" ;; +esac + +if [[ -n ${PATCHSET} ]]; then + SRC_URI+=" http://dev.gentoo.org/~flameeyes/${PN}/${P}-patches-${PATCHSET}.tar.xz" +fi + +SLOT="0" +LICENSE="|| ( GPL-2 BL )" +KEYWORDS="~amd64 ~x86" +IUSE="+boost +bullet collada colorio cycles +dds debug doc +elbeem ffmpeg fftw +game-engine jack jpeg2k ndof nls openal openimageio +opennl openmp +openexr player redcode sdl sndfile sse sse2 tiff" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + player? ( game-engine ) + redcode? ( jpeg2k ffmpeg ) + cycles? ( boost openexr tiff ) + nls? ( boost ) + game-engine? ( boost )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-cpp/gflags + dev-cpp/glog[gflags] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=media-libs/freetype-2.0 + media-libs/glew + media-libs/libpng:0 + media-libs/libsamplerate + sci-libs/colamd + sci-libs/ldl + sys-libs/zlib + virtual/glu + virtual/jpeg + virtual/libintl + virtual/opengl + x11-libs/libXi + x11-libs/libX11 + boost? ( >=dev-libs/boost-1.44[nls?,threads(+)] ) + collada? ( media-libs/opencollada ) + colorio? ( media-libs/opencolorio ) + cycles? ( + media-libs/openimageio + ) + ffmpeg? ( + || ( + >=media-video/ffmpeg-2.1.4:0[x264,mp3,encode,theora,jpeg2k?] + >=media-video/libav-9[x264,mp3,encode,theora,jpeg2k?] + ) + ) + fftw? ( sci-libs/fftw:3.0 ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg2k? ( media-libs/openjpeg:0 ) + ndof? ( + app-misc/spacenavd + dev-libs/libspnav + ) + nls? ( virtual/libiconv ) + openal? ( >=media-libs/openal-1.6.372 ) + openimageio? ( media-libs/openimageio ) + openexr? ( media-libs/openexr ) + sdl? ( media-libs/libsdl[sound,joystick] ) + sndfile? ( media-libs/libsndfile ) + tiff? ( media-libs/tiff:0 )" +DEPEND="${RDEPEND} + >=dev-cpp/eigen-3.1.3:3 + doc? ( + app-doc/doxygen[-nodot(-),dot(+)] + dev-python/sphinx + ) + nls? ( sys-devel/gettext )" + +pkg_pretend() { + if use openmp && ! tc-has-openmp; then + eerror "You are using gcc built without 'openmp' USE." + eerror "Switch CXX to an OpenMP capable compiler." + die "Need openmp" + fi + + if use doc; then + CHECKREQS_DISK_BUILD="4G" check-reqs_pkg_pretend + fi +} + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/01-${PN}-2.68-doxyfile.patch \ + "${FILESDIR}"/02-${PN}-2.71-unbundle-colamd.patch \ + "${FILESDIR}"/04-${PN}-2.71-unbundle-glog.patch \ + "${FILESDIR}"/05-${PN}-2.68-unbundle-eigen3.patch \ + "${FILESDIR}"/06-${PN}-2.68-fix-install-rules.patch \ + "${FILESDIR}"/07-${PN}-2.70-sse2.patch + + # remove some bundled deps + rm -r \ + extern/Eigen3 \ + extern/libopenjpeg \ + extern/glew \ + extern/colamd \ + extern/libmv/third_party/{glog,gflags} \ + || die + + # we don't want static glew, but it's scattered across + # thousand files + # !!!CHECK THIS SED ON EVERY VERSION BUMP!!! + sed -i \ + -e '/-DGLEW_STATIC/d' \ + $(find . -type f -name "CMakeLists.txt") || die + + ewarn "$(echo "Remaining bundled dependencies:"; + ( find extern -mindepth 1 -maxdepth 1 -type d; find extern/libmv/third_party -mindepth 1 -maxdepth 1 -type d; ) | sed 's|^|- |')" + + # linguas cleanup + local i + if ! use nls; then + rm -r "${S}"/release/datafiles/locale || die + else + if [[ -n "${LINGUAS+x}" ]] ; then + cd "${S}"/release/datafiles/locale/po + for i in *.po ; do + mylang=${i%.po} + has ${mylang} ${LINGUAS} || { rm -r ${i} || die ; } + done + fi + fi +} + +src_configure() { + # FIX: forcing '-funsigned-char' fixes an anti-aliasing issue with menu + # shadows, see bug #276338 for reference + append-flags -funsigned-char + append-lfs-flags + + # WITH_PYTHON_SECURITY + # WITH_PYTHON_SAFETY + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX=/usr + -DWITH_INSTALL_PORTABLE=OFF + $(cmake-utils_use_with boost BOOST) + $(cmake-utils_use_with cycles CYCLES) + $(cmake-utils_use_with collada OPENCOLLADA) + $(cmake-utils_use_with dds IMAGE_DDS) + $(cmake-utils_use_with elbeem MOD_FLUID) + $(cmake-utils_use_with ffmpeg CODEC_FFMPEG) + $(cmake-utils_use_with fftw FFTW3) + $(cmake-utils_use_with fftw MOD_OCEANSIM) + $(cmake-utils_use_with game-engine GAMEENGINE) + $(cmake-utils_use_with nls INTERNATIONAL) + $(cmake-utils_use_with jack JACK) + $(cmake-utils_use_with jpeg2k IMAGE_OPENJPEG) + $(cmake-utils_use_with openimageio OPENIMAGEIO) + $(cmake-utils_use_with openal OPENAL) + $(cmake-utils_use_with openexr IMAGE_OPENEXR) + $(cmake-utils_use_with openmp OPENMP) + $(cmake-utils_use_with opennl OPENNL) + $(cmake-utils_use_with player PLAYER) + $(cmake-utils_use_with redcode IMAGE_REDCODE) + $(cmake-utils_use_with sdl SDL) + $(cmake-utils_use_with sndfile CODEC_SNDFILE) + $(cmake-utils_use_with sse RAYOPTIMIZATION) + $(cmake-utils_use_with sse2 SSE2) + $(cmake-utils_use_with bullet BULLET) + $(cmake-utils_use_with tiff IMAGE_TIFF) + $(cmake-utils_use_with colorio OPENCOLORIO) + $(cmake-utils_use_with ndof INPUT_NDOF) + -DWITH_PYTHON_INSTALL=OFF + -DWITH_PYTHON_INSTALL_NUMPY=OFF + -DWITH_STATIC_LIBS=OFF + -DWITH_SYSTEM_GLEW=ON + -DWITH_SYSTEM_OPENJPEG=ON + -DWITH_SYSTEM_BULLET=OFF + -DPYTHON_VERSION="${EPYTHON/python/}" + -DPYTHON_LIBRARY="$(python_get_library_path)" + -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + einfo "Generating Blender C/C++ API docs ..." + cd "${CMAKE_USE_DIR}"/doc/doxygen || die + doxygen -u Doxyfile + doxygen || die "doxygen failed to build API docs." + + cd "${CMAKE_USE_DIR}" || die + einfo "Generating (BPY) Blender Python API docs ..." + "${BUILD_DIR}"/bin/blender --background --python doc/python_api/sphinx_doc_gen.py -noaudio || die "blender failed." + + cd "${CMAKE_USE_DIR}"/doc/python_api || die + sphinx-build sphinx-in BPY_API || die "sphinx failed." + fi +} + +src_test() { :; } + +src_install() { + local i + + # Pax mark blender for hardened support. + pax-mark m "${CMAKE_BUILD_DIR}"/bin/blender + + if use doc; then + docinto "API/python" + dohtml -r "${CMAKE_USE_DIR}"/doc/python_api/BPY_API/* + + docinto "API/blender" + dohtml -r "${CMAKE_USE_DIR}"/doc/doxygen/html/* + fi + + # fucked up cmake will relink binary for no reason + emake -C "${CMAKE_BUILD_DIR}" DESTDIR="${D}" install/fast + + # fix doc installdir + dohtml "${CMAKE_USE_DIR}"/release/text/readme.html + rm -rf "${ED%/}"/usr/share/doc/blender + + python_fix_shebang "${ED%/}"/usr/bin/blender-thumbnailer.py + python_optimize "${ED%/}"/usr/share/blender/${PV}/scripts +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + elog + elog "Blender uses python integration. As such, may have some" + elog "inherit risks with running unknown python scripting." + elog + elog "It is recommended to change your blender temp directory" + elog "from /tmp to /home/user/tmp or another tmp file under your" + elog "home directory. This can be done by starting blender, then" + elog "dragging the main menu down do display all paths." + elog + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} diff --git a/media-gfx/blender/files/02-blender-2.71-unbundle-colamd.patch b/media-gfx/blender/files/02-blender-2.71-unbundle-colamd.patch new file mode 100644 index 000000000000..ee062fe687f5 --- /dev/null +++ b/media-gfx/blender/files/02-blender-2.71-unbundle-colamd.patch @@ -0,0 +1,52 @@ +commit f6af85bef74ae6d1df1e811db7274829e50f10a9 +Author: hasufell <hasufell@gentoo.org> +Date: Fri Jul 19 18:37:21 2013 +0200 + + unbundle colamd + +diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt +index f6de873..2b40c22 100644 +--- a/extern/CMakeLists.txt ++++ b/extern/CMakeLists.txt +@@ -26,7 +26,6 @@ + # Otherwise we get warnings here that we cant fix in external projects + remove_strict_flags() + +-add_subdirectory(colamd) + add_subdirectory(rangetree) + add_subdirectory(wcwidth) + add_subdirectory(libmv) +diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt +index d91319d..bc3baee 100644 +--- a/source/blenderplayer/CMakeLists.txt ++++ b/source/blenderplayer/CMakeLists.txt +@@ -170,8 +170,6 @@ endif() + list(APPEND BLENDER_SORTED_LIBS extern_ceres) + endif() + +- list(APPEND BLENDER_SORTED_LIBS extern_colamd) +- + if(WITH_MOD_BOOLEAN) + list(APPEND BLENDER_SORTED_LIBS extern_carve) + endif() +@@ -214,7 +212,7 @@ endif() + list(SORT REM_MSG) + message(STATUS "Player Skipping: (${REM_MSG})") + endif() +- target_link_libraries(blenderplayer ${BLENDER_SORTED_LIBS}) ++ target_link_libraries(blenderplayer ${BLENDER_SORTED_LIBS} colamd) + + unset(SEARCHLIB) + unset(SORTLIB) +diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt +index 8ff4ec4..c84d944 100644 +--- a/source/creator/CMakeLists.txt ++++ b/source/creator/CMakeLists.txt +@@ -889,6 +889,6 @@ + + setup_blender_sorted_libs() + +-target_link_libraries(blender ${BLENDER_SORTED_LIBS}) ++target_link_libraries(blender ${BLENDER_SORTED_LIBS} colamd) + + setup_liblinks(blender) diff --git a/media-gfx/blender/files/04-blender-2.71-unbundle-glog.patch b/media-gfx/blender/files/04-blender-2.71-unbundle-glog.patch new file mode 100644 index 000000000000..5f5c1aef332a --- /dev/null +++ b/media-gfx/blender/files/04-blender-2.71-unbundle-glog.patch @@ -0,0 +1,56 @@ +commit 26e853d31931a8bb08695aa98ae53b263236d407 +Author: hasufell <hasufell@gentoo.org> +Date: Fri Jul 19 18:40:23 2013 +0200 + + unbundle glog/gflags + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b1a7830..a30831c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -106,6 +106,14 @@ set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin CACHE INTERNAL "" FORCE) + set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib CACHE INTERNAL "" FORCE) + + #----------------------------------------------------------------------------- ++# Check for some modules ++if(UNIX) ++ find_package(PkgConfig) ++ pkg_check_modules(_PC_GFLAGS libgflags) ++ pkg_check_modules(_PC_GLOG libglog) ++endif() ++ ++#----------------------------------------------------------------------------- + # Set default config options + + get_blender_version() +diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt +index 2c9a219..7061e04 100644 +--- a/extern/libmv/CMakeLists.txt ++++ b/extern/libmv/CMakeLists.txt +@@ -47,8 +47,6 @@ + ) + + list(APPEND INC +- third_party/gflags +- third_party/glog/src + third_party/ceres/include + ../../intern/guardedalloc + ) +@@ -208,7 +206,10 @@ + ) + endif() + ++include_directories(${_PC_GFLAGS_INCLUDE_DIRS} ${_PC_GLOG_INCLUDE_DIRS}) + blender_add_lib(extern_libmv "${SRC}" "${INC}" "${INC_SYS}") ++target_link_libraries(extern_libmv ${_PC_GFLAGS_LIBRARIES} ${_PC_GLOG_LIBRARIES}) ++ + + if(WITH_LIBMV) + add_subdirectory(third_party) +@@ -299,5 +300,5 @@ + set(GLOG_INC_SYS + ) + +- blender_add_lib(extern_glog "${GLOG_SRC}" "${GLOG_INC}" "${GLOG_INC_SYS}") ++ # blender_add_lib(extern_glog "${GLOG_SRC}" "${GLOG_INC}" "${GLOG_INC_SYS}") + endif() |