diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/Manifest.gz | bin | 38358 -> 38363 bytes | |||
-rw-r--r-- | media-gfx/wings/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/wings/files/wings-2.3-nogit.patch | 13 | ||||
-rw-r--r-- | media-gfx/wings/wings-2.3.ebuild | 62 |
4 files changed, 78 insertions, 0 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex 47937aad7a53..40e5068b56c4 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/wings/Manifest b/media-gfx/wings/Manifest index c5e4a6298a65..62ad70b33a2c 100644 --- a/media-gfx/wings/Manifest +++ b/media-gfx/wings/Manifest @@ -1,4 +1,7 @@ +AUX wings-2.3-nogit.patch 410 BLAKE2B 38d8fa6fc909ba2c35b29f34a0a715c86f8539fd6646b35d221ba559ee4c1bcf5963f69bbac93a55a4af59f0747c6ff768e0ef84cd31f57cfdfcc22f203b9570 SHA512 5ad3e83553ff3930d3a5d025f59aa6b0b5f2dd7d24fecbf17e3c2a4e625d53e7ec5b5078fc9a57ec5f898382be52508a5facdc9add1850eb5b3ba3df618cf306 AUX wings.sh-r1 181 BLAKE2B d892abf053f7f0039e50057869a4a0a26438f7312dca62561fc22280b2341621e17f13c97e7031072b242db42c533f4012b21ac46645cf32e121e5aad1884774 SHA512 739b8e68a1b47a3f4adbff8a1f34b713d7b0ac2d8103d85d3fdd6020bf08e81c231d210239c140d23e1dd135ff7122bfd43327a27585a333eafab473ea1480df DIST wings-2.2.6.1.tar.bz2 3266532 BLAKE2B a3ec86925632df7d231d620a47841781f8b2e66a50d13857c57fa6389890e7a03fed8bf5e0d09b03de00d6360ee0e4129a4178aec34270367879890f9430c208 SHA512 dba4b189c80180533b7a6c10be5c236a4a9fdacaa7dc491a0d1892149f7a75e636778acc11e38ef82a06718ae705e640da2e1618ec655828d2056e6b3864aba4 +DIST wings-2.3.tar.bz2 3561319 BLAKE2B 0f3dce900dcae74516b57555f188aa578a5ea138d0e55e2b15ba946581652e470f5f596bd7e7661394674d437c8cbbe395bbf2e769af2a77d6940fddab1c86df SHA512 b5b054d974af2443cbe7d46a32cb8dfb7641054fa68aea9245e3d3100b21d223f443171572c3f371f25d937dca8cdb11870c61ba21e28632afef7886b4b2487b EBUILD wings-2.2.6.1.ebuild 1131 BLAKE2B 10b1c344453222b75ee28c17bf27327484b6d1572172bbe70a325e908f51b0ccbfb83d115c3dc4a1ad5c496358f7bce16ccb6ed90802246833ff440851972241 SHA512 859c6a5d99f12bd3732432abf5aa38cc381f5835402d7741e3dee1f5f4756920030fe5084fb583a246a21442b7b1446d795975f4bd11b0da598f80cd098eaea3 +EBUILD wings-2.3.ebuild 1304 BLAKE2B 07ac45947835b80cd6eb4ed28db44fb88b8a5f5dcd0023c99ac4974d8a645307959dedd0ad212173e4f12c63ca926d1dacb8396d2832f8cd8f04ac3c58b1483f SHA512 1a2f8ebfcb214ecfc1e3063d516b09885b34c2d44b35eb7717b5e7747fec97fb2718379609c50d8173d3fdbc7b88801e64cf9bce91bb081635deba2ab47a33a2 MISC metadata.xml 568 BLAKE2B aa2315a1a8ac463ef344365b2273b5f54c4aa5df6239c412aea142f910123aee2dac95bc606a1bde609413475e93b17305b03b64bed320aeb3e93d7421b815ec SHA512 969a180e5b170e8eb27fcb971e320c838610b462ea42a7b1b8d758c084a81658d2d8777aa0d885881388942cbf2d66eddaeacb09346e09b55c0623ce5f688e46 diff --git a/media-gfx/wings/files/wings-2.3-nogit.patch b/media-gfx/wings/files/wings-2.3-nogit.patch new file mode 100644 index 000000000000..734fbbeb717d --- /dev/null +++ b/media-gfx/wings/files/wings-2.3-nogit.patch @@ -0,0 +1,13 @@ +--- a/Makefile 2024-10-20 12:12:36.987424596 +0200 ++++ b/Makefile 2024-10-20 12:13:55.487467140 +0200 +@@ -14,10 +14,8 @@ + # Check if OpenCL package is as external dependency + CL_PATH = $(shell $(ERL) -noshell -eval 'erlang:display(code:which(cl))' -s erlang halt) + ifneq (,$(findstring non_existing, $(CL_PATH))) +-DEPS=cl + endif + +-DEPS += libigl eigen + SUBDIRS=c_src intl_tools src e3d plugins_src icons + + # diff --git a/media-gfx/wings/wings-2.3.ebuild b/media-gfx/wings/wings-2.3.ebuild new file mode 100644 index 000000000000..a822318d4c2a --- /dev/null +++ b/media-gfx/wings/wings-2.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs + +DESCRIPTION="Wings 3D is an advanced subdivision modeler" +HOMEPAGE="http://www.wings3d.com/" +SRC_URI="https://downloads.sourceforge.net/wings/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >dev-lang/erlang-21[wxwidgets] + dev-libs/cl + media-libs/glu + media-libs/libsdl[opengl] + virtual/opengl + dev-cpp/eigen + sci-libs/libigl +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( "${FILESDIR}"/${P}-nogit.patch ) + +src_prepare() { + sed -i -e 's# -Werror##g;s# -O3##g' $(find -name Makefile) || die + sed -i \ + -e "s|IGL_INCLUDE = .*$|IGL_INCLUDE=-I/usr/include/eigen3|" \ + c_src/Makefile \ + || die + default +} + +src_compile() { + export ERL_PATH="/usr/$(get_libdir)/erlang/lib/" + tc-export CC + # Work around parallel make issues + # Set ER_LIBS to the top source directory + emake vsn.mk + for subdir in intl_tools e3d src plugins_src icons; do + emake -C ${subdir} opt ERL_LIBS="${S}" + done + default +} + +src_install() { + WINGS_PATH=${ERL_PATH}/${P} + dodir ${WINGS_PATH} + + find -name 'Makefile*' -exec rm -f '{}' \; + + insinto ${WINGS_PATH} + doins -r e3d ebin icons plugins priv psd shaders src textures tools + + newbin "${FILESDIR}"/wings.sh-r1 wings + dodoc AUTHORS +} |