summaryrefslogtreecommitdiff
path: root/libre/wings3d
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-16 19:42:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-16 19:42:20 -0300
commit5752bd44a11cb6bc78d98a3ff8e23cf9c924647c (patch)
treee8c27fad2a3168f81e109142ebd1183d6c01945c /libre/wings3d
parent0a7a79ffcf9128021ad4f3a3fefccd5f5ba9da68 (diff)
downloadabslibre-5752bd44a11cb6bc78d98a3ff8e23cf9c924647c.tar.gz
abslibre-5752bd44a11cb6bc78d98a3ff8e23cf9c924647c.tar.bz2
abslibre-5752bd44a11cb6bc78d98a3ff8e23cf9c924647c.zip
wings3d-2.1.5-1.parabola1: updating version
Diffstat (limited to 'libre/wings3d')
-rw-r--r--libre/wings3d/PKGBUILD32
-rw-r--r--libre/wings3d/wings3d.sh2
2 files changed, 16 insertions, 18 deletions
diff --git a/libre/wings3d/PKGBUILD b/libre/wings3d/PKGBUILD
index c87f43bf1..ce4993150 100644
--- a/libre/wings3d/PKGBUILD
+++ b/libre/wings3d/PKGBUILD
@@ -1,12 +1,11 @@
-# $Id: PKGBUILD 176459 2016-05-24 21:23:19Z arodseth $
+# $Id: PKGBUILD 215733 2017-03-12 00:10:20Z arodseth $
# Maintainer (Arch): Alexander F Rødseth <rodseth@gmail.com>
# Contributor (Arch): kappa <kappacurve@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=wings3d
-_pkgname=wings
-pkgver=1.5.4
-pkgrel=2.parabola1
+pkgver=2.1.5
+pkgrel=1.parabola1
pkgdesc='3D modeling program, without nonfree kerkythea render support'
arch=('x86_64' 'i686' 'armv7h')
url='http://www.wings3d.com/'
@@ -18,24 +17,26 @@ conflicts=("${pkgname}-libre")
replaces=("${pkgname}-libre")
source=("http://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
"$pkgname.sh")
-sha256sums=('bd04ca1c1237f3a6f29ce3f653015e21142b849b338a3d1ab8633e3c6bcde663'
- '46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e')
+sha256sums=('f0f03cfe9f0ee0ee6c734a2b7e50410d5f21238441cb1f34422b0ecde25b582c'
+ '9f91da23a91bd5808a4f3ce38472e262706f648804628648703ad3695df22e27')
prepare() {
gendesk -f -n \
--pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'Wings3D' \
--genericname '3D Modeler' --categories 'Graphics;3DGraphics'
- convert "$_pkgname-$pkgver/win32/wings.ico" "$pkgname.png"
+ convert "${pkgname%3d}-$pkgver/win32/wings.ico" "$pkgname.png"
# Path fix for building wpc_lwo
- ln -s "$srcdir/$_pkgname-$pkgver" \
- "$_pkgname-$pkgver/plugins_src/import_export/wings"
+ ln -s "$srcdir/${pkgname%3d}-$pkgver" \
+ "${pkgname%3d}-$pkgver/plugins_src/import_export/wings"
+ ln -s "$srcdir/${pkgname%3d}-$pkgver" "$srcdir/wings"
}
build() {
- export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
- make -C "$_pkgname-$pkgver" all lang
+ export ESDL_PATH="$(echo /usr/lib/erlang/lib/esdl-*)"
+ export ERL_LIBS="$srcdir"
+ make -C "${pkgname%3d}-$pkgver" all lang
}
package() {
@@ -45,15 +46,12 @@ package() {
install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -d "$pkgdir/usr/lib/$pkgname"
- cd "$_pkgname-$pkgver"
- for subdir in ebin fonts patches plugins shaders textures; do
- cp -r "$srcdir/$_pkgname-$pkgver/$subdir/" "$pkgdir/usr/lib/$pkgname"
+ cd "${pkgname%3d}-$pkgver"
+ for subdir in e3d ebin icons plugins psd shaders src textures tools; do
+ cp -r "$srcdir/${pkgname%3d}-$pkgver/$subdir/" "$pkgdir/usr/lib/$pkgname"
done
msg 'remove nonfree kerkythea render support plugin'
rm -v $pkgdir/usr/lib/$pkgname/plugins/import_export/wpc_kerky.beam
-
- msg 'remove deprecated yafray render support plugin'
- rm -v $pkgdir/usr/lib/$pkgname/plugins/import_export/wpc_yafray{.beam,_{de,en,fr,ko}.lang}
}
# getver: wings3d.com/?page_id=84
diff --git a/libre/wings3d/wings3d.sh b/libre/wings3d/wings3d.sh
index c0fd3b2fb..05aac188b 100644
--- a/libre/wings3d/wings3d.sh
+++ b/libre/wings3d/wings3d.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-erl -noinput -smp disable -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin -run wings_start start_halt ${1+"$@"}
+erl -noinput -smp -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin -run wings_start start_halt ${1+"$@"}