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

Alexander Rødseth arodseth at archlinux.org
Wed Nov 28 09:32:06 UTC 2018


    Date: Wednesday, November 28, 2018 @ 09:32:05
  Author: arodseth
Revision: 410410

upgpkg: wings3d 2.1.7-4

Modified:
  wings3d/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-28 09:13:13 UTC (rev 410409)
+++ PKGBUILD	2018-11-28 09:32:05 UTC (rev 410410)
@@ -3,7 +3,7 @@
 
 pkgname=wings3d
 pkgver=2.1.7
-pkgrel=3
+pkgrel=4
 pkgdesc='3D modeler using the winged edge data structure'
 arch=('x86_64')
 url='http://www.wings3d.com/'
@@ -12,8 +12,10 @@
 makedepends=('gendesk' 'imagemagick')
 optdepends=('povray: render scenes with POV-Ray')
 source=("https://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
+        "wayland.patch::https://github.com/dgud/wings/commit/db074161e.patch"
         "$pkgname.sh")
 sha256sums=('c2f4787ac2f8c874cdbb57c87a3e267a54e7f7f90082c9885e96290d1102ff24'
+            'ab3da436b0f5be55b44569a7a9e7a2587981a0282ec380191cc75be97e7cb286'
             '8e5e8f31d47ea55a0e9d311b7cc0eaac4e6050ac40506d3548b6ebae5d3618be')
 _p=${pkgname%3d}-$pkgver
 
@@ -25,6 +27,7 @@
     --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
@@ -32,6 +35,9 @@
   ln -s "$_p" wings
 
   sed -i 's/-Werror//' "$_p"/{src,e3d,plugins_src/import_export}/Makefile
+
+  # Make the 3D grid work with Wayland
+  patch -d "$_p" -p1 -i ../wayland.patch
 }
 
 build() {



More information about the arch-commits mailing list