[SCM] vlc/squeeze-backports-sloppy: Unify conditionals.

edwardw-guest at users.alioth.debian.org edwardw-guest at users.alioth.debian.org
Sun Jun 9 19:34:48 UTC 2013


The following commit has been merged in the squeeze-backports-sloppy branch:
commit c651ce8c0ce6a107cdade45b660bc421d17ddbec
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sat Mar 2 00:23:02 2013 +0100

    Unify conditionals.
    
    Signed-off-by: Edward Wang <edward.c.wang at compdigitec.com>

diff --git a/debian/rules b/debian/rules
index 9e3f270..013878e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -166,7 +166,7 @@ removeplugins += \
 endif
 
 # Linux and kFreeBSD specific flags
-ifneq ($(filter $(DEB_HOST_ARCH_OS),linux kfreebsd),)
+ifeq (,$(filter-out linux kfreebsd,$(DEB_HOST_ARCH_OS)))
 confflags += --enable-v4l2
 else
 confflags += --disable-v4l2
@@ -174,7 +174,7 @@ removeplugins += libv4l2
 endif
 
 # amd64 and i386 specific optimizations
-ifneq ($(filter $(DEB_HOST_ARCH_CPU),amd64 i386),)
+ifeq (,$(filter-out amd64 i386,$(DEB_HOST_ARCH_CPU)))
 confflags += --enable-mmx --enable-sse
 else
 confflags += --disable-mmx --disable-sse
@@ -182,7 +182,7 @@ removeplugins += 3dn mmx mmxext sse2
 endif
 
 # ARM specific optimizations
-ifneq ($(filter $(DEB_HOST_ARCH_CPU),armhf),)
+ifeq (,$(filter-out armhf,$(DEB_HOST_ARCH_CPU)))
 confflags += --enable-neon
 else
 confflags += --disable-neon
@@ -223,8 +223,8 @@ override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)
 
 override_dh_auto_test:
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 	# Check which plugins were built and whether they load properly.
 	@if test $$( id -u ) -eq 0 ; then \
 	   echo "Not runing the test as you are compiling as root"; \

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list