diff options
Diffstat (limited to 'media-gfx')
23 files changed, 196 insertions, 188 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex 386b1c6d0b26..a92b0ac5b498 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/cellwriter/Manifest b/media-gfx/cellwriter/Manifest index fc60212cb801..9c11696a10f6 100644 --- a/media-gfx/cellwriter/Manifest +++ b/media-gfx/cellwriter/Manifest @@ -1,5 +1,3 @@ -DIST cellwriter-1.3.4.tar.gz 284647 BLAKE2B 93d970c6422c2f250ee516d37e65fe4841efd504ced7ad43c21157574281df4ec0bf57cad5b2802c149d48d14b5ae2b4bfac404028ab4cfa6d9d6e0a2fc5fcd2 SHA512 5839670912a456cc9becef61b9f293575bc04fd4113877a21e9fea247a964917a399393007c3793066fa92a2ba0560776100d56ea56d1dadd49052a4844e1582 DIST cellwriter-1.3.5.tar.gz 293241 BLAKE2B 57d287782af21ae8010dc43ea89a2da081ecee854740cd8c5991de62450929a89f04c1601ff77ac69b945d5997042c8f739defa00614aa0af947655d5251f8ef SHA512 a9b682babda4335ea18716032ac52e73578459e9ab8866b20177f6d0cb606b9da2bf5a3fae2e2547277351db2533c7e92461f5c6a6ebc542ffe5844ff7ae65d6 -EBUILD cellwriter-1.3.4.ebuild 618 BLAKE2B 8f51ff2e1bddcc0c035694116c4ca4d6225b7d6b20b878cf0bf08e02861b68da27a34a115bdbdb9c29b5e20a9ea1405066b3fc1556e141b44a61b14c7ae63002 SHA512 d716e3954b1375ad21ae940c75bf107856573b7211334267459c79ed2cbb7eddebdc7054330e5e82e5d6c7ec75a3bc09af456b3f2fc8081f7d95a73bedef5597 EBUILD cellwriter-1.3.5.ebuild 721 BLAKE2B 808b942a5569059c05b3dec134498a4820aae5465a50c292e6853d09169ba508f0caba59c1d6cb8977bec06f9bdc0ba468c998b6e2e19511282840bbf32a3143 SHA512 170049250eb87307cde5583a8a4452c014e208d460758a8b6b0d61472c7ac9f9a97d34b0385d65061ce4857df56b7637a68bb8999911914ebac76d0025e12b53 MISC metadata.xml 255 BLAKE2B f12a1ca502ad96bd6de4c8b83dfb8887ab70dec78f10a8b52dcd4618eb182192477ddca18738d734a43f3c7ac3b5e0955f4ae9347ea80e788a92974c7d50a574 SHA512 b7bc93530a1726c2d4dfbc71ae29cfbb57712fd9fdd2e76fd52f35ab4368cba0497b50145d1527a3b79e465d459a380821bb1371a01c2e915dc9adc6c7fafd5f diff --git a/media-gfx/cellwriter/cellwriter-1.3.4.ebuild b/media-gfx/cellwriter/cellwriter-1.3.4.ebuild deleted file mode 100644 index cb3737df9143..000000000000 --- a/media-gfx/cellwriter/cellwriter-1.3.4.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -DESCRIPTION="Grid-entry natural handwriting input panel" -HOMEPAGE="http://risujin.org/cellwriter/" -SRC_URI="http://pub.risujin.org/cellwriter/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="gnome" - -RDEPEND="x11-libs/libXtst - >=x11-libs/gtk+-2.10:2 - gnome? ( gnome-base/libgnome )" -DEPEND="${RDEPEND} - virtual/pkgconfig - x11-base/xorg-proto" - -src_configure() { - econf $(use_with gnome) -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README -} diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest index a8cd823992b6..6acdc4485177 100644 --- a/media-gfx/exiv2/Manifest +++ b/media-gfx/exiv2/Manifest @@ -2,8 +2,6 @@ AUX exiv2-0.26-fix-docs.patch 2532 BLAKE2B c648454a7c9a56c2d4a3844cbe212630ff6c3 AUX exiv2-0.26-tools-optional.patch 1386 BLAKE2B 84e0903934187aaa914c0a4fe04afe63ed3314ea76d6929b7435899a731bb90831418b2162e1dca4a487b88041fe7b9aa50a3c438e66ac3893dd1d12b363714f SHA512 efdd848dd728fcb0ba5dbc305fef6eb6af4385b5bd09e2c3722c0dea2009207c282b95a07cdb608fc2298d18686c764dded2fd9de4166dbecabf7eeb187e6483 AUX exiv2-0.26_p20180319-CVE-2017-18005.patch 17451 BLAKE2B 8003fa352503d287f5f96572196cd67f4de8d90fda221588f77bdd2d053407f1e1dceba6aab317fc5a003aa5b6f0d99336f4a8e4fb21696b5d20b81a3d4af29f SHA512 94ed0a17a7ca9bd1155fc4c67ca67bf59dafedf5570cf4d7e59bda6f4b4c0749d98fd1c2d8929612a2fe5840565ce070acf21ac68d9d6882fe5c0a98ee18b343 AUX exiv2-0.26_p20180319-CVE-2018-4868.patch 1694 BLAKE2B c288075acac8c2335da2b04cac24ac7b3a414e05d04a1e951cdbd3d90997756fa5c1dae5d2b193583e529a7eacc0cbb88d5c8345c3be76798d1897af7a7f250d SHA512 7506ccc0914dc78e369129efb0736638ee7a4ebf98d76feed0ce6a7c9d2885f5f7c984376df288f0694ec05654b89c39be42a989bcedd64d0fcecd6c605fe601 -DIST exiv2-0.26_p20171104.tar.gz 28368697 BLAKE2B 50013cf0bf30a2a476b02d5db4027fca268a4b38733762eb4c08e5f3bdfaf737038e9a62f7ef471fecb10250d8ae686ef683f9b0ea4ccc5d109440ba534371e4 SHA512 6f6a884d7978e54dceb9ce45248cd0425ff469887c85ef52b0e38cb755970f69fce96b4b5317c8e8070b833f72ca214696042aac71292a6f9c3440f6a369d474 DIST exiv2-0.26_p20180319.tar.gz 28383543 BLAKE2B 753a2ebdb2033490c0f66cb1fb2574f02125f17813f6cbaf5eca66e053af9a2cdbc1266f0a033f0706ec22b31acd6e87271e426a335a58ee947757b52d283489 SHA512 852ce2cffcc0a2d902a939933127fdf5fa0b50020e1faf3ab0a375b129b9f61c7b97b76d4f39e376e7288d7cc045867bd1a96ae15dd0b7c0bcd1ba15259628e1 -EBUILD exiv2-0.26_p20171104.ebuild 3086 BLAKE2B 72739b426e741582b3f167f973b250333d37bd68a9a4d381eada321670ff3c41e33f344e759c47641510c724ad4da8b27ee8e2805f4be075a1de9c808b7a2baf SHA512 ddabecf71aef6461442b77ae3afed3581d13a8155b232aa3e946e043853cc8f79bd5866febbd1ca38a4c9a2b6c08afdc1b37b079a30b3d01b358da06cc08db58 -EBUILD exiv2-0.26_p20180319.ebuild 3310 BLAKE2B c81492c23b85e7c60f4010905abd5b79244e7024c15740f8c138f8ff967de3bc26fcf43a6ca5fa06a3936cce5a4dd10a980b791a2eef825ddd91fa20e935c0be SHA512 94bb3558de6e0fbc27310f15cfac85056c89ed4fb19c1de9219c446c5fae0226e463190b9aaea17b9b47c81341f5d6c9b0bc007db708d2d572174c6b5bdb1275 +EBUILD exiv2-0.26_p20180319.ebuild 3308 BLAKE2B 609ff16f1e63a841ffcbd72b5ecfb31f67c83c44dd1bc26807f68a312efe6d931dfd4390db7f61c10f0c27bfe8badd399e9f4131769aeb98b118124c1f292e92 SHA512 1d7b08a55cb9fd57f9d73ad7b72b59c851046109372c4575d260c703153cda44cf4f84ca08e58558b51deb73ad1736a7622f4306ff575abc73fb2cf682ab6d92 MISC metadata.xml 612 BLAKE2B f98a074e9e3a4411baf8255cd8cab5be4257469463634218b664bb9e7f159c98615f0721bb4463c6183cecc8b2be00c34a031e7b99d745b9807634cbaab8d479 SHA512 9b4926ba8420a125dc4cefd351ee1ec10a4df2fc4306a56720f6e8de7c5fd9f36a8646c8583958fca9a45ebe1b65b19c053c7da37176546bc19ae64afa87e4f5 diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild b/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild deleted file mode 100644 index 0da64ed3f8d4..000000000000 --- a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -if [[ ${PV} = *9999 ]]; then - EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git" - EGIT_BRANCH="0.26" - GIT_ECLASS=git-r3 -else - COMMIT=900d2417dbeb46e14cbf65fc2798ed1d043ab76d - SRC_URI="https://github.com/Exiv2/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -fi -inherit cmake-multilib python-any-r1 vcs-snapshot - -DESCRIPTION="EXIF, IPTC and XMP metadata C++ library and command line utility" -HOMEPAGE="http://www.exiv2.org/" - -LICENSE="GPL-2" -SLOT="0/26" -IUSE="doc examples nls png webready xmp" - -RDEPEND=" - >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) - png? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) - webready? ( - net-libs/libssh[${MULTILIB_USEDEP}] - net-misc/curl[${MULTILIB_USEDEP}] - ) - xmp? ( >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - doc? ( - ${PYTHON_DEPS} - app-doc/doxygen - dev-libs/libxslt - media-gfx/graphviz - virtual/pkgconfig - ) - nls? ( sys-devel/gettext ) -" - -DOCS=( README doc/ChangeLog doc/cmd.txt ) - -PATCHES=( - # TODO: Take to upstream - "${FILESDIR}"/${PN}-0.26-fix-docs.patch - "${FILESDIR}"/${PN}-0.26-tools-optional.patch -) - -pkg_setup() { - use doc && python-any-r1_pkg_setup -} - -src_prepare() { - if [[ ${PV} != *9999 ]] ; then - if [[ -d po ]] ; then - pushd po > /dev/null || die - local lang - for lang in *.po; do - if [[ -e ${lang} ]] \ - && ! has ${lang/.po/} ${LINGUAS-${lang/.po/}} ; then - case ${lang} in - CMakeLists.txt | \ - ${PN}.pot) ;; - *) rm -r ${lang} || die ;; - esac - fi - done - popd > /dev/null || die - else - die "Failed to prepare LINGUAS - po directory moved?" - fi - fi - - # FIXME @upstream: - einfo "Converting doc/cmd.txt to UTF-8" - iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die - mv -f doc/cmd.txt.tmp doc/cmd.txt || die - - if use doc; then - einfo "Updating doxygen config" - doxygen &>/dev/null -u config/Doxyfile || die - fi - - cmake-utils_src_prepare -} - -multilib_src_configure() { - local mycmakeargs=( - -DEXIV2_ENABLE_BUILD_SAMPLES=NO - -DEXIV2_ENABLE_BUILD_PO=$(usex nls) - -DEXIV2_ENABLE_NLS=$(usex nls) - -DEXIV2_ENABLE_PNG=$(usex png) - -DEXIV2_ENABLE_CURL=$(usex webready) - -DEXIV2_ENABLE_SSH=$(usex webready) - -DEXIV2_ENABLE_WEBREADY=$(usex webready) - -DEXIV2_ENABLE_XMP=$(usex xmp) - -DEXIV2_ENABLE_LIBXMP=NO - $(multilib_is_native_abi || echo -DEXIV2_ENABLE_TOOLS=NO) - ) - - cmake-utils_src_configure -} - -multilib_src_compile() { - cmake-utils_src_compile - - if multilib_is_native_abi; then - use doc && emake -j1 doc - fi -} - -multilib_src_install_all() { - use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} ) - use doc && HTML_DOCS=( "${S}"/doc/html/. ) - - einstalldocs - find "${D}" -name '*.la' -delete || die - - if use examples; then - docinto examples - dodoc samples/*.cpp - fi -} diff --git a/media-gfx/exiv2/exiv2-0.26_p20180319.ebuild b/media-gfx/exiv2/exiv2-0.26_p20180319.ebuild index 0c575c512967..478ea7a79b15 100644 --- a/media-gfx/exiv2/exiv2-0.26_p20180319.ebuild +++ b/media-gfx/exiv2/exiv2-0.26_p20180319.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} = *9999 ]]; then else COMMIT=876b1314ab892cbfa6672b6b94adbeb90db4211f SRC_URI="https://github.com/Exiv2/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" - KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" fi inherit cmake-multilib python-any-r1 diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest index 67e7b048f26f..8e2f641465ea 100644 --- a/media-gfx/fontforge/Manifest +++ b/media-gfx/fontforge/Manifest @@ -4,5 +4,5 @@ AUX 20170731-startnoui-FindOrMakeEncoding.patch 751 BLAKE2B c4a0248affa9117c5150 AUX 20170731-tilepath.patch 411 BLAKE2B 39ef99a26b85fc25d6c0b778a6b0ddfdb2c366b6456bd8ed47b12ca8681e8970e65e3b69cd06880794832f761c6de801d9e7c51e1edfff5abf434aa7f7dcc7c2 SHA512 026f6765b2db7549f72cd6ccff8d23bdf357ab24035c89cd792fa933f6033445f6cbaf7fa20f1372bdeda2caa242b9f8237f3019292cba0cc551c6de9e5c8341 DIST fontforge-dist-20170731.tar.xz 13985256 BLAKE2B 7bc49a3b7747de419e4fafb445062873cf9bf56aa73fd7499509b787a1c0fd6c47b0b5d7bfeb2a69d9237f9f66f989af968b0d00e9d5e57030906394f042f29c SHA512 26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11 EBUILD fontforge-20170731-r3.ebuild 2790 BLAKE2B 8d0290229ff389cca1f1e4915801b1f9ee0683a55030eadec60da8c82d4177f47af0592b366c9f1c7b730568e01a98d202e9502647f91cfccb02c5ac0b7bc98b SHA512 f14898b95f7a457b793d5ebabc84ce845296c84fe7360ab6069db4c99b485b5231ff12285981ba0e6fabe815204fe0b5cf878f0c84d594622e367afb62497b89 -EBUILD fontforge-20170731-r4.ebuild 2844 BLAKE2B 2b42a9048d545839af49d9ffa42956f0bcfefce27d2fafab9465e8c4009d65ee558ed2d49e47a6f42998552cba3711e1c0f309d3b0c12b8e57ed753a1fe6123e SHA512 06f8e05ca9b5bc02f98bcd370283ace4ae1486edaab33ce9803effb404fcfb97fa13355c98a0ed9a0e9c9787cbf39681148e9ebebbbce6679419571ca3fffd7b +EBUILD fontforge-20170731-r4.ebuild 2840 BLAKE2B 1259b930eb7fdb38ab481f555c98ed43c68a298b4007061b399d0e044c21f90871f7c639466c50410a90bf89da7d31884fe1835c56dc175ab099cba895ec3a5a SHA512 fc0b57fe60c98032f5f6f6c68dfc0be64edd18e5cbbf65c643402166f32da46e32655753191e634403461b12138f75d3c158802f1c60db71cb18eae1035e9000 MISC metadata.xml 908 BLAKE2B 57e840cbf69ebd2780ecaf5a3009905b782223a16339beae90acf1c087a185944e33fe952b477184244cb3f5f313fcce32a561ce903d751de457b77f4a90cd74 SHA512 973d4967be4eb7aad087ce977a4d94945a8894138604e8d37257dac97f74e98f7fb9a7cad7e7f46abb4c8c39dcb4bd79e9ad26f96838ad39ac1894e154834d28 diff --git a/media-gfx/fontforge/fontforge-20170731-r4.ebuild b/media-gfx/fontforge/fontforge-20170731-r4.ebuild index 046325111fab..988a4ec0b7bd 100644 --- a/media-gfx/fontforge/fontforge-20170731-r4.ebuild +++ b/media-gfx/fontforge/fontforge-20170731-r4.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/fontforge/fontforge/releases/download/${PV}/fontforg LICENSE="BSD GPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="cairo truetype-debugger gif gtk jpeg png +python readline test tiff svg unicode X" RESTRICT="!test? ( test )" diff --git a/media-gfx/gphoto2/Manifest b/media-gfx/gphoto2/Manifest index 563eda12d7a1..2045ae4db0e1 100644 --- a/media-gfx/gphoto2/Manifest +++ b/media-gfx/gphoto2/Manifest @@ -1,5 +1,5 @@ DIST gphoto2-2.5.14.tar.bz2 784442 BLAKE2B 185bd0d18e0b8d280c0ec366738850bd1fe2d1405179700fe25678c04a88b2092820aa5f049bcc6f97c964b5875bd32e3f8c7c5240ef3a71f2af04d6bfdaadb9 SHA512 47cb0d212673c9c0dbc996e0a67191a307599c844293a67184bd1529d9e3b417e154c6de64f4563f6f7e599a1bd6b127266f85f5baa97bd7d86922405bf45331 DIST gphoto2-2.5.15.tar.bz2 790513 BLAKE2B e8a22d014ebd33f5e0976d72c5df8373e29106def5da575b69d21f2a58e9408c6ce399476135909e57111196d6e61ead953f66a00c9f440b7cf92e0da0f4a0f6 SHA512 46058a12a81379f3311911e103cf934b6eb616d7f81180615b385d01e855bf6ce998eb12811b9d032328ebed6acfc4456f3a383cfedb93c6967c9699654d4f40 EBUILD gphoto2-2.5.14.ebuild 1392 BLAKE2B d9dad5be797d3f5e2f789c42060c62499d59f8f8aa5129608eea7f023b0257a38d1d3e2d54b4889128f0a867368a3abcac4e3f47bddf98c675049f0b9f24f314 SHA512 6ef5220aaf64e480a95e71d5596093179a41d93912c1d17614034e4814832ba8788a1e282a8711096482eb94c284a65365fb85c67a748fb060a38ef921349a8c -EBUILD gphoto2-2.5.15.ebuild 1395 BLAKE2B 4e7754f3acd958ba3d8a7b409c770cea0cffc85be0002d0ae5f9f32529a20841b361e05280ee4c6dca3ab3e6e9c91a7335116a7182c6ee71d13af4474043493d SHA512 75c2ae03431f10ecdfdfcf88931f581916e67e712502884e1e4f7aa996ecab3c6abdec716bdc587e8fa0863ac764a24e061e8245a3f95c3a1c3d608fdd8361b9 +EBUILD gphoto2-2.5.15.ebuild 1394 BLAKE2B 37ee8b2690588d840705c0892cbfeecce0b374ef1f61d6786de4602c3360ccdcbb8c586ca970978d90cc5ca9e6c9756d103c2a9ebb1186d12f140d955dc49f76 SHA512 d31216163f52a33ada64f20e0892b9208b7b468524517c799778df7ef7b53dfc9492a9a81a39be625bf43a4d6e02538b2205ff04a4b665acc0c31e0e94376538 MISC metadata.xml 449 BLAKE2B 324e2ea46a0f8199033bf628d6719a51968a02af01fa3e8abcd1caaf7a4dcd892bfb6b8347a030edf4b2e8529aba47d7103789103a3b03adaa538338ab2ec91f SHA512 f938819a203e0119b1d81aa1dc812717d6ef02c3012f8ed667db452c7712bb7b142cee36d519ec33f4cf65ebcba7a660e2f67f6b66087ec6be832a4987e10c53 diff --git a/media-gfx/gphoto2/gphoto2-2.5.15.ebuild b/media-gfx/gphoto2/gphoto2-2.5.15.ebuild index adf9c1f83bf1..bf31c418c6d9 100644 --- a/media-gfx/gphoto2/gphoto2-2.5.15.ebuild +++ b/media-gfx/gphoto2/gphoto2-2.5.15.ebuild @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 sparc x86" +KEYWORDS="alpha amd64 ~hppa ~ppc ppc64 sparc x86" IUSE="aalib exif ncurses nls readline" # aalib -> needs libjpeg diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest index 4012de6db77d..620223e26fed 100644 --- a/media-gfx/graphviz/Manifest +++ b/media-gfx/graphviz/Manifest @@ -1,5 +1,5 @@ AUX graphviz-2.34.0-Xaw-configure.patch 2445 BLAKE2B fc1b3820fd72821ac431f5d93d0b4b0c8f596ca9d2c2f516961f5baab9fd54ba870df75434d2ed59fd9034bb7e2ce38c00faef9c12a79c7ec4da2d5e416d7117 SHA512 473d2ed9070329512cbc26929267b25fb8d7726e21ed01d2921d4d8ac13b8ffaf166f07229fa7409192cfa14fabb0cf68b299bb3331b3cc953ae5363274fd15c AUX graphviz-2.40.1-qt5.patch 4140 BLAKE2B d0d92dddd6ae1efb7e24e22ac0f32025b16ad1aab5182ec410dfd527732fefdf335cda392f1036409ac3a6b86be15794b80546ff9cbfd47454bd01266d861945 SHA512 bd1d51ae10d17ef321bba7dfa619054642debbb02ea1458b0597e6c62471e7750bf5d2cfc68ccb6fd2964b0fbe072b2e7642dd8b097c7e046f8877a2e36d3f44 DIST graphviz-2.40.1.tar.gz 25633455 BLAKE2B 96ba5a8cb94d93cf4ecd424bf29c1bf67099e39e582be97fca088de0aad6bbbb46b00af55c197894e0b63f1a96177894b6cd23498295bb524fe19a75661cbc59 SHA512 a3f358a7050523a39b91a259563a95925b37853ffec799e571211af5b686d3af42457c937882954482785745d90416b1abd945caf05f8abb52b3876e07aa70f5 -EBUILD graphviz-2.40.1-r1.ebuild 7964 BLAKE2B 86ccdfe5320c4222eca9150e3db3fd1c9bcb5c47c51d9782aab637ade7fd07f28a5c8c701fd430848532fe03ed86680fbe3d2b1674779bbb202138981577b0a6 SHA512 d5327a4a2f8d659352fdcecbb4d9981d8181d3706a4098218b146b37706227006a2c687056ce49689ca12d24dd895fcdc6deb8cff6502a9c152d38b4162b620b +EBUILD graphviz-2.40.1-r1.ebuild 7963 BLAKE2B 22e3695e2fbc84f9da66a611146942700035fd924b600322bac39448a7c064643b1f207ef94f5a5829be7cd4d6a21573af6e8ef584f2167180d5d3b9d9277c0b SHA512 c42e599340b92a038a7efdd007aa5226be474f20a5ed48c8086c066f31a0ace18e6c0c5df89a06429517dd3b03bbdd02e2ed3a558dad2801f2ad2a15df81826c MISC metadata.xml 2154 BLAKE2B 6d4f465488af95c9b49dc6997bc1ea91f87ed83661eab81bf6287afde99ae75c0cdef1a0ee1b1d99269b7fa484aacdbed13e13bb4a79b196564e04872aea0832 SHA512 1063c868fd3d0b6ad636e24d5eb00be84b19ea23266e0cffdc8c1c8da86bfcf05d3f48f29540b6452a2d7485463108e0e91f8546c24e13f95da4ebfb3283cb43 diff --git a/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild b/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild index 8121a9a6b952..72f4d50d3f19 100644 --- a/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild +++ b/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/${P}.tar.gz" LICENSE="CPL-1.0" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="+cairo devil doc examples gdk-pixbuf gtk gts guile java lasi nls pdf perl postscript python qt5 ruby static-libs svg tcl X elibc_FreeBSD" REQUIRED_USE=" diff --git a/media-gfx/jpegpixi/Manifest b/media-gfx/jpegpixi/Manifest index 70c4704d62c3..f66f771b3845 100644 --- a/media-gfx/jpegpixi/Manifest +++ b/media-gfx/jpegpixi/Manifest @@ -1,3 +1,3 @@ DIST jpegpixi-1.1.1.tar.gz 155045 BLAKE2B 767789f87e7fe29f36c6332cd79f15d3d5109ee84626f8bec3827602c28dcfa55e297611ff565495a4ffabc421247d6e39ea0832721d276394ac7ad607e6bb1f SHA512 e77bb351c5e0c92c8476684be29695bf82f2be043b0e6f40acfc3c692180cfeb625ebf180a6ed48d97b9d895ecb12b5ba34a47f6cb6a352af0fe1767e846ef3e -EBUILD jpegpixi-1.1.1.ebuild 589 BLAKE2B cf04af03fb4ed2a9037c068de91cba1b9848f200bc63960d6c16f84e4142c4d71b674193fa3d526a210e8f34bf503bbb008333f2a0946cc723b37f496973b576 SHA512 0de87baf656f269c5f9f4ef39910e41754d2f00fa264c4752417dcbfa75c34eb336d73bbc61f740c704c1c1e4f527cb8c10e57af69851df1b4ab660a1125888e +EBUILD jpegpixi-1.1.1.ebuild 579 BLAKE2B f2ce7551c6dda703a8e76e0a51ec3caf90c42f24d80bed432b2c7603221a0c7dc8c0b5d42af8f7d80502fc25b56c6871be35752c91cba33c10dd7fc672e30968 SHA512 06d2202db7ae3c83e048ec7e5b3c18f2e14042004c9be3245afcf34bb6243230b0da44d87068bd2b4c14fd759bd5b67cba494c53b291582b28ba32077ae5dab2 MISC metadata.xml 382 BLAKE2B f3a4ffb2c0ec6e15ec3a352b847697b41b8eab411a7cadb8aa805e99f954c8981d07485e731e90009530976554e0da0bceab7df2be49c508e479ad85dff1fdb1 SHA512 cfa512c9ce0af9841c853d9ee9d0383414bb8f9067041a397900dec9b17534de43fd09c9ccf64162d5f6c88b86bf49e0eb1b82337c1d06a9bb71819b07d26827 diff --git a/media-gfx/jpegpixi/jpegpixi-1.1.1.ebuild b/media-gfx/jpegpixi/jpegpixi-1.1.1.ebuild index e0158313e68a..78bf7510b840 100644 --- a/media-gfx/jpegpixi/jpegpixi-1.1.1.ebuild +++ b/media-gfx/jpegpixi/jpegpixi-1.1.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 +EAPI=6 DESCRIPTION="almost lossless JPEG pixel interpolator, for correcting digital camera defects" HOMEPAGE="http://www.zero-based.org/software/jpegpixi/" @@ -15,7 +15,7 @@ IUSE="" DEPEND="virtual/jpeg" src_install() { - dobin jpegpixi jpeghotp || die - doman man/jpegpixi.1 man/jpeghotp.1 - dodoc AUTHORS NEWS README README.jpeglib ChangeLog + dobin jpeg{hotp,pixi} + doman man/jpeg{hotp,pixi}.1 + einstalldocs AUTHORS NEWS README README.jpeglib ChangeLog } diff --git a/media-gfx/jpegtoavi/Manifest b/media-gfx/jpegtoavi/Manifest index 8e2fc9c6fcc6..1852e37cc234 100644 --- a/media-gfx/jpegtoavi/Manifest +++ b/media-gfx/jpegtoavi/Manifest @@ -1,4 +1,4 @@ -AUX jpegtoavi-1.5-Makefile.patch 873 BLAKE2B 19499a708db9361b57124fd9ccb4d0b1afbedec660d670d16d70cfcfc70697eedae7572bf3be2e798c568ca4f718f035893830cb3425c342308a064b531c0ca1 SHA512 6a33393a6eef430630b58d12f7e8a5b6a4266c8dfa1a0fd18a20660c5f9ed374edde377abda68dbcefb2863ce07e5c72b23ad7db2620f77e450fdd6c9db563ae +AUX jpegtoavi-1.5-Makefile.patch 872 BLAKE2B d3da3b46462bb34e7e04ad12f77bbb9c2c410ba73a79513407f803a0e3538fa68f4f7725de2c0b07611babe1b256a2e699a2986187c622f43ba51e40f0571752 SHA512 ef933465a8e43548339168a0249d714ee3e06ab7e9bb652f39de4923ae95d29da7914da5c6ceb13051aa438555b618735c36f6c22254dec96219a1c7954cfb31 DIST jpegtoavi-1.5.tar.gz 14882 BLAKE2B 969893d9c1b619021043f33abb88720de832a4ebd2292c05467d143977fc425279c00714b74ab17e55e8b5d47e01da4132302c33336a37dff1829e9c05b7b72b SHA512 7daac756cb2b863cdaa1101e99705a429e08695adf777cf6398150e5b2fd01c5b4b772b2d3f177f6d67592a1dd5d4fdcecd62563cefa58d06ef2dcbc2aa07231 -EBUILD jpegtoavi-1.5.ebuild 565 BLAKE2B 79d26437a1649ce03277f1b752be3c697f07924190d09df81370347a52a444219c25a0c00c4275e923e64a77785e37e022921cdb6f8b08aab1344e0503306c06 SHA512 95b7db6169f946751d82e56433f0e26caf28770757d28e56b2b5c69dfb4e6e57fff6c72a8f1dd3b97cb0be2c9be58cc537320bd9561dc484f90b42ecdff4c87a +EBUILD jpegtoavi-1.5.ebuild 525 BLAKE2B d65fc7fdb202bfbddeace64ce796ad5bff491391954fbdf93614f3d0291acb1e30e6a9444d45c3489167693a878b14cc8ec6b30b5d8448106545c4041bde54c6 SHA512 d4c36f8b9702a12c5e2e4fa70a00af5b92972a475f1b8c6996cf000d2ba8edf5ea914c2bcac9d5f5d6d7f717263950bc46f989901a353629e503a7a6576cfbc0 MISC metadata.xml 436 BLAKE2B 42833fd1a99c5e2466e8048f2d8a23e8fcca9622b74f8e6fd61ebb649803a87964d8a4189ad652d39210abdc193b070ee0915bab2985fd10bbd1b4e37c07b3f2 SHA512 6e34f1a383d6921a5114ea1d850b428ac50f748a7fe6847978409590346198dad15e998c1bc5f97af5550a90b9f51319133fab2788400c7df9d3cb4cbefd4297 diff --git a/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch b/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch index 9f562f293b31..3f7d60695389 100644 --- a/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch +++ b/media-gfx/jpegtoavi/files/jpegtoavi-1.5-Makefile.patch @@ -1,5 +1,5 @@ ---- Makefile.orig 2010-03-02 23:06:07.000000000 +0200 -+++ Makefile 2010-03-02 23:11:59.000000000 +0200 +--- a/Makefile 2010-03-02 23:06:07.000000000 +0200 ++++ b/Makefile 2010-03-02 23:11:59.000000000 +0200 @@ -1,4 +1,4 @@ -CC=gcc +CC ?= gcc diff --git a/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild b/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild index eb054f06923d..5da0a3e24689 100644 --- a/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild +++ b/media-gfx/jpegtoavi/jpegtoavi-1.5.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit eutils toolchain-funcs +EAPI=6 +inherit toolchain-funcs DESCRIPTION="JPEG to AVI/MJPEG animation command-line conversion tool" HOMEPAGE="https://sourceforge.net/projects/jpegtoavi/" @@ -13,17 +13,14 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -src_prepare() { - epatch "${FILESDIR}"/${P}-Makefile.patch -} +PATCHES=( "${FILESDIR}/${P}-Makefile.patch" ) -src_compile() { +src_configure() { tc-export CC - emake || die } src_install() { - dobin ${PN} || die + dobin ${PN} doman ${PN}.1 dodoc CHANGELOG README } diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest new file mode 100644 index 000000000000..c3bd529a7936 --- /dev/null +++ b/media-gfx/yafaray/Manifest @@ -0,0 +1,7 @@ +AUX yafaray-3.3.0-blender-exporter-paths.patch 536 BLAKE2B 558b85f1ffc6afe3daf58a395b54e31d7affc239a5f5fd79dead9410925e09b14ff907bb2ddf3899b57451e19b11d776cd5c7a0ebf8e590a8c45a337a5100abd SHA512 a7ee5f2112a21da653049f36b50851551f3402a54b4f1644e3e151beb83b827493c2992059a94ad06583e9906bd58f8929a79c6da49ccc9dcba63c9397e69440 +AUX yafaray-3.3.0-respect-cflags.patch 502 BLAKE2B 1df4f8667e8c2577812c690baf17c200912abc12748b41f0ea436add977eb111077b0655ba0cf83b3994d819e96b35893fa8ba4c29c85414b000178497115577 SHA512 ce1ebe180240861d553b54bccc42cbf01a91b5767a5e52e0d1578c8b4be4247a92331069a3946a628fa45d62fd02fd2112c3cd028cf1d1cdc05083d4e1dabd79 +AUX yafaray-3.3.0-strip-debug-mode.patch 767 BLAKE2B 42351950158441bd328e3fd3265e8e9e0f96ee51cf9aadf427c3dda7b57b77716e022801183271dd7206d9ec58b1e239159736894423ca53885c033a2b7e8e0f SHA512 f139d622162d02bfd1d95d38ffa2fcb29fd32cdd51cc14aec986dc481c00aa3c982e537ead2ae8d1972401312aaf9ef8cd92b81fc1fd3ee819f350eadac5d2d2 +DIST yafaray-blender-exporter-3.3.0.tar.gz 377928 BLAKE2B 7876c78ca6228282648909e566803b33304be0082fab48819340845e3927877b9734f7bc7e09702bf7cbf6477c68932637eb766dc98b9e8e4ab42ca99d2a3595 SHA512 70a1a806d97f6f3b43cdb5d6caac6104f0f63720d5920f6a623078e05e6977d065d2fabca4da1644deb97f09176b88347f0278e4bc699c783d807d3f530421d0 +DIST yafaray-core-3.3.0.tar.gz 1135360 BLAKE2B 67f6956a3866bfe0b4167f30a7c2c7f05ee23556e9fff7041ff3937e90011e4c2538b706ae27e02351ae555d0d05531f3eb711257591d85f779683c9c42ac6f7 SHA512 32efb87872485c4a188483ae1172cac2eca2281e7b9ab29f184c047b94f3986d65da199a74c169d0e2fd6af59cf37b7deb69dcfb1cb4763bb1ebca30d46b5b90 +EBUILD yafaray-3.3.0.ebuild 3372 BLAKE2B 29ec1802d482a60e654fafdf990209fb4faad705c0ef9747f05cbbf744d164c57e70fd527ef37cf64d8130c0ae169aefc7e5dde224f903021cc3d2ac7009e5ed SHA512 928e5a003e822d9e2a282245efebf5cb007852a9101283a3a3178240d04a28378e5e9e99d631ac29084da036f0e5ccdc02fd5435e637abf6fe3d4a976b2793f8 +MISC metadata.xml 1133 BLAKE2B 17e445d385b5d94bcb6eafa02e211423d6a515c8fd6b756a856e312817117e958652a11a223e08ea062aef9fe0df1e23b623b0025f34b6b3b1a53a32cb1cabf6 SHA512 d1d8237a273d994de3f77328ab97bb6c4008ce94c0598d3fa345ecef047bbcaaa6f75b3fe3b05d80f65adbca05be7a30d7759e7ae37034a8e42e52d7483cc981 diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch b/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch new file mode 100644 index 000000000000..9bf4f2b91f68 --- /dev/null +++ b/media-gfx/yafaray/files/yafaray-3.3.0-blender-exporter-paths.patch @@ -0,0 +1,15 @@ +diff --git a/work/Blender-Exporter-3.3.0/__init__.py b/work/Blender-Exporter-3.3.0/__init__.py +index 85dc1c2..70a79e8 100644 +--- a/__init__.py ++++ b/__init__.py +@@ -22,8 +22,8 @@ import sys + import os + import ctypes + +-PLUGIN_PATH = os.path.join(__path__[0], 'bin', 'yafaray-plugins') +-BIN_PATH = os.path.join(__path__[0], 'bin') ++PLUGIN_PATH = '/usr/lib/yafaray-plugins' ++BIN_PATH = '/usr/bin' + YAF_ID_NAME = "YAFA_V3_RENDER" + + # Version to be automatically populated during the cmake build process, getting the version from git tags diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch new file mode 100644 index 000000000000..c22ff7e41ea6 --- /dev/null +++ b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch @@ -0,0 +1,14 @@ +diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt +index 75fd2c6..94c2502 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -219,9 +219,6 @@ if(NOT WIN32) + set(YAF_BINDINGS_RUBY_DIR ${YAF_LIB_DIR}) + endif(NOT YAF_BINDINGS_RUBY_DIR) + +- # build flags +- set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler flags" FORCE) +- + if(USER_RELEASE_OPTIMIZATION_FLAGS) + set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS}) + else(USER_RELEASE_OPTIMIZATION_FLAGS) diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch b/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch new file mode 100644 index 000000000000..3bdb4eeef361 --- /dev/null +++ b/media-gfx/yafaray/files/yafaray-3.3.0-strip-debug-mode.patch @@ -0,0 +1,12 @@ +diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt +index 75fd2c6..52c6b3d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -17,7 +17,6 @@ option(WITH_YAF_PY_BINDINGS "Enable the YafaRay Python bindings" ON) + option(WITH_YAF_RUBY_BINDINGS "Enable the YafaRay Ruby bindings" OFF) + option(WITH_OSX_ADDON "Enable the use of blender's included python lib on OSX platforms" OFF) + option(WITH_OpenCV "Build OpenCV image processing support" ON) +-option(DEBUG_BUILD "Enable debug build mode" OFF) + option(EMBED_FONT_QT "Embed font for QT GUI (usefull for some buggy QT installations)" OFF) + option(FAST_MATH "Enable mathematic approximations to make code faster" ON) + option(FAST_TRIG "Enable trigonometric approximations to make code faster" ON) diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml new file mode 100644 index 000000000000..cee5f0b787f1 --- /dev/null +++ b/media-gfx/yafaray/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>herb@hlmjr.com</email> + <name>Herb Miller Jr. (herbmillerjr)</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + YafaRay is a raytracing open source render engine. Raytracing is a rendering technique for generating realistic images by tracing the path of light through a 3D scene. + An render engine consists of a "faceless" computer program that interacts with a host 3D application to provide very specific raytracing capabilties "on demand". Blender 3D is the host application of YafaRay. + </longdescription> + <use> + <flag name="blender">Install addon for <pkg>media-gfx/blender</pkg></flag> + <flag name="fastmath">Enable mathematic approximations to make code faster</flag> + <flag name="fasttrig">Enable trigonometric approximations to make code faster</flag> + <flag name="opencv">Use <pkg>media-libs/opencv</pkg></flag> + </use> +</pkgmetadata> + diff --git a/media-gfx/yafaray/yafaray-3.3.0.ebuild b/media-gfx/yafaray/yafaray-3.3.0.ebuild new file mode 100644 index 000000000000..3b077ecb4aa8 --- /dev/null +++ b/media-gfx/yafaray/yafaray-3.3.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit cmake-utils python-single-r1 + +DESCRIPTION="A free open-source montecarlo raytracing engine" +HOMEPAGE="http://www.yafaray.org" +SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz + https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> ${PN}-blender-exporter-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff truetype" + +RDEPEND="dev-libs/boost:= + dev-libs/libxml2 + sys-libs/zlib + blender? ( media-gfx/blender ) + jpeg? ( virtual/jpeg:0 ) + opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] ) + openexr? ( >=media-libs/openexr-2.2.0:= ) + png? ( media-libs/libpng:= ) + python? ( ${PYTHON_DEPS} ) + tiff? ( media-libs/tiff:0 ) + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND} + dev-lang/swig" + +S="${WORKDIR}/Core-${PV}" + +src_prepare() { + cmake-utils_src_prepare + + sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die + + eapply "${FILESDIR}/${P}-strip-debug-mode.patch" + eapply "${FILESDIR}/${P}-respect-cflags.patch" + pushd "${WORKDIR}/Blender-Exporter-${PV}" || die + eapply "${FILESDIR}/${P}-blender-exporter-paths.patch" + popd || dir + eapply_user +} + +src_configure() { + local mycmakeargs=( + -DYAF_LIB_DIR=$(get_libdir) + -DWITH_YAF_PY_BINDINGS=$(usex python) + -DWITH_YAF_RUBY_BINDINGS=OFF + -DBLENDER_ADDON=OFF # addon is a separate package called blender-exporter + -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem + -DFAST_MATH=$(usex fastmath) + -DFAST_TRIG=$(usex fasttrig) + -DWITH_JPEG="$(usex jpeg)" + -DWITH_OpenCV="$(usex opencv)" + -DWITH_OpenEXR="$(usex openexr)" + -DWITH_PNG="$(usex png)" + -DWITH_QT=OFF # qt4 only at the moment + -DWITH_TIFF="$(usex tiff)" + -DWITH_Freetype="$(usex truetype)" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py" + python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so" + rm -v "${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || die + + if use blender; then + pushd "${WORKDIR}/Blender-Exporter-${PV}" || die + rm README LICENSES INSTALL CHANGELOG .gitignore || die + # grab blender version number for plugin directory + local blender_plugin_dir=$(best_version media-gfx/blender) + blender_plugin_dir=${blender_plugin_dir##*/} # remove category + blender_plugin_dir=${blender_plugin_dir#*-} # remove package name + blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision number if exists + insinto /usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3 + doins -r . + popd || die + fi +} + +pkg_postinst() { + elog "To confirm your installation is working as expected, run" + elog "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml" + elog "as an input file, then compare the result to" + elog "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'" + if use blender; then + elog + elog "To use within Blender, navigate to File -> User Preferences -> Add-ons (tab)" + elog "and enable 'Render: YafaRay v3 Exporter'. This will make YafaRay available" + elog "in the render engines drop-down." + fi +} |