Here's an even shorter, more cleaned up PKGBUILD
- Uses configure like the current PKGBUILD
- Depends on lua51
- Drops --enable-systemlua (not needed, defaults to 'auto' and finds system lua)
- Drops --with-lua-prefix=/usr/lib/lua/5.1/ (wrong usage, and not needed anyway)
- Drops include path patches (not needed after dropping --with-lua-prefix)
PKGBUILD: http://pastebin.com/fXdVRXa2
Search Criteria
Package Details: wxlua 3.2.0.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/wxlua.git (read-only, click to copy) |
|---|---|
| Package Base: | wxlua |
| Description: | Lua bindings for wxWidgets (Lua 5.3+ compatible fork) |
| Upstream URL: | https://github.com/pkulchenko/wxlua |
| Licenses: | wxwindows |
| Submitter: | farvardin |
| Maintainer: | alerque |
| Last Packager: | alerque |
| Votes: | 24 |
| Popularity: | 0.000000 |
| First Submitted: | 2009-02-12 21:21 (UTC) |
| Last Updated: | 2024-04-02 08:26 (UTC) |
Dependencies (6)
- desktop-file-utils (desktop-file-utils-gitAUR)
- lua (pallene-luaAUR)
- wxwidgets-gtk3 (wxwidgets-gtk3-gitAUR, wxwidgets-gtk3-lightAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cppcheck (cppcheck-gitAUR) (check)
- webkit2gtkAUR (webkit2gtk-imgpasteAUR) (optional)
Required by (1)
Sources (1)
ackalker commented on 2013-02-22 18:38 (UTC)
losinggeneration commented on 2013-02-22 16:35 (UTC)
(Updated:2) Here's a fixed and working PKGBUILD using cmake: http://pastebin.com/4ZyeNpji
(I wish I could edit comments...)
losinggeneration commented on 2013-02-22 15:21 (UTC)
Shouldn't this also depend on lua51 not lua?
Afwas commented on 2012-12-16 18:47 (UTC)
The comment by cptG fixed the build for me. Thanks
cptG commented on 2012-12-16 17:36 (UTC)
This fails to build if you have lua 5.2 installed.
To make the build work, I added the line:
ln -s /usr/lib/liblua5.1.so ./liblua.so
to PKGBUILD before the make line and changed the make line to:
make CXXFLAGS=-I/usr/include/lua5.1 LDFLAGS=-L"$srcdir/$pkgname-$pkgver"
So the build picks up lua 5.1's headers and .so
Not sure if there is a more elegant way
Pinned Comments
alerque commented on 2020-02-27 16:18 (UTC)
PSA: I've started hosting this as a prebuilt package in my repository for those that want to install it using
pacmanwithout messing around with building from the AUR.alerque commented on 2020-02-11 09:24 (UTC)
If anyone needs Lua 5.2 or 5.1 support let me know and I think we could set this up to build packages for multiple Lua versions. Also if the 2.8 branch (upstream is pretty much abandonware) is really needed we could fork this repo at 11af6c0 and make a wxlua28 package out of it, but I couldn't see what the need would be.