[arch-commits] Commit in swt/trunk (PKGBUILD build-swt.xml)

2016-08-12 Thread Guillaume Alaux
Date: Friday, August 12, 2016 @ 18:11:36
  Author: guillaume
Revision: 273636

Upstream release 4.6

Modified:
  swt/trunk/PKGBUILD
  swt/trunk/build-swt.xml

---+
 PKGBUILD  |   16 
 build-swt.xml |2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-12 15:08:10 UTC (rev 273635)
+++ PKGBUILD2016-08-12 18:11:36 UTC (rev 273636)
@@ -2,9 +2,9 @@
 # Maintainer: Guillaume ALAUX 
 pkgname=swt
 # http://download.eclipse.org/eclipse/downloads/drops4
-pkgver=4.5
+pkgver=4.6
 pkgrel=1
-_date=201506032000
+_date=201606061100
 pkgdesc='An open source widget toolkit for Java'
 arch=('i686' 'x86_64')
 url='http://www.eclipse.org/swt/'
@@ -11,15 +11,15 @@
 license=('EPL')
 depends=('java-runtime>=6' 'gtk2>=2.20.1' 'libxtst')
 optdepends=('libgnomeui' 'glu' 'webkitgtk2')
-makedepends=('java-environment' 'libxtst' 'glu' 'libgnomeui' 'unzip' 
'pkgconfig' 'webkitgtk2' 'apache-ant')
+makedepends=('java-environment=8' 'libxtst' 'glu' 'libgnomeui' 'unzip' 
'pkgconfig' 'webkitgtk2' 'apache-ant')
 
 source=(build-swt.xml)
 
source_i686=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86.zip)
 
source_x86_64=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86_64.zip)
 
-sha256sums=('6bb48007a95e3d8c6b577cc9cc4b61a51ce928b04f4fcd393cf72f8f727fe923')
-sha256sums_i686=('180cf993af914726e6da9abe669a636b057e9353058e76be7644b31955feb00e')
-sha256sums_x86_64=('ce89cb9dea5bef927873cbc377a81b5d9f1995622e42402bd9600043a9bc00e3')
+sha256sums=('3d30fbde25a6a6d260d04cb1782b7618c2a0a926440935a9eea516146eb0e1e1')
+sha256sums_i686=('3906ce9efa190b3f1d48988d507fa7d4fae8b3f92212a3bff4ba635e0c0cbd4a')
+sha256sums_x86_64=('fe5191cc087020e47efbbde1ff1b30b3b6e1a3a305e25efabb0937ad7b00cd72')
 
 # These examples don't even run anymore (Try Tux Guitar instead)!
 # http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
@@ -31,8 +31,7 @@
   cd ${srcdir}
   unzip -oq src.zip -d src
 
-  export JAVA_HOME=/usr/lib/jvm/default
-  . /etc/profile.d/apache-ant.sh
+  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
 
   # Shared objects
   cd src
@@ -39,6 +38,7 @@
   ./build.sh
 
   # SWT jar
+  . /etc/profile.d/apache-ant.sh
   ant -f ../build-swt.xml compile
 }
 

Modified: build-swt.xml
===
--- build-swt.xml   2016-08-12 15:08:10 UTC (rev 273635)
+++ build-swt.xml   2016-08-12 18:11:36 UTC (rev 273636)
@@ -8,7 +8,7 @@

 

-  
+  

 



[arch-commits] Commit in swt/trunk (PKGBUILD build-swt.xml)

2012-09-08 Thread Guillaume Alaux
Date: Saturday, September 8, 2012 @ 07:22:17
  Author: guillaume
Revision: 166494

Upstream release - sources

Modified:
  swt/trunk/PKGBUILD
  swt/trunk/build-swt.xml

---+
 PKGBUILD  |   21 +
 build-swt.xml |2 +-
 2 files changed, 10 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-08 11:04:55 UTC (rev 166493)
+++ PKGBUILD2012-09-08 11:22:17 UTC (rev 166494)
@@ -1,36 +1,33 @@
 # $Id$
 # Maintainer: Guillaume ALAUX guilla...@archlinux.org
 pkgname=swt
-pkgver=3.7.2
-pkgrel=2
-_date=201202080800
+pkgver=4.2
+pkgrel=1
+_date=201206081400
 pkgdesc=An open source widget toolkit for Java
 arch=('i686' 'x86_64')
 url=http://www.eclipse.org/swt/;
 license=('EPL')
-depends=('java-runtime=7' 'gtk2=2.20.1' 'libxtst')
+depends=('java-runtime=6' 'gtk2=2.20.1' 'libxtst')
 optdepends=('libgnomeui' 'mesa' 'libwebkit')
 makedepends=('java-environment' 'libxtst' 'mesa' 'libgnomeui' 'unzip' 
'pkgconfig' 'libwebkit' 'apache-ant')
 if [ ${CARCH} = i686 ]; then
   _carch=x86
-  md5sums=('9a858b11e66de8af41786eaf09fc9ee2'
-   'f5e548bc26a0f1f3c18131be76face40')
+  md5sums=('3efe0404f6129183abae46f7620fe14f'
+   '2f556ab534fc2488c6e8c0ee6c02825c')
 fi
 if [ ${CARCH} = x86_64 ]; then
   _carch=x86_64
-  md5sums=('b16ab5c9d274b9488432ebeae6e4af5a'
-   'f5e548bc26a0f1f3c18131be76face40')
+  md5sums=('9e06b576116ff409f395571603582827'
+   '2f556ab534fc2488c6e8c0ee6c02825c')
 fi
-source=(http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
+source=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
 build-swt.xml)
-noextract=(swt-${pkgver}-gtk-linux-${_carch}.zip)
 # To test this pkg:
 # http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
-# 
http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
 
 build() {
   cd ${srcdir}
-  unzip -oq swt-${pkgver}-gtk-linux-${_carch}.zip src.zip
   unzip -oq src.zip -d src
 
   . /etc/profile.d/jdk.sh

Modified: build-swt.xml
===
--- build-swt.xml   2012-09-08 11:04:55 UTC (rev 166493)
+++ build-swt.xml   2012-09-08 11:22:17 UTC (rev 166494)
@@ -8,7 +8,7 @@
/target
 
target name=compile depends=init description=Compile the SWT toolset
-  javac srcdir=${src} destdir=${build}/
+  javac srcdir=${src} destdir=${build} target=1.6 /
/target
 
target name=jar