[SCM] juce/master: use versioned soname

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Jan 21 21:11:13 UTC 2016


The following commit has been merged in the master branch:
commit 024401cf10efecdb2b0343fd6e56f9c301f9ba3c
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Jan 21 22:03:38 2016 +0100

    use versioned soname

diff --git a/debian/libbuilder/Makefile b/debian/libbuilder/Makefile
index e5566b3..30fcaf9 100644
--- a/debian/libbuilder/Makefile
+++ b/debian/libbuilder/Makefile
@@ -101,6 +101,8 @@ JUCE_LDFLAGS += \
 	-lrt \
 	$(empty)
 
+SONAME=0.0.0
+SHORTSONAME=0
 TARGET := libjuce.so
 
 OBJECTS=$(SOURCES:%.cpp=$(OBJDIR)/%.o)
@@ -124,7 +126,9 @@ clean:
 install-lib: $(OUTDIR)/$(TARGET)
 	@echo Installing juce_dll
 	install -d $(DESTDIR)$(libdir)
-	install -m664 $^ $(DESTDIR)$(libdir)/libjuce.so
+	install -m664 $^ $(DESTDIR)$(libdir)/$(TARGET).$(SONAME)
+	ln -s  $(TARGET).$(SONAME) $(DESTDIR)$(libdir)/$(TARGET)
+	ln -s  $(TARGET).$(SONAME) $(DESTDIR)$(libdir)/$(TARGET).$(SHORTSONAME)
 install-pkgconfig: juce.pc
 	@echo Installing juce_dll
 	install -d $(DESTDIR)$(libdir)/pkgconfig

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list