[SCM] libbluray/master: Introduce package for documentation.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Wed Apr 27 21:42:34 UTC 2011


The following commit has been merged in the master branch:
commit 361863ccb069e15c096a4581b07ee8044a587599
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Wed Apr 27 17:39:58 2011 -0400

    Introduce package for documentation.

diff --git a/debian/control b/debian/control
index 7c6c8d0..c03d9ad 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 7.0.50~),
                javahelper,
                default-jdk,
                ant,
-               libxml2-dev
+               libxml2-dev,
+               doxygen
 Standards-Version: 3.9.2
 Homepage: http://www.videolan.org/developers/libbluray.html
 Vcs-Git: git://git.debian.org/git/pkg-multimedia/libbluray.git
@@ -64,3 +65,18 @@ Description: Blu-ray disc playback support library (libraries)
  library is not enough to playback those discs.
  .
  This package provides the BD-J library.
+
+Package: libbluray-doc
+Section: doc
+Architecture: all
+Depends: libjs-jquery, ${misc:Depends}
+Description: Blu-ray disc playback support library (documentation)
+ libbluray is an open-source library designed for Blu-Ray Discs playback for
+ media players, like VLC or MPlayer. This research project is developed by an
+ international team of developers from Doom9. libbluray integrates navigation,
+ playlist parsing, menus, and BD-J.
+ .
+ NB: Most commercial Blu-Ray are restricted by AACS or BD+ technologies and this
+ library is not enough to playback those discs.
+ .
+ This package provides the libbluray documentation.
diff --git a/debian/libbluray-doc.doc-base b/debian/libbluray-doc.doc-base
new file mode 100644
index 0000000..2f96a07
--- /dev/null
+++ b/debian/libbluray-doc.doc-base
@@ -0,0 +1,13 @@
+Document: libbluray-doc
+Title: libbluray Documentation
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libbluray-doc/html/index.html
+Files: /usr/share/doc/libbluray-doc/html/*.html
+
+Format: PDF
+Files: /usr/share/doc/libbluray-doc/libbluray.pdf.gz
+
+Format: PostScript
+Files: /usr/share/doc/libbluray-doc/libbluray.ps.gz
diff --git a/debian/libbluray-doc.docs b/debian/libbluray-doc.docs
new file mode 100644
index 0000000..6c03cc6
--- /dev/null
+++ b/debian/libbluray-doc.docs
@@ -0,0 +1,3 @@
+doc/doxygen/html
+doc/doxygen/libbluray.pdf
+doc/doxygen/libbluray.ps
diff --git a/debian/libbluray-doc.links b/debian/libbluray-doc.links
new file mode 100644
index 0000000..a93aaa2
--- /dev/null
+++ b/debian/libbluray-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/libbluray-doc/html/jquery.js
diff --git a/debian/rules b/debian/rules
index ced206a..90c47d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,14 @@ CFLAGS=$(DEB_CFLAGS)
 	dh --with javahelper $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-bdjava
+	dh_auto_configure -- --enable-bdjava --enable-doxygen-doc
+
+override_dh_auto_build:
+	dh_auto_build
+	make doxygen-doc
+
+override_dh_installdocs:
+	dh_installdocs --exclude=jquery.js
 
 override_dh_clean:
 	dh_clean

-- 
libbluray packaging



More information about the pkg-multimedia-commits mailing list