Commit 44224191 authored by Manuel's avatar Manuel

Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing

parents 3b5004d8 e96e6dc4
...@@ -9,12 +9,12 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf ...@@ -9,12 +9,12 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=agg pkgname=agg
pkgver=2.5 pkgver=2.5
pkgrel=1 pkgrel=2
pkgdesc="A High Quality Rendering Engine for C++" pkgdesc="A High Quality Rendering Engine for C++"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.antigrain.com/" url="http://www.antigrain.com/"
license=('GPL') license=('GPL')
depends=('gcc-libs>=4.4.1' 'sdl>=1.2.13' 'freetype2>=2.3.9') depends=('gcc-libs' 'sdl' 'freetype2')
makedepends=('automake') makedepends=('automake')
provides=('antigrain') provides=('antigrain')
replaces=('antigrain') replaces=('antigrain')
...@@ -28,10 +28,14 @@ md5sums=('0229a488bc47be10a2fee6cf0b2febd6' ...@@ -28,10 +28,14 @@ md5sums=('0229a488bc47be10a2fee6cf0b2febd6'
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" || return 1 patch -Np1 -i "${srcdir}/agg-2.4-depends.patch"
patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" || return 1 patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch"
sh ./autogen.sh || return 1 sh ./autogen.sh
./configure --prefix=/usr --disable-static || return 1 ./configure --prefix=/usr --disable-static
make || return 1 make
make DESTDIR="${pkgdir}" install || return 1 }
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
} }
...@@ -6,35 +6,37 @@ ...@@ -6,35 +6,37 @@
pkgname=gnash pkgname=gnash
pkgver=0.8.9 pkgver=0.8.9
pkgrel=3 pkgrel=4
pkgdesc="GNU Flash player and kpath plugin for KDE 4." pkgdesc="GNU Flash player and kpath plugin for KDE 4."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gnash/" url="http://www.gnu.org/software/gnash/"
license=('GPL') license=('GPL')
depends=('agg' 'ffmpeg' 'libjpeg' 'libpng' 'giflib' 'zlib' 'curl' 'giflib' 'boost-libs' 'libldap' 'sdl' depends=('agg' 'ffmpeg' 'libjpeg' 'libpng' 'giflib' 'zlib' 'curl' 'giflib' 'boost-libs' 'libldap' 'sdl'
'speex' 'fontconfig' 'libva' 'libxinerama' 'gstreamer0.10-base' 'gstreamer0.10-ffmpeg' 'speex' 'fontconfig' 'libva' 'libxinerama' 'gstreamer0.10-base' 'gstreamer0.10-ffmpeg'
'libdca' 'kdebase' 'xulrunner' 'hicolor-icon-theme' 'desktop-file-utils' 'pkgconfig') 'libdca' 'kdebase' 'xulrunner' 'hicolor-icon-theme' 'desktop-file-utils' 'pkgconfig' 'libtool')
makedepend=('boost') makedepend=('boost')
provides=('gnash' 'gnash-common') provides=('gnash' 'gnash-common')
conflicts=('flashplugin' 'flashplugin-square') conflicts=('flashplugin' 'flashplugin-square')
source=("http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('01d0420932eede07211e368d405aee9c')
options=(!libtool !emptydirs) options=(!libtool !emptydirs)
backup=(etc/gnashrc etc/gnashpluginrc) backup=(etc/gnashrc)
source=("${pkgname}.zip")
# gentoo-ffmpeg-0.8.patch)
md5sums=('d0347a9d31c9c80759c6d4f384212f69')
#'a88de6b2de6d2b100ab7932e901a4b92')
build() { build() {
cd "${startdir}/src/${pkgname}-${pkgver}" cd "$srcdir/gnash"
# patch -Np1 -i "$srcdir/gentoo-ffmpeg-0.8.patch"
./autogen.sh ./autogen.sh
sed -i "s/moc-qt4/moc/g; s/uic-qt4/uic/g" configure sed -i "s/moc-qt4/moc/g; s/uic-qt4/uic/g" configure
./configure \ ./configure \
--enable-renderer=agg \ --enable-renderer=agg \
--enable-media=ffmpeg \ --enable-media=gst,ffmpeg \
--enable-gui=kde4 \ --enable-gui=kde4 \
--enable-sound=sdl \ --enable-sound=sdl \
--enable-hwaccel=vaapi \ --enable-hwaccel=vaapi \
--with-plugins-install=system \ --with-plugins-install=system \
--with-npapi-plugindir=/usr/lib/mozilla/plugins \ --with-npapi-plugindir=/usr/lib/mozilla/plugins \
--prefix=/usr \ --prefix=/usr \
...@@ -43,14 +45,14 @@ build() { ...@@ -43,14 +45,14 @@ build() {
sed -i "s:KDE4_APPSDATADIR =.*:KDE4_APPSDATADIR = /usr/share/apps:" ./plugin/klash4/Makefile 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_SERVICESDIR =.*:KDE4_SERVICESDIR = /usr/share/kde4/services:" ./plugin/klash4/Makefile
sed -i "s:KDE4_PLUGINDIR =.*:KDE4_PLUGINDIR = /usr/lib/kde4:" ./plugin/klash4/Makefile sed -i "s:KDE4_PLUGINDIR =.*:KDE4_PLUGINDIR = /usr/lib/kde4:" ./plugin/klash4/Makefile
make || return 1 make
} }
package() { package() {
cd "${startdir}/src/${pkgname}-${pkgver}" cd "$srcdir/gnash"
make DESTDIR="${pkgdir}" install || return 1 make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-plugins || return 1 make DESTDIR="${pkgdir}" install-plugins
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment