[arch-commits] Commit in swt/repos/extra-x86_64 (4 files)

Guillaume Alaux guillaume at archlinux.org
Fri Aug 12 18:15:16 UTC 2016


    Date: Friday, August 12, 2016 @ 18:15:15
  Author: guillaume
Revision: 273638

archrelease: copy trunk to extra-x86_64

Added:
  swt/repos/extra-x86_64/PKGBUILD
    (from rev 273637, swt/trunk/PKGBUILD)
  swt/repos/extra-x86_64/build-swt.xml
    (from rev 273637, swt/trunk/build-swt.xml)
Deleted:
  swt/repos/extra-x86_64/PKGBUILD
  swt/repos/extra-x86_64/build-swt.xml

---------------+
 PKGBUILD      |  114 ++++++++++++++++++++++++++++----------------------------
 build-swt.xml |   34 ++++++++--------
 2 files changed, 74 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-12 18:14:24 UTC (rev 273637)
+++ PKGBUILD	2016-08-12 18:15:15 UTC (rev 273638)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-pkgname=swt
-# http://download.eclipse.org/eclipse/downloads/drops4
-pkgver=4.5
-pkgrel=1
-_date=201506032000
-pkgdesc='An open source widget toolkit for Java'
-arch=('i686' 'x86_64')
-url='http://www.eclipse.org/swt/'
-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')
-
-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')
-
-# These examples don't even run anymore (Try Tux Guitar instead)!
-# http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
-# http://download.eclipse.org/eclipse/downloads/
-
-# http://mirror.ibcp.fr/pub/eclipse/eclipse/downloads/drops4/R-4.4-201406061215/org.eclipse.sdk.examples.source-4.4.zip
-
-build() {
-  cd ${srcdir}
-  unzip -oq src.zip -d src
-
-  export JAVA_HOME=/usr/lib/jvm/default
-  . /etc/profile.d/apache-ant.sh
-
-  # Shared objects
-  cd src
-  ./build.sh
-
-  # SWT jar
-  ant -f ../build-swt.xml compile
-}
-
-package() {
-  cd ${srcdir}/src
-
-  # Shared objects
-  export OUTPUT_DIR=${pkgdir}/usr/lib
-  install -dm755 ${OUTPUT_DIR} 
-  make -f make_linux.mak install
-
-  # SWT jar
-  ant -f ../build-swt.xml jar
-  install -Dm755 ../swt.jar ${pkgdir}/usr/share/java/swt-${pkgver}.jar
-  ln -s swt-${pkgver}.jar ${pkgdir}/usr/share/java/swt.jar
-}

Copied: swt/repos/extra-x86_64/PKGBUILD (from rev 273637, swt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-08-12 18:15:15 UTC (rev 273638)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+pkgname=swt
+# http://download.eclipse.org/eclipse/downloads/drops4
+pkgver=4.6
+pkgrel=1
+_date=201606061100
+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')
+optdepends=('libgnomeui' 'glu' 'webkitgtk2')
+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=('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
+# http://download.eclipse.org/eclipse/downloads/
+
+# http://mirror.ibcp.fr/pub/eclipse/eclipse/downloads/drops4/R-4.4-201406061215/org.eclipse.sdk.examples.source-4.4.zip
+
+build() {
+  cd ${srcdir}
+  unzip -oq src.zip -d src
+
+  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
+
+  # Shared objects
+  cd src
+  ./build.sh
+
+  # SWT jar
+  . /etc/profile.d/apache-ant.sh
+  ant -f ../build-swt.xml compile
+}
+
+package() {
+  cd ${srcdir}/src
+
+  # Shared objects
+  export OUTPUT_DIR=${pkgdir}/usr/lib
+  install -dm755 ${OUTPUT_DIR} 
+  make -f make_linux.mak install
+
+  # SWT jar
+  ant -f ../build-swt.xml jar
+  install -Dm755 ../swt.jar ${pkgdir}/usr/share/java/swt-${pkgver}.jar
+  ln -s swt-${pkgver}.jar ${pkgdir}/usr/share/java/swt.jar
+}

Deleted: build-swt.xml
===================================================================
--- build-swt.xml	2016-08-12 18:14:24 UTC (rev 273637)
+++ build-swt.xml	2016-08-12 18:15:15 UTC (rev 273638)
@@ -1,17 +0,0 @@
-<project name="SWT" default="jar" basedir=".">
-   <property name="src" location="."/>
-   <property name="build" location="build"/>
-
-   <target name="init">
-      <tstamp/>
-      <mkdir dir="${build}"/>
-   </target>
-
-   <target name="compile" depends="init" description="Compile the SWT toolset">
-      <javac srcdir="${src}" destdir="${build}" target="1.6" />
-   </target>
-
-   <target name="jar">
-      <jar destfile="swt.jar" basedir="${build}"/>
-   </target>
-</project>

Copied: swt/repos/extra-x86_64/build-swt.xml (from rev 273637, swt/trunk/build-swt.xml)
===================================================================
--- build-swt.xml	                        (rev 0)
+++ build-swt.xml	2016-08-12 18:15:15 UTC (rev 273638)
@@ -0,0 +1,17 @@
+<project name="SWT" default="jar" basedir=".">
+   <property name="src" location="."/>
+   <property name="build" location="build"/>
+
+   <target name="init">
+      <tstamp/>
+      <mkdir dir="${build}"/>
+   </target>
+
+   <target name="compile" depends="init" description="Compile the SWT toolset">
+      <javac srcdir="${src}" destdir="${build}" source="1.7" />
+   </target>
+
+   <target name="jar">
+      <jar destfile="swt.jar" basedir="${build}"/>
+   </target>
+</project>



More information about the arch-commits mailing list