}
j2se_control() {
+ if test -n "$build_depends"; then
+ build_depends=", $build_depends"
+ fi
cat << EOF
Source: $j2se_package
Section: non-free/devel
Priority: optional
Maintainer: $maintainer_name <$maintainer_email>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9)${build_depends}
Standards-Version: 3.9.5
EOF
j2sdk_control() {
+ build_depends="libasound2, libgl1-mesa-glx, libgtk2.0-0, libxslt1.1, libxtst6, libxxf86vm1"
+ if test "$j2se_release" = 8; then
+ build_depends="$build_depends, libavcodec53, libavformat53"
+ fi
j2se_control
java_browser_plugin="java-browser-plugin, "
depends="\${shlibs:Depends}"