summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2015-09-06 10:00:50 +0200
committerAvatar Marvin Schmidt <marv@exherbo.org> 2015-09-19 12:05:24 +0200
commite6b963cad6c2d0e1545b616c42689069a56493f3 (patch)
treea27f8fe67f5d506e5e075d197b6ba38dd7bba6ab
parent85e03f3c1ef1d7b93cc5c640730bc0db142634a0 (diff)
downloadmarv-e6b963cad6c2d0e1545b616c42689069a56493f3.tar.gz
marv-e6b963cad6c2d0e1545b616c42689069a56493f3.tar.xz
Initial exheres for wings-1.5.3
Change-Id: Ia903129e825a566e4e0929c491ef7b7725abb627 Reviewed-on: https://galileo.mailstation.de/gerrit/3503 Reviewed-by: Marvin Schmidt <marv@exherbo.org>
-rw-r--r--packages/dev-erlang/esdl/esdl-1.3.1.exheres-02
-rwxr-xr-xpackages/media-gfx/wings/files/wings.sh3
-rw-r--r--packages/media-gfx/wings/wings-1.5.3.exheres-049
3 files changed, 53 insertions, 1 deletions
diff --git a/packages/dev-erlang/esdl/esdl-1.3.1.exheres-0 b/packages/dev-erlang/esdl/esdl-1.3.1.exheres-0
index fc5046c..65505af 100644
--- a/packages/dev-erlang/esdl/esdl-1.3.1.exheres-0
+++ b/packages/dev-erlang/esdl/esdl-1.3.1.exheres-0
@@ -1,7 +1,7 @@
# Copyright 2015 Marvin Schmidt <marv@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
-require github [ user=dgud ]
+require github [ user=dgud tag=${PNV} ]
SUMMARY="Erlang bindings for SDL"
diff --git a/packages/media-gfx/wings/files/wings.sh b/packages/media-gfx/wings/files/wings.sh
new file mode 100755
index 0000000..6cdf30b
--- /dev/null
+++ b/packages/media-gfx/wings/files/wings.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec erl -smp -run wings_start start_halt ${1+"$@"}
diff --git a/packages/media-gfx/wings/wings-1.5.3.exheres-0 b/packages/media-gfx/wings/wings-1.5.3.exheres-0
new file mode 100644
index 0000000..d548f8a
--- /dev/null
+++ b/packages/media-gfx/wings/wings-1.5.3.exheres-0
@@ -0,0 +1,49 @@
+# Copyright 2015 Marvin Schmidt <marv@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+MY_PV=v${PV}
+require github [ user=dgud ]
+
+SUMMARY="Wings 3D is an advanced subdivision modeler that is both powerful and easy to use"
+HOMEPAGE="http://www.wings3d.com"
+
+LICENCES="BSD-3"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build+run:
+ dev-erlang/erlang-cl
+ dev-erlang/esdl[>=1.0.1]
+ dev-lang/erlang[>=16.01][wxwidgets(-)]
+ media-libs/SDL:0
+"
+
+#WORK="${WORKBASE}"/${PNV}
+
+src_compile() {
+ ERL_PATH=$(/usr/bin/erl -noshell -eval 'io:format("~s", [code:lib_dir(esdl)]), halt().')
+
+ emake ESDL_PATH=${ERL_PATH} unix
+}
+
+src_install() {
+ WINGS_PATH=/usr/$(exhost --target)/lib/erlang/lib/${PNV}
+
+ insinto ${WINGS_PATH}
+ for subdir in ebin fonts textures shaders ; do
+ doins -r ${subdir}
+ done
+
+ insinto ${WINGS_PATH}/plugins/default
+ doins -r plugins/*
+
+ insinto ${WINGS_PATH}/ebin
+ doins intl_tools/tools.beam
+
+ newbin "${FILES}"/wings.sh wings
+
+ emagicdocs
+}
+