[SCM] csound/master: Create new package csound-data for common data files.

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Thu Jul 14 03:47:35 UTC 2011


The following commit has been merged in the master branch:
commit 9df715d670598f7365e2954f408f7c2fffe3ec8d
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sun Apr 10 18:31:13 2011 -0300

    Create new package csound-data for common data files.
    
    Put the HRTF files there and the gettext files too.

diff --git a/debian/control.in b/debian/control.in
index 4c57fd4..00fb96b 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -23,6 +23,16 @@ Description: powerful and versatile sound synthesis software
  .
  Csound is to sound synthesis as C is to programming.
 
+Package: csound-data
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: csound (<< 1:5.13.0~dfsg-4)
+Description: data files used by the csound library
+ This package includes the architecture-independent data files used by
+ the csound library or plugins.
+ .
+ For more information on Csound see the csound package.
+
 Package: csound-gui
 Architecture: any
 Depends: ${shlibs:Depends}, csound, ${misc:Depends}
@@ -44,7 +54,7 @@ Description: miscellaneous utilities for the Csound system
 Package: libcsound64-5.2
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, csound-data
 Recommends: csound
 Breaks: csound (<< 1:5.07.0.dfsg-1)
 Description: main library for Csound
diff --git a/debian/csound-data.install b/debian/csound-data.install
new file mode 100644
index 0000000..69dfe37
--- /dev/null
+++ b/debian/csound-data.install
@@ -0,0 +1,2 @@
+usr/share/csound/hrtf
+usr/share/locale
diff --git a/debian/csound.install b/debian/csound.install
index d16b1af..bc8a89f 100644
--- a/debian/csound.install
+++ b/debian/csound.install
@@ -1,5 +1,4 @@
 usr/bin/csound
 usr/bin/cs
 usr/bin/beats
-usr/share/locale
 
diff --git a/debian/rules b/debian/rules
index 77ace28..d137309 100755
--- a/debian/rules
+++ b/debian/rules
@@ -208,9 +208,11 @@ clean::
 	rm -f debian/cdbs-reduced-install-list
 	rm -f debian/cdbs-reduced-package-list
 
-install/libcsound64-5.2::
+install/csound-data::
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/locale
 	cp -r po/*/ $(CURDIR)/debian/tmp/usr/share/locale
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/csound/hrtf
+	cp samples/*.dat $(CURDIR)/debian/tmp/usr/share/csound/hrtf
 
 # Scons sucks
 install/libcsound64-dev::

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list