Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created September 24, 2016 23:33
Show Gist options
  • Save jacobmischka/aad561dcd2e88910979d5c44895f900c to your computer and use it in GitHub Desktop.
Save jacobmischka/aad561dcd2e88910979d5c44895f900c to your computer and use it in GitHub Desktop.
tachyon
pkgname=tachyon
pkgver=20160924
pkgrel=1
license=('GPL2')
source=('git+https://github.com/WatchBeam/tachyon.git'
'https://github.com/WatchBeam/tachyon/releases/download/v1.2.14/ftl-express')
arch=('any')
md5sums=('SKIP' 'SKIP')
build(){
cd $pkgname
cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/tachyon . -DFTLSDK_LIB=/usr/lib/libftl.so -DFTLSDK_INCLUDE_DIR=/usr/include/ftl/
{ cat - plugins/obs-ffmpeg/obs-ffmpeg-output.c > x && mv x plugins/obs-ffmpeg/obs-ffmpeg-output.c; } <<EOF
#include <resolv.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
EOF
make
}
package(){
cd $pkgname
make DESTDIR="$pkgdir/" install
install "$srcdir"/ftl-express "$pkgdir"/opt/"$pkgname"/bin
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment