diff --git a/srcpkgs/jre/template b/srcpkgs/jre/template index 8729144e7ec..4c51ef21689 100644 --- a/srcpkgs/jre/template +++ b/srcpkgs/jre/template @@ -2,6 +2,7 @@ pkgname=jre _extraversion=1.7.0 version=7 +revision=1 distfiles="http://download.oracle.com/otn-pub/java/jdk/${version}/jre-${version}-linux-x64.tar.gz" build_style=custom-install short_desc="Oracle's Java Runtime Environment (JRE) - Version 7" @@ -18,7 +19,25 @@ long_desc=" improved support for dynamic and script languages, updates to security, internationalization and web standards and much more." +gtk_iconcache_dirs=" +/usr/share/icons/hicolor +/usr/share/icons/HighContrast +/usr/share/icons/LowContrast" + +Add_dependency run glibc +Add_dependency run libgcc +Add_dependency run libX11 +Add_dependency run libXext +Add_dependency run libXrender +Add_dependency run libXtst +Add_dependency run libXi +Add_dependency run alsa-lib + +Add_dependency build libXrender-devel Add_dependency build libXtst-devel +Add_dependency build alsa-lib-devel + +Add_dependency full hicolor-icon-theme Add_dependency full desktop-file-utils Add_dependency full xdg-utils Add_dependency full shared-mime-info @@ -59,4 +78,6 @@ do_install() vcopy ${wrksrc}/release opt/java/jre vcopy ${wrksrc}/Welcome.html opt/java/jre + rm -rf ${DESTDIR}/opt/java/jre/lib/desktop + }