Created
January 24, 2015 21:58
-
-
Save YamashitaRen/c314c7915b45cbb93ed8 to your computer and use it in GitHub Desktop.
TreeP runtime libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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