mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
29 lines
945 B
Bash
29 lines
945 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
|
|
# Maintainer: Alexander Fehr <pizzapunk gmail com>
|
|
|
|
pkgname=wxsvg
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="C++ library to create, manipulate and render SVG files"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.wxsvg.org/"
|
|
license=('custom:wxWindows')
|
|
depends=('wxgtk' 'libart-lgpl' 'ffmpeg')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/wxsvg/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('6e25eee638ac0532af9cabed85590e27')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
#sed -i 's|avformat.h|libavformat/avformat.h|' src/mediadec_ffmpeg.cpp || return 1
|
|
#sed -i 's|swscale.h|libswscale/swscale.h|' src/mediadec_ffmpeg.cpp || return 1
|
|
|
|
./autogen.sh || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
|
|
install -D -m644 COPYING "$pkgdir/usr/share/licenses/wxsvg/COPYING" || return 1
|
|
}
|