[SCM] lv2/master: Split stuff into -dev,-doc and -examples

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Apr 18 12:17:58 UTC 2012


The following commit has been merged in the master branch:
commit eea55eb6359a737e4416bedd667c337aef78653c
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Apr 18 14:17:47 2012 +0200

    Split stuff into -dev,-doc and -examples

diff --git a/debian/control b/debian/control
index 9db935b..184ff07 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,8 @@ Vcs-Git: git://git.debian.org/git/pkg-multimedia/lv2.git
 Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/lv2.git
 Homepage: http://lv2plug.in/
 
-Package: lv2
+Package: lv2-dev
+Section: libdevel
 Architecture: any
 Depends:
  ${misc:Depends},
@@ -40,3 +41,28 @@ Description: LV2 audio plugin specification
  .
  Implementations are encouraged to abandon the “copy paste
  headers” practice and depend on this package instead.
+
+Package: lv2-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: LV2 audio plugin specification (documentation)
+ LV2 is a simple but extensible successor of LADSPA plugins,
+ intended to address the limitations of LADSPA which many
+ applications have outgrown.
+ .
+ This package contains the documentation of the LV2 audio
+ plugin specification.
+
+Package: lv2-examples
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Provides: lv2-plugin
+Description: LV2 audio plugin specification (example plugins)
+ LV2 is a simple but extensible successor of LADSPA plugins,
+ intended to address the limitations of LADSPA which many
+ applications have outgrown.
+ .
+ This package contains some LV2 example plugins.
diff --git a/debian/lv2-dev.install b/debian/lv2-dev.install
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/lv2-dev.install
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/lv2-doc.install b/debian/lv2-doc.install
new file mode 100644
index 0000000..b9c51a4
--- /dev/null
+++ b/debian/lv2-doc.install
@@ -0,0 +1 @@
+usr/share/doc/lv2/html
diff --git a/debian/lv2-examples.install b/debian/lv2-examples.install
new file mode 100644
index 0000000..e3a7133
--- /dev/null
+++ b/debian/lv2-examples.install
@@ -0,0 +1,2 @@
+usr/lib/lv2/eg-amp.lv2
+usr/lib/lv2/eg-sampler.lv2
diff --git a/debian/rules b/debian/rules
index 6e0122a..c0d4a91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ ifeq ($(shell dpkg-query -s doxygen graphviz 1>/dev/null 2>&1 && echo yes),yes)
 CONFIGURE_EXTRA_FLAGS += --docs
 endif
 
+PLUGINS = amp sampler
+
 %:
 	dh $@
 
@@ -26,7 +28,13 @@ override_dh_auto_clean:
 	dh_auto_clean
 
 override_dh_auto_install:
-	$(WAF) install --destdir=$(CURDIR)/debian/lv2
+	$(WAF) install --destdir=$(CURDIR)/debian/tmp
+
+override_dh_install:
+	dh_install
+	for plugin in $(PLUGINS); do \
+		rm -rf debian/lv2-dev/usr/lib/lv2/eg-$${plugin}.lv2 ; \
+	done
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS

-- 
lv2 packaging



More information about the pkg-multimedia-commits mailing list