[arch-commits] Commit in pd-lua/repos/community-staging-x86_64 (3 files)

David Runge dvzrv at archlinux.org
Tue Jul 14 21:04:55 UTC 2020


    Date: Tuesday, July 14, 2020 @ 21:04:55
  Author: dvzrv
Revision: 663798

archrelease: copy trunk to community-staging-x86_64

Added:
  pd-lua/repos/community-staging-x86_64/PKGBUILD
    (from rev 663797, pd-lua/trunk/PKGBUILD)
Deleted:
  pd-lua/repos/community-staging-x86_64/PKGBUILD
  pd-lua/repos/community-staging-x86_64/pd-lua-0.9-lua53.patch

------------------------+
 PKGBUILD               |   82 +++++++++++++++++++++--------------------------
 pd-lua-0.9-lua53.patch |   28 ----------------
 2 files changed, 37 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 21:04:50 UTC (rev 663797)
+++ PKGBUILD	2020-07-14 21:04:55 UTC (rev 663798)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=pd-lua
-pkgver=0.9
-pkgrel=3
-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')
-
-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' \
-      -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() {
-  cd "$pkgname-$pkgver"
-  make LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" prefix='/usr' install
-  # docs
-  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
-  mv -v "${pkgdir}/usr/lib/pd/extra/pdlua/doc/"* \
-    "${pkgdir}/usr/share/doc/${pkgname}"
-  rmdir -v "${pkgdir}/usr/lib/pd/extra/pdlua/doc/"
-}

Copied: pd-lua/repos/community-staging-x86_64/PKGBUILD (from rev 663797, pd-lua/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-14 21:04:55 UTC (rev 663798)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=pd-lua
+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' 'lua' 'pd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/agraef/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('06f805d32f1fb38384e38b4efe7e0e2f7f3aec120ca2c972f05614d9915c2e1efbccda80df29bcda0bd49c29fcb1dfa99424a32a55ae50e32a23f3dda921d47f')
+b2sums=('e5ca818ee06dd1fe2caae7903ab032b3effd36bae921ea02b6cd108c75dffcf5d08490903c8c2211e2886518e8f3eeceea96dcf6bc24e45331b2086fc692e373')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # not installing license and README (to wrong location)
+  sed -e '/COPYING /d' \
+      -e '/README /d' \
+      -i Makefile
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" prefix='/usr' install
+  # docs
+  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+  mv -v "${pkgdir}/usr/lib/pd/extra/pdlua/doc/"* \
+    "${pkgdir}/usr/share/doc/${pkgname}"
+  rmdir -v "${pkgdir}/usr/lib/pd/extra/pdlua/doc/"
+}

Deleted: pd-lua-0.9-lua53.patch
===================================================================
--- pd-lua-0.9-lua53.patch	2020-07-14 21:04:50 UTC (rev 663797)
+++ pd-lua-0.9-lua53.patch	2020-07-14 21:04:55 UTC (rev 663798)
@@ -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"


More information about the arch-commits mailing list