[SCM] guitarix/master: Add guitarix-doc with Guitarix's developer docs

viccuad-guest at users.alioth.debian.org viccuad-guest at users.alioth.debian.org
Fri Mar 25 19:38:36 UTC 2016


The following commit has been merged in the master branch:
commit fb5d7015ec3566b0e59e89fead11a890dbb5ea8c
Author: Víctor Cuadrado Juan <me at viccuad.me>
Date:   Fri Mar 25 20:29:51 2016 +0100

    Add guitarix-doc with Guitarix's developer docs

diff --git a/debian/control b/debian/control
index 50e480a..4236834 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,9 @@ Build-Depends:
  libbluetooth-dev [linux-any],
  liblilv-dev,
  libwebkitgtk-dev
+Build-Depends-Indep:
+ doxygen,
+ graphviz
 Standards-Version: 3.9.6
 Homepage: http://guitarix.sourceforge.net/
 Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/guitarix.git
@@ -31,7 +34,10 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/guitarix.git
 
 Package: guitarix
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, gtk2-engines, gtk2-engines-pixbuf
+Depends:
+ ${shlibs:Depends}, ${misc:Depends},
+ gtk2-engines,
+ gtk2-engines-pixbuf
 Recommends: jack-capture, vorbis-tools, lame
 Description: Rock guitar amplifier for Jack
  Guitarix is a rock guitar amplifier for Jack (Jack Audio Connection Kit) with
@@ -39,4 +45,19 @@ Description: Rock guitar amplifier for Jack
  sounds.  Controls are available for bass, treble, gain, balance, distortion,
  freeverb, crybaby(wah) and echo. For the 'pressure' in the sound you can use
  the feedback and feedforward sliders. guitarix comes with a GTK+ interface and
- as Ladspa plugin.
\ No newline at end of file
+ as Ladspa plugin.
+Package: guitarix-doc
+Section: doc
+Architecture: all
+Priority: optional
+Depends: ${misc:Depends},
+ libjs-jquery
+Suggests: guitarix
+Description: Guitarix - Development documentation
+ Guitarix is a rock guitar amplifier for Jack (Jack Audio Connection Kit) with
+ one input and two outputs. It is designed to produce nice
+ trash/metal/rock/blues guitar sounds and comes with a GTK+ interface and as
+ Ladspa and LV2 plugins.
+ .
+ This package contains Guitarix's Development documentation.
+
diff --git a/debian/guitarix-doc.doc-base b/debian/guitarix-doc.doc-base
new file mode 100644
index 0000000..1687fcb
--- /dev/null
+++ b/debian/guitarix-doc.doc-base
@@ -0,0 +1,10 @@
+Document: guitarix
+Title: Developing Guitarix
+Author: Guitarix team
+Abstract: This manual provides developer documentation for Guitarix
+Section: Programming/C++
+
+
+Format: HTML
+Index: /usr/share/doc/guitarix-doc/index.html
+Files: /usr/share/doc/guitarix-doc/*
\ No newline at end of file
diff --git a/debian/guitarix-doc.docs b/debian/guitarix-doc.docs
new file mode 100644
index 0000000..97f732c
--- /dev/null
+++ b/debian/guitarix-doc.docs
@@ -0,0 +1 @@
+documentation/html/*
\ No newline at end of file
diff --git a/debian/guitarix-doc.links b/debian/guitarix-doc.links
new file mode 100644
index 0000000..cade724
--- /dev/null
+++ b/debian/guitarix-doc.links
@@ -0,0 +1 @@
+/usr/share/javascript/jquery/jquery.js /usr/share/doc/guitarix-doc/jquery.js
\ No newline at end of file
diff --git a/debian/guitarix.install b/debian/guitarix.install
new file mode 100644
index 0000000..78bbf74
--- /dev/null
+++ b/debian/guitarix.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/*
+debian/tmp/usr/share/applications/*
diff --git a/debian/rules b/debian/rules
index c1a2fc1..67f6fa4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,19 +11,29 @@ override_dh_auto_configure:
 			$(shell dpkg-buildflags --get CPPFLAGS)" \
 		--ldflags="$(shell dpkg-buildflags --get LDFLAGS)" -v
 
-override_dh_auto_build:
+override_dh_auto_build-arch:
 	./waf build -v
 
-override_dh_auto_clean: 
+override_dh_auto_build-indep:
+	cd $(CURDIR)/documentation ; doxygen
+	# don't use dh_doxygen because it doesn't detect the docs
+	cd $(CURDIR)/documentation/html && find . -name "*.md5" -delete
+	cd $(CURDIR)/documentation/html && find . -name "*.map" -delete
+
+override_dh_auto_clean:
 	./waf distclean
 	rm -rf build/*
 	rm -rf build/.conf*
 	rm -rf build/.waf*
 	find . -name "*.pyc" -delete
+	rm -rf documentation/html
 
 override_dh_auto_install:
-	./waf install --destdir=$(CURDIR)/debian/guitarix
-	rm -f $(CURDIR)/debian/guitarix/usr/share/gx_head/sounds/bands/LICENSE
-	rm -f $(CURDIR)/debian/guitarix/usr/share/gx_head/sounds/amps/LICENSE
-	rm -f $(CURDIR)/debian/guitarix/usr/lib/libgxw.so
-	rm -f $(CURDIR)/debian/guitarix/usr/lib/libgxwmm.so
+	./waf install --destdir=$(CURDIR)/debian/tmp --libdir=$(CURDIR)/debian/tmp
+	rm -f $(CURDIR)/debian/tmp/usr/share/gx_head/sounds/bands/LICENSE
+	rm -f $(CURDIR)/debian/tmp/usr/share/gx_head/sounds/amps/LICENSE
+	rm -f $(CURDIR)/debian/tmp/usr/lib/libgxwmm.so
+	rm -f $(CURDIR)/debian/tmp/usr/lib/libgxw.so
+override_dh_install:
+	dh_install --fail-missing
+

-- 
guitarix packaging



More information about the pkg-multimedia-commits mailing list