[opencv] 02/02: Install maven artifacts with maven-repo-helper so reverse dependencies can automatically pick the dependency by using ${maven:Depends}

Mattia Rizzolo mattia at debian.org
Fri Oct 27 19:51:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository opencv.

commit 67bb976dcedddc12bc361cc2368c6874fa094fba
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Oct 27 21:47:42 2017 +0200

    Install maven artifacts with maven-repo-helper so reverse dependencies can automatically pick the dependency by using ${maven:Depends}
    
    Closes: #878949
    Thanks: Gilles Filippini <pini at debian.org> for the patch
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/control                |  1 +
 debian/libopencv3.3-java.poms |  1 +
 debian/pom.xml                | 17 +++++++++++++++++
 debian/rules                  |  2 +-
 4 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index a6da2db..28df23b 100644
--- a/debian/control
+++ b/debian/control
@@ -41,6 +41,7 @@ Build-Depends:
  libtiff-dev,
  libv4l-dev [linux-any],
  libvtk6-dev,
+ maven-repo-helper,
  ocl-icd-opencl-dev,
  protobuf-compiler,
  python-dev,
diff --git a/debian/libopencv3.3-java.poms b/debian/libopencv3.3-java.poms
new file mode 100644
index 0000000..9846d72
--- /dev/null
+++ b/debian/libopencv3.3-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --usj-name=opencv
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..eb511cb
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,17 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.opencv</groupId>
+    <artifactId>opencv</artifactId>
+    <packaging>jar</packaging>
+    <version>3.3.0</version>
+    <name>OpenCV</name>
+    <licenses>
+        <license>
+            <name>License Agreement For Open Source Computer Vision Library (3-clause BSD License)</name>
+        </license>
+    </licenses>
+    <url>https://opencv.org/</url>
+    <dependencies/>
+</project>
+
diff --git a/debian/rules b/debian/rules
index 231050d..eb6a313 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,7 +82,7 @@ CMAKE_FLAGS = \
 	$(CMAKE_ARCH_FLAGS)
 
 %:
-	dh $@ --with python2,python3,javahelper
+	dh $@ --with python2,python3,javahelper,jh_maven_repo_helper
 
 override_dh_clean:
 	rm -rvf modules/python/src2/hdr_parser.pyc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list