added flag to compile against xulrunner 2.0 (gtk free)

This commit is contained in:
Giuseppe 2011-04-22 19:01:14 +00:00
parent c362148b12
commit 42b0200289
2 changed files with 12 additions and 5 deletions

7
.gitignore vendored
View File

@ -10,7 +10,9 @@ hdr
build.sh
clean-builddir.sh
clean-workdir.sh
copy.sh
makepkg
move.sh
pkgrels-decrease.sh
pkgrels-increase.sh
pkgrels-reset.sh
@ -24,6 +26,11 @@ sync-complete.sh
sync-down.sh
sync-up-nodb.sh
sync-up.sh
remove.sh
recreate-database.sh
upload.sh
upload-nodb.sh
unlock-database.sh
*-cfg.conf
*-makepkg.conf

View File

@ -16,15 +16,14 @@ _origname=google-gadgets-qt
pkgname=${_origname}
pkgver=0.11.2
pkgrel=1
pkgrel=3
pkgdesc="Desktop Widgets (engine) from Google"
arch=(i686 x86_64)
url="http://code.google.com/p/google-gadgets-for-linux/"
license=('APACHE')
depends=('gstreamer0.10-base-plugins' 'librsvg' 'xulrunner'
"${_qtpkg}>=${_qtver}" 'desktop-file-utils' 'curl' 'spidermonkey')
depends=('gstreamer0.10-base-plugins' 'librsvg' 'xulrunner>=2.0' "${_qtpkg}>=${_qtver}" 'desktop-file-utils' 'curl' 'spidermonkey')
makedepends=('zip' 'unzip')
options=('!libtool' '!splitdbg' '!splithdr')
options=('!libtool')
conflicts=('google-gadgets-gtk' 'google-gadgets' 'google-gadgets-qt' 'google-gadgets-gtk-svn' 'google-gagdets-qt-svn')
replaces=('google-gadgets-qt')
install=${_origname}.install
@ -41,7 +40,7 @@ build()
{
cd "${srcdir}/google-gadgets-for-linux-$pkgver"
./configure --prefix=${_installprefix} \
./configure --prefix=/usr \
--disable-werror \
--disable-update-desktop-database \
--disable-update-mime-database \
@ -50,6 +49,7 @@ build()
--disable-gtk-system-framework \
--disable-gtkmoz-browser-element \
--disable-gtk-flash-element \
--disable-smjs-script-runtime \
|| return 1
make || return 1