update swt from 3.1.1 to 3.6.1
svn path=/nixpkgs/trunk/; revision=25682
This commit is contained in:
parent
fca3859da8
commit
4f50c9147f
2 changed files with 14 additions and 7 deletions
|
@ -3,6 +3,8 @@ source $stdenv/setup
|
|||
unzip $src src.zip
|
||||
unzip src.zip
|
||||
|
||||
export JAVA_HOME=${jdk}
|
||||
echo $JAVA_HOME=${jdk}
|
||||
sh ./build.sh make_swt make_atk
|
||||
|
||||
ensureDir $out/lib
|
||||
|
|
|
@ -1,16 +1,21 @@
|
|||
{stdenv, fetchurl, unzip, jdk, pkgconfig, gtk, libXtst}:
|
||||
{ stdenv, fetchurl, unzip, jdk, pkgconfig, gtk
|
||||
, libXtst
|
||||
, libXi
|
||||
, mesa
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "swt-3.1.1";
|
||||
name = "swt-3.6.1";
|
||||
builder = ./builder.sh;
|
||||
|
||||
|
||||
# Alas, the Eclipse Project apparently doesn't produce source-only
|
||||
# releases of SWT. So we just grab a binary release and extract
|
||||
# "src.zip" from that.
|
||||
src = fetchurl {
|
||||
url = http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.1-200509290840/swt-3.1.1-gtk-linux-x86.zip;
|
||||
md5 = "23dfe5a4a566439c5f526d9ea3b3db1c";
|
||||
url = http://eclipse.ialto.com/eclipse/downloads/drops/R-3.6.1-201009090800/swt-3.6.1-gtk-linux-x86.zip;
|
||||
sha1 = "e629e0b65296b67931f1fce8ab72419818c9747f";
|
||||
};
|
||||
|
||||
buildInputs = [unzip jdk pkgconfig gtk libXtst];
|
||||
|
||||
buildInputs = [unzip jdk pkgconfig gtk libXtst libXi mesa];
|
||||
inherit jdk;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue