mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# $Id: PKGBUILD 52313 2009-09-17 10:43:28Z allan $
|
|
|
|
pkgname=gnash-common
|
|
pkgver=0.8.5
|
|
pkgrel=5
|
|
pkgdesc="A GNU Flash movie player"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/gnash/"
|
|
license=('GPL3')
|
|
depends=('curl' 'giflib' 'boost' 'libldap>=2.4.18' 'gstreamer0.10-base' 'gstreamer0.10-ffmpeg'
|
|
'sdl' 'agg' 'libjpeg>=7' 'libpng' 'libtool' 'speex' 'libxi' 'fontconfig')
|
|
makedepends=('pkgconfig')
|
|
provides=('gnash')
|
|
replaces=('gnash')
|
|
backup=('etc/gnashrc' 'etc/gnashpluginrc')
|
|
options=('!libtool' '!emptydirs')
|
|
source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2)
|
|
md5sums=('366f703c2eb1747e4109602b75439ff4')
|
|
|
|
build() {
|
|
cd "$srcdir/gnash-$pkgver"
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-plugins \
|
|
--disable-menus \
|
|
--enable-gui=sdl \
|
|
--enable-renderer=agg \
|
|
--enable-z \
|
|
--enable-jpeg \
|
|
--enable-png \
|
|
--enable-gif \
|
|
--enable-speex \
|
|
--enable-fontconfig \
|
|
--enable-Xft \
|
|
--enable-expat \
|
|
--enable-gstreamer \
|
|
--enable-media=gst || return 1
|
|
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|