summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormutantmonkey2016-03-05 11:59:12 -0800
committermutantmonkey2016-03-05 11:59:30 -0800
commit873410dd1aeb8f22141f6a0bed944751288cdb51 (patch)
treeac1039b032f95cbfc02a97ccd8db79030ff11f65
parentd58bc797f0edff5cdd9ffb0ba12047ab5e1f5132 (diff)
downloadaur-873410dd1aeb8f22141f6a0bed944751288cdb51.tar.gz
upgpkg: info-beamer-git 243.ac815b1-2
Patch up source to get it building again against ffmpeg2.8. Upstream could definitely use some love.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD11
2 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 27587366054c..b265f42ea7a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
+# Generated by mksrcinfo v8
+# Sat Mar 5 19:59:12 UTC 2016
pkgbase = info-beamer-git
pkgdesc = Allows you to develop interactive information displays using the Lua programming language.
- pkgver = 217.8309433
- pkgrel = 1
- url = http://info-beamer.org/
+ pkgver = 243.ac815b1
+ pkgrel = 2
+ url = https://info-beamer.com/opensource
arch = i686
arch = x86_64
license = BSD
makedepends = git
- depends = ffmpeg
+ depends = ffmpeg2.8
depends = lua51
depends = libevent
depends = glfw
diff --git a/PKGBUILD b/PKGBUILD
index 7afe9bef0e7e..bd95ee8009fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
# Contributor: Max Rosin <archlinux at maxrosin dot com>
pkgname=info-beamer-git
_gitname=info-beamer
-pkgver=217.8309433
-pkgrel=1
+pkgver=243.ac815b1
+pkgrel=2
pkgdesc="Allows you to develop interactive information displays using the Lua programming language."
arch=('i686' 'x86_64')
-url="http://info-beamer.org/"
+url="https://info-beamer.com/opensource"
license=('BSD')
-depends=('ffmpeg' 'lua51' 'libevent' 'glfw' 'devil' 'glew' 'ftgl')
+depends=('ffmpeg2.8' 'lua51' 'libevent' 'glfw' 'devil' 'glew' 'ftgl')
makedepends=('git')
source=('git+https://github.com/dividuum/info-beamer.git')
sha256sums=('SKIP')
@@ -23,6 +23,9 @@ prepare() {
sed -i 's/-lglfw3/-lglfw/g' Makefile
sed -i 's/GL\/glfw.h/GLFW\/glfw3.h/g' font.c
sed -i 's/GL\/glfw.h/GLFW\/glfw3.h/g' shader.c
+ sed -i 's/#define _BSD_SOURCE/#define _DEFAULT_SOURCE/g' vnc.c main.c
+ sed -i 's/-I\/usr\/include\/ffmpeg/-I\/usr\/include\/ffmpeg2.8/g' Makefile
+ sed -i 's/avcodec_alloc_frame/av_frame_alloc/g' video.c
}
build() {