Skip to content

Instantly share code, notes, and snippets.

@YamashitaRen
Created January 24, 2015 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YamashitaRen/c314c7915b45cbb93ed8 to your computer and use it in GitHub Desktop.
Save YamashitaRen/c314c7915b45cbb93ed8 to your computer and use it in GitHub Desktop.
TreeP runtime libraries
# Contributor: Rob McCathie <archaur at rmcc dot com dot au>
# Contributor: Xemertix <arch88(at)katamail(dot)com>
pkgname=trpc-libs
pkgver=20120628
pkgrel=2
pkgdesc="TreeP runtime libraries"
url="http://fsinapsi.altervista.org"
license=("GPL")
depends=("gmp" "zlib" "gc")
#makedepends=("mgl" "libexif" "libid3tag" "libjpeg" "curl" "imlib2" "sqlite3" "gtk2" "file" "libmysqlclient")
#makedepends=("mathgl" "libexif" "libid3tag" "libjpeg" "curl" "imlib2" "sqlite3" "gtk2" "file" "libmysqlclient" "opencv")
makedepends=("mathgl-lite" "libexif" "libid3tag" "libjpeg" "curl" "imlib2" "sqlite3" "gtk2" "file" "libmysqlclient" "opencv")
source=("http://fsinapsi.altervista.org/code/treep/trp-${pkgver}.zip")
md5sums=('90171f278e558cb4317e51d1b40d0889')
arch=('i686' 'x86_64')
build() {
cd $srcdir/trp-$pkgver
sed -i 's|_trp_gc_warn_proc = GC_set_warn_proc( trp_gc_warn_proc );|//_trp_gc_warn_proc = GC_set_warn_proc( trp_gc_warn_proc );|g' trp/trp.c
sed -i 's/avcodec_alloc_frame/av_frame_alloc/' trpavcodec/trpavcodec.c
make rts|| return 1
}
package() {
cd $srcdir/trp-$pkgver
install -d -m 755 ${pkgdir}/usr/lib
cp libs/* $pkgdir/usr/lib/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment