[arch-commits] Commit in wings3d/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at archlinux.org
Wed Feb 26 21:34:48 UTC 2020
Date: Wednesday, February 26, 2020 @ 21:34:47
Author: arodseth
Revision: 583303
archrelease: copy trunk to community-x86_64
Added:
wings3d/repos/community-x86_64/PKGBUILD
(from rev 583302, wings3d/trunk/PKGBUILD)
wings3d/repos/community-x86_64/wings3d.sh
(from rev 583302, wings3d/trunk/wings3d.sh)
Deleted:
wings3d/repos/community-x86_64/PKGBUILD
wings3d/repos/community-x86_64/wings3d.sh
------------+
PKGBUILD | 105 +++++++++++++++++++++++++----------------------------------
wings3d.sh | 8 ++--
2 files changed, 50 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-26 21:34:39 UTC (rev 583302)
+++ PKGBUILD 2020-02-26 21:34:47 UTC (rev 583303)
@@ -1,59 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: kappa <kappacurve at gmail.com>
-
-pkgname=wings3d
-pkgver=2.2.5
-pkgrel=1
-pkgdesc='3D modeler using the winged edge data structure'
-arch=(x86_64)
-url='http://www.wings3d.com/'
-license=(GPL)
-depends=(erlang erlang-cl erlang-sdl)
-makedepends=(gendesk imagemagick)
-optdepends=('povray: render scenes with POV-Ray')
-source=("https://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
- "$pkgname.sh")
-sha256sums=('95ecf84a8f49bc00b983643e7ccd807f64a3b8b88253037a8ccefbe7a3bedff8'
- '8e5e8f31d47ea55a0e9d311b7cc0eaac4e6050ac40506d3548b6ebae5d3618be')
-_p=${pkgname%3d}-$pkgver
-
-prepare() {
- gendesk -f -n \
- --name Wings3D \
- --pkgname $pkgname \
- --pkgdesc "$pkgdesc" \
- --genericname '3D Modeler' \
- --categories 'Graphics;3DGraphics'
-
- # Convert the icon in a reproducable way
- convert +set date:create +set date:modify "$_p"/win32/wings.ico $pkgname.png
-
- # Path fix for building wpc_lwo
- ln -s "$_p" "$_p"/plugins_src/import_export/wings
- ln -s "$_p" wings
-
- sed -i 's/-Werror//' "$_p"/{src,e3d,plugins_src/import_export}/Makefile
-}
-
-build() {
- export ESDL_PATH="$(echo /usr/lib/erlang/lib/esdl-*)"
- export ERL_LIBS="$srcdir"
-
- make -C "$_p" all lang
-}
-
-package() {
- install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
-
- install -Dm644 $pkgname.desktop \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 $pkgname-3.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
-
- install -d "$pkgdir/usr/lib/$pkgname"
- for subdir in e3d ebin icons plugins psd shaders src textures tools; do
- cp -r "$_p"/$subdir/ "$pkgdir/usr/lib/$pkgname"
- done
-}
-
-# getver: -u=2 github.com/dgud/wings/releases
-# vim: ts=2 sw=2 et:
Copied: wings3d/repos/community-x86_64/PKGBUILD (from rev 583302, wings3d/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-26 21:34:47 UTC (rev 583303)
@@ -0,0 +1,46 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: kappa <kappacurve at gmail.com>
+
+pkgname=wings3d
+pkgver=2.2.5
+pkgrel=1
+pkgdesc='3D modeler using the winged edge data structure'
+arch=(x86_64)
+# https is not available
+url='http://www.wings3d.com/'
+license=(GPL)
+depends=(erlang erlang-cl erlang-sdl)
+makedepends=(gendesk)
+optdepends=('povray: render scenes with POV-Ray')
+source=("https://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
+ "$pkgname.sh")
+sha256sums=('95ecf84a8f49bc00b983643e7ccd807f64a3b8b88253037a8ccefbe7a3bedff8'
+ '8e5e8f31d47ea55a0e9d311b7cc0eaac4e6050ac40506d3548b6ebae5d3618be')
+_p=${pkgname%3d}-$pkgver
+
+prepare() {
+ gendesk -f -n \
+ --name Wings3D \
+ --pkgname $pkgname \
+ --pkgdesc "$pkgdesc" \
+ --genericname '3D Modeler' \
+ --categories 'Graphics;3DGraphics'
+}
+
+build() {
+ export ERL_LIBS="$srcdir"
+ make -C "${pkgname%3d}-$pkgver" unix
+}
+
+package() {
+ install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 -t "$pkgdir/usr/share/applications" $pkgname.desktop
+ cd "${pkgname%3d}-$pkgver/icons"
+ install -Dm644 wings_icon_48x48.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ cd ../build
+ install -d "$pkgdir/usr/lib/$pkgname"
+ cp -r "wings-$pkgver-linux/lib/wings-$pkgver"/* "$pkgdir/usr/lib/$pkgname/"
+}
+
+# getver: -u=2 github.com/dgud/wings/releases
+# vim: ts=2 sw=2 et:
Deleted: wings3d.sh
===================================================================
--- wings3d.sh 2020-02-26 21:34:39 UTC (rev 583302)
+++ wings3d.sh 2020-02-26 21:34:47 UTC (rev 583303)
@@ -1,4 +0,0 @@
-#!/bin/sh
-exec /usr/bin/erl -noinput -smp \
- -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin \
- -run wings_start start_halt ${1+"$@"}
Copied: wings3d/repos/community-x86_64/wings3d.sh (from rev 583302, wings3d/trunk/wings3d.sh)
===================================================================
--- wings3d.sh (rev 0)
+++ wings3d.sh 2020-02-26 21:34:47 UTC (rev 583303)
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec /usr/bin/erl -noinput -smp \
+ -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin \
+ -run wings_start start_halt ${1+"$@"}
More information about the arch-commits
mailing list