Date: Tuesday, July 14, 2020 @ 21:04:50 Author: dvzrv Revision: 663797
upgpkg: pd-lua 0.10-1: Upgrading to 0.10. Dropping fix to build against lua53 as upstream fixed the build. Dropping Makefile modification for installation directory as upstream fixed this, too. Modified: pd-lua/trunk/PKGBUILD Deleted: pd-lua/trunk/pd-lua-0.9-lua53.patch ------------------------+ PKGBUILD | 22 +++++++--------------- pd-lua-0.9-lua53.patch | 28 ---------------------------- 2 files changed, 7 insertions(+), 43 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-07-14 20:45:56 UTC (rev 663796) +++ PKGBUILD 2020-07-14 21:04:50 UTC (rev 663797) @@ -1,32 +1,24 @@ # Maintainer: David Runge <[email protected]> pkgname=pd-lua -pkgver=0.9 -pkgrel=3 +pkgver=0.10 +pkgrel=1 pkgdesc="LUA embedding for pd" arch=('x86_64') url="https://github.com/agraef/pd-lua" license=('GPL2') groups=('pd-externals' 'pro-audio') -depends=('gcc-libs' 'glibc' 'lua53' 'pd') -source=("$pkgname-$pkgver.tar.gz::https://github.com/agraef/${pkgname}/archive/${pkgver}.tar.gz" - "${pkgname}-0.9-lua53.patch") -sha512sums=('edcb4a9e65ca4a5816e0ad326946af74771edf163925ce5e0f71371ffff3cae8386c4d2b696c9f815859bb38105af7d6118425cdf797c89498962d58ff0f7233' - 'b48030d03386334c8efa112e11aca661cad15000d8dc5d9c150aaef35f4e489eb6f0eaa4cf73fc5e123135be6d86288db4c19f61267678d7147dc5ad946dea8b') -b2sums=('e836f11ca67dcc9ab2633fe599c8c094563f5284c54744584fdd24005c82669a424e3278e3595a79207228d2856c8663bbd2cd4bbc29493b5319c22df58c0384' - '0940a21fc9968cde07d1d2e9efc25077733706788e8ab5182afbd4d9b38da55c6f200a7ac0ad4f73fc99a80b2488b6b706f1da9ab0ca7dcd711b3b3a09abf9d3') +depends=('gcc-libs' 'glibc' 'lua' 'pd') +source=("$pkgname-$pkgver.tar.gz::https://github.com/agraef/${pkgname}/archive/${pkgver}.tar.gz") +sha512sums=('06f805d32f1fb38384e38b4efe7e0e2f7f3aec120ca2c972f05614d9915c2e1efbccda80df29bcda0bd49c29fcb1dfa99424a32a55ae50e32a23f3dda921d47f') +b2sums=('e5ca818ee06dd1fe2caae7903ab032b3effd36bae921ea02b6cd108c75dffcf5d08490903c8c2211e2886518e8f3eeceea96dcf6bc24e45331b2086fc692e373') prepare() { cd "$pkgname-$pkgver" - # installing external to correct location # not installing license and README (to wrong location) - sed -e 's/-externals/\/extra/' \ - -e '/COPYING /d' \ + sed -e '/COPYING /d' \ -e '/README /d' \ -i Makefile - # building against lua53 due to issues with lua >= 5.4 - # https://github.com/agraef/pd-lua/issues/7 - patch -Np1 -i "../${pkgname}-0.9-lua53.patch" } build() { Deleted: pd-lua-0.9-lua53.patch =================================================================== --- pd-lua-0.9-lua53.patch 2020-07-14 20:45:56 UTC (rev 663796) +++ pd-lua-0.9-lua53.patch 2020-07-14 21:04:50 UTC (rev 663797) @@ -1,28 +0,0 @@ -diff -ruN a/Makefile b/Makefile ---- a/Makefile 2018-03-07 16:42:09.000000000 +0100 -+++ b/Makefile 2020-07-09 12:15:56.182015666 +0200 -@@ -62,7 +62,7 @@ - LIBS = - - LUA_CFLAGS = -I/usr/include/lua --LUA_LIBS = -llua -+LUA_LIBS = $(shell pkg-config --libs lua-5.3) - - # get library version from meta file - LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_META)) -diff -ruN a/pdlua.c b/pdlua.c ---- a/pdlua.c 2018-03-07 16:42:09.000000000 +0100 -+++ b/pdlua.c 2020-07-09 12:10:25.631400140 +0200 -@@ -42,9 +42,9 @@ - #include <unistd.h> - #endif - /* we use Lua */ --#include <lua.h> --#include <lauxlib.h> --#include <lualib.h> -+#include <lua5.3/lua.h> -+#include <lua5.3/lauxlib.h> -+#include <lua5.3/lualib.h> - - /* we use Pd */ - #include "m_pd.h"
