File dvb-opensuse-integration.patch of Package dvb
From: Jean Delvare <jdelvare@suse.de>
Subject: dvb: openSUSE integration
Skip some components:
* We don't want to ship static libraries so don't build them.
* We don't ship testing applications so don't build them.
* dvbscan is incomplete and defunct, don't build it.
---
Make.rules | 2 +-
Makefile | 1 -
util/Makefile | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
--- dvb-apps.orig/Make.rules 2015-01-21 10:54:26.663742900 +0100
+++ dvb-apps/Make.rules 2015-01-21 10:56:15.340131744 +0100
@@ -9,7 +9,7 @@ ifneq ($(lib_name),)
CFLAGS_LIB ?= -fPIC
CFLAGS += $(CFLAGS_LIB)
-libraries = $(lib_name).so $(lib_name).a
+libraries = $(lib_name).so
.PHONY: library
--- dvb-apps.orig/Makefile 2015-01-21 10:56:00.486805230 +0100
+++ dvb-apps/Makefile 2015-01-21 10:56:09.140995471 +0100
@@ -10,7 +10,6 @@ DVB_API_MINOR := $(word 3, $(shell grep
all clean install:
$(MAKE) -C lib $@
- $(MAKE) -C test $@
$(MAKE) -C util $@
update:
--- dvb-apps.orig/util/Makefile 2015-01-20 14:44:32.007767792 +0100
+++ dvb-apps/util/Makefile 2015-01-21 10:54:21.530630075 +0100
@@ -10,7 +10,6 @@ all clean install:
$(MAKE) -C dvbdate $@
$(MAKE) -C dvbnet $@
$(MAKE) -C dvbtraffic $@
- $(MAKE) -C dvbscan $@
$(MAKE) -C femon $@
$(MAKE) -C scan $@
$(MAKE) -C szap $@