[androidsdk-tools] 07/51: Generate OSGi metadata
Tony Mancill
tmancill at moszumanska.debian.org
Sun Nov 23 23:37:49 GMT 2014
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository androidsdk-tools.
commit 93ad45eef0c8f780d76a282d7c4c9aa89efb0f61
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date: Thu Oct 4 21:06:22 2012 +0200
Generate OSGi metadata
---
debian/androidsdk-androidprefs.bnd | 5 +++++
debian/androidsdk-common.bnd | 5 +++++
debian/androidsdk-sdklib.bnd | 5 +++++
debian/androidsdk-sdkstats.bnd | 5 +++++
debian/control | 2 +-
debian/rules | 6 ++++++
6 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/debian/androidsdk-androidprefs.bnd b/debian/androidsdk-androidprefs.bnd
new file mode 100644
index 0000000..dba3bb2
--- /dev/null
+++ b/debian/androidsdk-androidprefs.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: Android preferences library
+Bundle-SymbolicName: com.android.prefs
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/androidsdk-common.bnd b/debian/androidsdk-common.bnd
new file mode 100644
index 0000000..b1fe186
--- /dev/null
+++ b/debian/androidsdk-common.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: Android SDK tools common library
+Bundle-SymbolicName: com.android
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/androidsdk-sdklib.bnd b/debian/androidsdk-sdklib.bnd
new file mode 100644
index 0000000..4eb617c
--- /dev/null
+++ b/debian/androidsdk-sdklib.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: Android sdklib library
+Bundle-SymbolicName: com.android.sdklib
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/androidsdk-sdkstats.bnd b/debian/androidsdk-sdkstats.bnd
new file mode 100644
index 0000000..81c6e9e
--- /dev/null
+++ b/debian/androidsdk-sdkstats.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: Android sdkstats library
+Bundle-SymbolicName: com.android.sdkstats
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/control b/debian/control
index ff2c5df..162f528 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: extra
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Stefan Handschuh <handschuh.stefan at googlemail.com>
-Build-Depends: debhelper (>=9), javahelper, default-jdk, cdbs, libswt-gtk-3-java,
+Build-Depends: debhelper (>=9), javahelper, default-jdk, cdbs, bnd, libswt-gtk-3-java,
eclipse-rcp
Standards-Version: 3.9.3
Homepage: http://developer.android.com/tools/help/index.html
diff --git a/debian/rules b/debian/rules
index 3452c4f..97307cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,9 @@ ECLIPSE_JFACE_JAR := $(shell find /usr/lib/eclipse/plugins/org.eclipse.jface_*.j
ECLIPSE_COMMANDS_JAR := $(shell find /usr/lib/eclipse/plugins/org.eclipse.core.commands_*.jar)
export CLASSPATH := androidsdk-common.jar:androidsdk-androidprefs.jar:/usr/share/java/swt.jar:$(ECLIPSE_JFACE_JAR):$(ECLIPSE_COMMANDS_JAR)
+
+common-post-build-indep::
+ for BNDFILE in debian/*.bnd; do \
+ JARNAME=`basename $$BNDFILE .bnd`.jar; \
+ bnd wrap -properties $$BNDFILE -output $$JARNAME $$JARNAME; \
+ done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/androidsdk-tools.git
More information about the pkg-java-commits
mailing list