[java-package] 03/04: Create build depends for JDK.
Benjamin Drung
bdrung at moszumanska.debian.org
Tue Jun 17 18:47:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
bdrung pushed a commit to branch master
in repository java-package.
commit a4165c81a86ff3223170e5cb490b14d70267578b
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date: Tue Jun 17 20:36:50 2014 +0200
Create build depends for JDK.
---
lib/javase.sh | 5 ++++-
lib/jdk.sh | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/lib/javase.sh b/lib/javase.sh
index 0254725..e6592cc 100644
--- a/lib/javase.sh
+++ b/lib/javase.sh
@@ -21,12 +21,15 @@ EOF
}
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
diff --git a/lib/jdk.sh b/lib/jdk.sh
index 25d7d9c..39a4cee 100644
--- a/lib/jdk.sh
+++ b/lib/jdk.sh
@@ -1,5 +1,9 @@
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}"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java-package.git
More information about the pkg-java-commits
mailing list