# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa pkgname=gnash pkgver=0.8.8 pkgrel=1 pkgdesc="GNU flash player and kpath plugin for KDE4" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gnash/" license=('GPL') depends=('agg' 'ffmpeg' 'libjpeg' 'libpng' 'giflib' 'zlib' 'curl' 'giflib' 'boost' 'libldap' 'sdl' 'speex' 'fontconfig' 'libva' 'libxinerama' 'gstreamer0.10-base' 'gstreamer0.10-ffmpeg') provides=('gnash' 'gnash-common') conflicts=('flashplugin' 'flashplugin-square') source=(http://ftp.gnu.org/pub/gnu/gnash/$pkgver/gnash-$pkgver.tar.gz) md5sums=('aec414ee3bebb8901054818fae735214') options=(!libtool !emptydirs) backup=(etc/gnashrc etc/gnashpluginrc) build () { cd $startdir/src/gnash-$pkgver ./autogen.sh sed -i "s/moc-qt4/moc/g; s/uic-qt4/uic/g" configure ./configure --enable-renderer=agg \ --enable-media=ffmpeg \ --enable-gui=kde4 \ --enable-gif \ --enable-jpeg \ --enable-png \ --enable-z \ --with-plugins-install=system \ --with-npapi-plugindir=/usr/lib/mozilla/plugins \ --prefix=/usr \ --sysconfdir=/etc sed -i "s:KDE4_APPSDATADIR =.*:KDE4_APPSDATADIR = /usr/share/apps:" ./plugin/klash4/Makefile sed -i "s:KDE4_SERVICESDIR =.*:KDE4_SERVICESDIR = /usr/share/kde4/services:" ./plugin/klash4/Makefile sed -i "s:KDE4_PLUGINDIR =.*:KDE4_PLUGINDIR = /usr/lib/kde4:" ./plugin/klash4/Makefile make || return 1 make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install-plugins || return 1 }