[opencv] 01/05: 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
Sat Nov 11 12:40:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to annotated tag debian/3.2.0+dfsg-4
in repository opencv.
commit 5e6dc7d9d88b85b70f9db2b2a87db294006933cc
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 6792c4c..2621822 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..4e17172
--- /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.2.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 0b384f7..7354e1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,7 +68,7 @@ CMAKE_FLAGS = \
$(CMAKE_ARCH_FLAGS)
%:
- dh $@ --with python2,python3,javahelper --parallel
+ dh $@ --with python2,python3,javahelper,jh_maven_repo_helper --parallel
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