[SCM] liblivemedia/master: No longer build static libs

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Tue Dec 22 21:46:15 UTC 2015


The following commit has been merged in the master branch:
commit 4256f4093a106af87f1f71f01d61959128db2cd5
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Tue Dec 22 22:16:57 2015 +0100

    No longer build static libs
    
    There are no consumers in the archive.

diff --git a/debian/liblivemedia-dev.install b/debian/liblivemedia-dev.install
index 7272386..90d8c98 100644
--- a/debian/liblivemedia-dev.install
+++ b/debian/liblivemedia-dev.install
@@ -1,4 +1,3 @@
 usr/include
-usr/lib/*/*.a
 usr/lib/*/*.so
 usr/lib/*/pkgconfig
diff --git a/debian/rules b/debian/rules
index 65e7e58..b2cb268 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,57 +1,12 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
-CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
-CFLAGS += -Wall
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	NUMJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-else
-	NUMJOBS := 1
-endif
-
 %:
 	dh $@ --parallel
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f *.a
-
 override_dh_auto_configure:
-	./genMakefiles linux
-
-override_dh_auto_build:
-	for f in BasicUsageEnvironment UsageEnvironment liveMedia groupsock; do \
-	  $(MAKE) CFLAGS="$(CFLAGS) -fPIC -DPIC" CXXFLAGS="$(CXXFLAGS) -fPIC -DPIC" \
-	  CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" -j $(NUMJOBS) -C $${f} || exit 1; \
-	  mv "$${f}/lib$${f}.a" "lib$${f}_pic.a"; \
-	done
-	$(MAKE) clean
-	for f in BasicUsageEnvironment UsageEnvironment liveMedia groupsock; do \
-	  $(MAKE) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
-	  LDFLAGS="$(LDFLAGS)" -j $(NUMJOBS) -C $${f} || exit 1; \
-	  mv "$${f}/lib$${f}.a" "lib$${f}.a"; \
-	done
-	$(MAKE) clean
 	./genMakefiles linux-with-shared-libraries
-	dh_auto_build -- CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
 
 override_dh_auto_install:
-	dh_auto_install -- PREFIX=/usr LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
-	for f in BasicUsageEnvironment UsageEnvironment liveMedia groupsock; do \
-	  install -m 644 lib$${f}.a lib$${f}_pic.a debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH); \
-	done
+	dh_auto_install -- \
+		PREFIX=/usr \
+		LIBDIR=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

-- 
liblivemedia packaging



More information about the pkg-multimedia-commits mailing list