[SCM] qm-dsp/master: Install all headers.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Thu Dec 8 07:51:01 UTC 2016
The following commit has been merged in the master branch:
commit 6c65700b81647d4fa92ec5f86e684b5509bf6760
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Thu Dec 8 08:50:53 2016 +0100
Install all headers.
diff --git a/debian/patches/01-Makefile.patch b/debian/patches/01-Makefile.patch
index 932fde3..8c32909 100644
--- a/debian/patches/01-Makefile.patch
+++ b/debian/patches/01-Makefile.patch
@@ -6,7 +6,7 @@ Index: qm-dsp/Makefile
===================================================================
--- /dev/null
+++ qm-dsp/Makefile
-@@ -0,0 +1,27 @@
+@@ -0,0 +1,60 @@
+PREFIX ?= /usr
+LIBDIR ?=
+
@@ -23,14 +23,47 @@ Index: qm-dsp/Makefile
+QM-DSP_MAJ = $(QM-DSP_SO).$(MAJVERS)
+QM-DSP_MIN = $(QM-DSP_MAJ).$(MINVERS)
+QM-DSP_DEP = libqm-dsp.a
-+QM-DSP_H = base/*.h
++QM-DSP_H = qm-dsp
+
+$(QM-DSP_MAJ): $(QM-DSP_DEP)
+ gcc -shared $(LDFLAGS) -o $(QM-DSP_MAJ) -Wl,-soname,$(QM-DSP_MAJ) -Wl,--whole-archive $(QM-DSP_DEP) -Wl,--no-whole-archive
+
+install: $(QM-DSP_MAJ)
-+ install -d $(DESTDIR)$(PREFIX)/include/base
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/base
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/chromagram
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/keydetection
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/mfcc
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/onsets
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/phasevocoder
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/rateconversion
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/rhythm
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/segmentation
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/signalconditioning
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/tempotracking
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/tonal
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/transforms
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/wavelet
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/hmm
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/maths/pca
++ install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/thread
+ install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)
-+ install -m 644 $(QM-DSP_H) $(DESTDIR)$(PREFIX)/include/base
++ install -m 644 base/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/base
++ install -m 644 dsp/chromagram/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/chromagram
++ install -m 644 dsp/keydetection/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/keydetection
++ install -m 644 dsp/mfcc/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/mfcc
++ install -m 644 dsp/onsets/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/onsets
++ install -m 644 dsp/phasevocoder/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/phasevocoder
++ install -m 644 dsp/rateconversion/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/rateconversion
++ install -m 644 dsp/rhythm/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/rhythm
++ install -m 644 dsp/segmentation/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/segmentation
++ install -m 644 dsp/signalconditioning/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/signalconditioning
++ install -m 644 dsp/tempotracking/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/tempotracking
++ install -m 644 dsp/tonal/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/tonal
++ install -m 644 dsp/transforms/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/transforms
++ install -m 644 dsp/wavelet/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/dsp/wavelet
++ install -m 644 hmm/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/hmm
++ install -m 644 maths/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/maths
++ install -m 644 maths/pca/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/maths/pca
++ install -m 644 thread/*.h $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/thread
+ install -m 755 $(QM-DSP_MAJ) $(DESTDIR)$(PREFIX)/$(LIBDIR)
+ ln -sf $(QM-DSP_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(QM-DSP_SO)
--
qm-dsp packaging
More information about the pkg-multimedia-commits
mailing list