[SCM] mpg123/master: Fix alternative Recommended's items.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Tue Mar 27 23:44:36 UTC 2012
The following commit has been merged in the master branch:
commit 4c92b027fc47e645e48dd492c88645fead1a0464
Author: Alessio Treglia <alessio at debian.org>
Date: Wed Mar 28 01:11:37 2012 +0200
Fix alternative Recommended's items.
I've broken it with a previous commit of mine.
Git-Dch: Ignore
diff --git a/debian/rules b/debian/rules
index 435c582..0ba528a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -130,7 +130,7 @@ install: build
dh_installdeb $(ALL_PKGSTR)
dh_shlibdeps $(ALL_PKGSTR) -Xdebian/mpg123/usr/lib/$(DEB_HOST_MULTIARCH)/mpg123/ -- \
-dSuggests `find debian/mpg123/usr/lib/$(DEB_HOST_MULTIARCH)/mpg123/ -name "output_*.so" -type f` -dDepends
- for n in dummy oss; do \
+ for n in alsa nas dummy oss; do \
i="debian/mpg123/usr/lib/$(DEB_HOST_MULTIARCH)/mpg123/output_$$n.so"; \
test -e "$$i" || continue; \
dh_shlibdeps $(ARCH_PKGSTR) $(DUMMY_PKGSTR) -Xdebian/mpg123/usr/lib/$(DEB_HOST_MULTIARCH)/mpg123 debian/mpg123 -- -p"$$n"plugin -dRecommends "$$i" -dDepends; \
@@ -138,8 +138,8 @@ install: build
chmod +x "$(CURDIR)/debian/alt_deps.py"
"$(CURDIR)/debian/alt_deps.py" "$(CURDIR)/debian/mpg123.substvars" \
plugin:Recommends \
- "ossplugin:Recommends dummyplugin:Recommends" \
- ossplugin:Recommends=oss-compat
+ "alsaplugin:Recommends ossplugin:Recommends dummyplugin:Recommends" \
+ "ossplugin:Recommends=oss-compat | oss4-base"
dh_gencontrol $(ALL_PKGSTR)
dh_gencontrol $(DUMMY_PKGSTR) -- -Tdebian/mpg123.substvars
dh_md5sums $(ALL_PKGSTR) $(DUMMY_PKGSTR)
--
mpg123 packaging
More information about the pkg-multimedia-commits
mailing list