[arch-commits] Commit in wings3d/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Feb 28 19:51:52 UTC 2013


    Date: Thursday, February 28, 2013 @ 20:51:52
  Author: arodseth
Revision: 85305

Doesn't compile yet :/

Modified:
  wings3d/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-28 19:49:40 UTC (rev 85304)
+++ PKGBUILD	2013-02-28 19:51:52 UTC (rev 85305)
@@ -5,21 +5,25 @@
 pkgname=wings3d
 _pkgname=wings
 pkgver=1.4.1
-pkgrel=12
+pkgrel=13
 pkgdesc='3D modeling program'
 arch=('x86_64' 'i686')
 url='http://www.wings3d.com/'
 license=('GPL')
-depends=('erlang-sdl' 'erlang-cl' 'bash' 'desktop-file-utils' 'erlang=R15B03_1')
+depends=('erlang-sdl' 'erlang-cl' 'bash' 'desktop-file-utils' 'erlang')
 makedepends=('setconf' 'gendesk')
 optdepends=('povray: rendering support via POV-Ray')
 install=$pkgname.install
 source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/wings/tar.gz/dgud/r15b-driver-compat"
         "$pkgname.sh"
-        "$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png")
+        "$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png"
+        'erlangR16B.patch'
+        'https://raw.github.com/erlang/pmod_transform/master/src/pmod_pt.erl')
 sha256sums=('b89aca41937d4d07424ccc0447eb5a6c3755350428201d7d7644e467dcd20fdf'
             '46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
-            '6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a')
+            '6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a'
+            '1f06117193e7aa108a547eb7e9b3d0621a569548194bd8e79f1300749a07020f'
+            'abda381fad01f6342f3967cb071d1218f40b1bfb8a0f13fa46bf7aea72333e16')
 _genericname=('3D Modeler')
 _dirname="$_pkgname-dgud-r15b-driver-compat"
 
@@ -29,9 +33,18 @@
   setconf "$pkgname.desktop" Categories "Graphics;3DGraphics;"
 
   cd "$_dirname"
+  patch -p1 -i "$srcdir/erlangR16B.patch"
+  cp -f "$srcdir/pmod_pt.erl" src/
+  cd src
+  echo erlc -pa /usr/lib/erlang/lib/esdl-1.2/ebin  -I /usr/lib/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.2.x.y.WINGS"' -pa ../intl_tools  -o../ebin pmod_pt.erl
+  erlc -pa /usr/lib/erlang/lib/esdl-1.2/ebin  -I /usr/lib/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.2.x.y.WINGS"' -pa ../intl_tools  -o../ebin pmod_pt.erl
+  echo "YES"
+  return 1
+  cd ..
+
   export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
   make
-  make lang
+  #make lang
 }
 
 package() {




More information about the arch-commits mailing list