Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4e04aceadd757e4c23b144a26d8d9e076083aee2

commit 4e04aceadd757e4c23b144a26d8d9e076083aee2
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Jul 20 13:16:56 2011 +0200

seamonkey-2.2-1-x86_64
*version bump

diff --git a/source/xapps-extra/seamonkey/FrugalBuild 
b/source/xapps-extra/seamonkey/FrugalBuild
index ea858f5..29107d2 100644
--- a/source/xapps-extra/seamonkey/FrugalBuild
+++ b/source/xapps-extra/seamonkey/FrugalBuild
@@ -2,12 +2,15 @@
# Maintainer: voroskoi <voros...@frugalware.org>

pkgname=seamonkey
-pkgver=2.0.13
+pkgver=2.2
pkgrel=1
pkgdesc="Seamonkey all-in-one internet application suite"
url="http://www.mozilla.org/projects/seamonkey/";
-depends=('libstdc++' 'gtk+2>=2.20.0-2' 'libxau>=1.0.4' 'libxdmcp' 'libxdamage' 
'libxml2' 'libidl' 'libxt' 'libice' 'nss>=3.12.9' 'libxft' 'dbus-glib' 
'alsa-lib')
-makedepends=('zip')
+depends=('libstdc++' 'gtk+2>=2.20.0-2' 'libxau>=1.0.4' 'libxdmcp' 'libxdamage' 
'libxml2' 'libidl' 'libxt' 'libice' 'nss>=3.12.9' 'libxft' 'dbus-glib' 
'alsa-lib' 'libnotify')
+if [ "$CARCH" != "ppc" ]; then
+       depends=(${depends[@]} "libvpx")
+fi
+makedepends=('zip' 'yasm')
options=('scriptlet')
groups=('xapps-extra')
archs=('i686' 'x86_64' 'ppc')
@@ -18,30 +21,27 @@ 
source=(http://releases.mozilla.org/pub/mozilla.org/$pkgname/releases/$pkgver/so
build()
{
unset MAKEFLAGS
-       Fcd comm-1.9.1
-       Fsed "png_voidp_NULL" "NULL" 
mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp
-       export CFLAGS="$CFLAGS -fno-strict-aliasing"
-       export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
+       Fcd comm-release
+       export CFLAGS="$CFLAGS -fno-strict-aliasing -fPIC"
+       export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -fPIC"
sed "s/-march=i686 -O2 -pipe/$CFLAGS/" $startdir/src/config > .mozconfig
-       Fpatchall
+       if [ "$CARCH" != "ppc" ]; then
+               echo "ac_add_options --with-system-libvpx" >> .mozconfig
+       fi

-       make -f client.mk build || Fdie
-       make || Fdie
-
-       Fmkdir /usr
-       Fmakeinstall
+       Fbuild

# Get rid of versions in path names.
Fmv /usr/lib/$pkgname-$pkgver /usr/lib/$pkgname
Fln $pkgname /usr/lib/$pkgname-$pkgver

# Plugins.
-       Fmv /usr/lib/$pkgname/plugins /usr/lib/$pkgname/plugins.orig
+       #Fmv /usr/lib/$pkgname/plugins /usr/lib/$pkgname/plugins.orig
Fln ../mozilla/plugins/ /usr/lib/$pkgname/plugins

# Install icon for the menu file.
Fmkdir /usr/share/pixmaps/
-       Ffile comm-1.9.1/suite/branding/icons/gtk/$pkgname.png 
/usr/share/pixmaps/$pkgname.png
+       Ffile comm-release/suite/branding/nightly/icons/gtk/$pkgname.png 
/usr/share/pixmaps/$pkgname.png

# Install menu file.
Ffile /usr/share/applications/$pkgname.desktop
@@ -50,8 +50,8 @@ build()
Frm usr/bin/seamonkey
Fwrapper '/usr/lib/seamonkey/seamonkey $@' $pkgname
}
-sha1sums=('bba3b5caa0a64d3ac401b216a1a7a41d20003ecd' \
-          '1864fa4117650bb9a576664943aaf4ab56b7d248' \
+sha1sums=('bb2181fbbb4aa16e51899b483acadb31f7e0cbbc' \
+          '3ebee15ce05a37f97b7948f8197aadf19937b603' \
'b0e0bdd676758e19cac4a0429257a92183328f0e')

# optimization OK
diff --git a/source/xapps-extra/seamonkey/config 
b/source/xapps-extra/seamonkey/config
index 947870e..b31cc82 100644
--- a/source/xapps-extra/seamonkey/config
+++ b/source/xapps-extra/seamonkey/config
@@ -28,5 +28,6 @@ ac_add_options --disable-pedantic
ac_add_options --enable-image-decoders=all
ac_add_options --enable-mathml
ac_add_options --disable-crashreporter
+ac_add_options --disable-necko-wifi
ac_add_options --mandir=/usr/share/man
ac_cv_visibility_pragma=no
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to