summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPopolon2017-11-16 21:30:14 +0100
committerPopolon2017-11-16 21:30:14 +0100
commit9d32e99a82e4420a57e297044b758acff9fc75ef (patch)
tree85459df3ec6b04926634cf2c93303ecdd581c513
parent1848eedf1e33f7499c64cf57ffb874fbd871b506 (diff)
downloadaur-9d32e99a82e4420a57e297044b758acff9fc75ef.tar.gz
webkitgtk2 replaced by webkit2gtk, patch for the icon and params given by loathingkernel in comments
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 18 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c085b99c58d..4f9dbb46a963 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Nov 16 20:28:24 UTC 2017
pkgbase = wxlua-svn
pkgdesc = A set of bindings to the wxWidgets library for the Lua programming language - svn version
pkgver = 252
- pkgrel = 1
+ pkgrel = 2
url = http://wxlua.sourceforge.net
arch = i686
arch = x86_64
+ arch = armv7h
+ arch = armv8
license = custom:wxWindows
makedepends = subversion
makedepends = cmake
depends = desktop-file-utils
depends = wxgtk
- depends = webkitgtk2
+ depends = webkit2gtk
depends = lua52
provides = wxlua
provides = wxstedit
diff --git a/PKGBUILD b/PKGBUILD
index 1e6c9233f0dc..1f69a512054c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
-# Maintainer: Martin Minka <https://github.com/k2s>
+# Maintainer: Popolon <popolon@popolon.org>
+# Contributor: Martin Minka <https://github.com/k2s>
# Contributor: migerh <https://github.com/migerh>
# Submitter: hollunder <murks at tuxfamily dot org>
pkgname=wxlua-svn
_pkgname=wxlua
pkgver=252
-pkgrel=1
+pkgrel=2
pkgdesc="A set of bindings to the wxWidgets library for the Lua programming language - svn version"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h' 'armv8')
url="http://wxlua.sourceforge.net"
license=('custom:wxWindows')
-depends=('desktop-file-utils' 'wxgtk' 'webkitgtk2' 'lua52')
+depends=('desktop-file-utils' 'wxgtk' 'webkit2gtk' 'lua52')
makedepends=('subversion' 'cmake')
provides=('wxlua' 'wxstedit')
conflicts=('wxlua' 'wxstedit')
@@ -46,6 +47,8 @@ build() {
-DwxLua_LUA_LIBRARY=/usr/lib/liblua.so.5.2 \
-DwxLua_LUA_LIBRARY_USE_BUILTIN=0 \
-DwxLua_LUA_LIBRARY_VERSION=5.2 \
+ -DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
+ -DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DBUILD_SHARED_LIBS=TRUE
make
}
@@ -61,6 +64,11 @@ package() {
# desktop file
install -Dm644 ../distrib/autopackage/wxlua.desktop \
"$pkgdir/usr/share/applications/wxlua.desktop"
+ sed -i s/Exec=wxluaedit/Exec=wxLuaEdit/ "$pkgdir/usr/share/applications/wxlua.desktop"
+
+ # icon file
+ install -Dm644 ../art/wxlualogo.xpm \
+ "$pkgdir/usr/share/icons/wxlualogo.xpm"
# mime file
install -Dm644 ../distrib/autopackage/wxlua.xml \