Accepting request 913739 from home:susnux:branches:multimedia:apps

- Update to 1.8.1
  * Some SI fixes
  * Use pkg-config to find libraries, obsoletes use-pkgconfig.patch

OBS-URL: https://build.opensuse.org/request/show/913739
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/alevt?expand=0&rev=20
This commit is contained in:
Takashi Iwai 2021-08-23 15:17:23 +00:00 committed by Git OBS Bridge
parent 1bbe644851
commit f680d4a9b4
5 changed files with 11 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8e3130fe92e5db2d44c9ac1ba92a9c323dd389aaed09b411659413c15a37965
size 135721

3
alevt-v1.8.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ea02eff2a0b3937e8466165b5369dc265483a063f1001388bd52dbb8ac5123c
size 135822

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 23 10:49:31 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 1.8.1
* Some SI fixes
* Use pkg-config to find libraries, obsoletes use-pkgconfig.patch
-------------------------------------------------------------------
Mon Apr 19 10:16:55 UTC 2021 - Martin Pluskal <mpluskal@suse.com>

View File

@ -17,7 +17,7 @@
Name: alevt
Version: 1.8.0
Version: 1.8.1
Release: 0
Summary: Teletext and Videotext Decoder for the BTTV Driver
License: GPL-2.0-or-later
@ -25,8 +25,6 @@ Group: Hardware/TV
URL: https://gitlab.com/alevt/alevt
Source0: %{URL}/-/archive/v%{version}/alevt-v%{version}.tar.bz2
Source1: alevt.desktop
# PATCH-FEATURE-UPSTREAM use-pkgconfig.patch -- https://gitlab.com/alevt/alevt/-/issues/1
Patch0: use-pkgconfig.patch
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(libpng)

View File

@ -1,39 +0,0 @@
diff -Nur alevt-v1.8.0/Makefile new/Makefile
--- alevt-v1.8.0/Makefile 2019-04-02 22:12:06.000000000 +0200
+++ new/Makefile 2021-04-17 19:40:45.296304899 +0200
@@ -16,26 +16,30 @@
CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include
+PKGS="x11"
+
EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
TOBJS=alevt-date.o vbi.o fdset.o misc.o hamm.o lang.o
COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS)
ifneq ($(findstring WITH_PNG,$(DEFS)),)
-EXPLIBS=-lpng
+PKGS+="libpng"
endif
ifneq ($(findstring USE_LIBZVBI,$(DEFS)),)
-ZVBILIB=-lzvbi -lpthread
-EXPLIBS+=$(ZVBILIB)
+PKGS+="zvbi-0.2"
endif
+CFLAGS+=$(shell pkg-config --cflags $(PKGS))
+EXPLIBS=$(shell pkg-config --libs $(PKGS))
+
all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
alevt: $(OBJS)
- $(CC) $(OPT) $(OBJS) -o alevt -L$(USR_X11R6)/lib -L$(USR_X11R6)/lib64 -lX11 $(EXPLIBS)
+ $(CC) $(OPT) $(OBJS) -o alevt $(EXPLIBS)
alevt-date: $(TOBJS)
- $(CC) $(OPT) $(TOBJS) -o alevt-date $(ZVBILIB)
+ $(CC) $(OPT) $(TOBJS) -o alevt-date $(EXPLIBS)
alevt-cap: $(COBJS)
$(CC) $(OPT) $(COBJS) -o alevt-cap $(EXPLIBS)