[SCM] ffms2/master: Register docs with doc-base, convert upstream changelog to plaintext

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Fri Dec 6 14:54:02 UTC 2013


The following commit has been merged in the master branch:
commit b92286f82887cc244edcfae3c63d3a18f28b89b4
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Fri Dec 6 14:50:09 2013 +0100

    Register docs with doc-base, convert upstream changelog to plaintext
    
    Also install the upstream changelog with dh_installchangelogs.

diff --git a/debian/control b/debian/control
index 6b1b2e3..7b45b64 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,8 @@ Build-Depends: debhelper (>= 9),
  libavcodec-dev (>= 4:0.8~),
  libswscale-dev (>= 4:0.8~),
  libavresample-dev,
- zlib1g-dev
+ zlib1g-dev,
+ w3m
 Section: libs
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/ffms2.git;a=summary
diff --git a/debian/libffms2-dev.doc-base b/debian/libffms2-dev.doc-base
new file mode 100644
index 0000000..b104308
--- /dev/null
+++ b/debian/libffms2-dev.doc-base
@@ -0,0 +1,8 @@
+Document: ffms2
+Title: ffms2 API documentation
+Abstract: This documentation describes ffms2's API.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libffms2-dev/ffms2-api.html
+Files: /usr/share/doc/libffms2-dev/ffms2-api.html
diff --git a/debian/libffms2-dev.docs b/debian/libffms2-dev.docs
new file mode 100644
index 0000000..f9b2c77
--- /dev/null
+++ b/debian/libffms2-dev.docs
@@ -0,0 +1,2 @@
+doc/ffms2-api.html
+doc/style.css
diff --git a/debian/libffms2-dev.install b/debian/libffms2-dev.install
index 9ba070e..5ec5f7a 100644
--- a/debian/libffms2-dev.install
+++ b/debian/libffms2-dev.install
@@ -1,4 +1,3 @@
 usr/lib/*/libffms2.so
 usr/lib/*/pkgconfig/*
 usr/include/*
-usr/share/doc/ffms2/*
diff --git a/debian/rules b/debian/rules
index c88b960..758cb23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,3 +10,8 @@ override_dh_auto_build:
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-shared
+
+override_dh_installchangelogs:
+	w3m -dump doc/ffms2-changelog.html > debian/tmp/changelog
+	dh_installchangelogs debian/tmp/changelog
+	rm -f debian/tmp/changelog

-- 
ffms2 packaging



More information about the pkg-multimedia-commits mailing list