[packages/libquirc] - updated to 1.0.2

qboosh qboosh at pld-linux.org
Sun Apr 14 20:42:01 CEST 2024


commit ec527be58a5550b562b22857f4086c9c4b20bc7e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 14 20:27:21 2024 +0200

    - updated to 1.0.2

 libquirc-make.patch | 17 +++--------------
 libquirc.spec       |  8 +++-----
 2 files changed, 6 insertions(+), 19 deletions(-)
---
diff --git a/libquirc.spec b/libquirc.spec
index 6467400..9ccb8cb 100644
--- a/libquirc.spec
+++ b/libquirc.spec
@@ -6,13 +6,13 @@
 Summary:	Library for extracting and decoding QR codes
 Summary(pl.UTF-8):	Biblioteka do wydobywania i dekodowania kodów QR
 Name:		libquirc
-Version:	1.0.1
+Version:	1.0.2
 Release:	1
 License:	ISC
 Group:		Libraries
-#Source0Download: https://github.com/evolation/libquirc/releases
+#Source0Download: https://github.com/evolation/libquirc/tags
 Source0:	https://github.com/evolation/libquirc/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	434431d3c49cd1462c17d386192ea72c
+# Source0-md5:	df67eaa474850cb7a0f7acd404a38417
 Patch0:		%{name}-make.patch
 URL:		https://github.com/evolation/libquirc
 %if %{with sdl}
@@ -73,8 +73,6 @@ Narzędzia do kodów QR wykorzystujące bibliotekę quirc.
 %setup -q
 %patch0 -p1
 
-#%{__sed} -i -e 's/-shared /-shared -Wl,-soname,libquirc.so.1.0 /' Makefile
-
 %build
 %{__make} libquirc.so %{?with_static_libs:libquirc.a} %{?with_sdl:quirc-demo quirc-scanner} \
 	CC="%{__cc}" \
diff --git a/libquirc-make.patch b/libquirc-make.patch
index 9a1015b..751c89e 100644
--- a/libquirc-make.patch
+++ b/libquirc-make.patch
@@ -1,17 +1,6 @@
---- libquirc-1.0.1/Makefile.orig	2024-04-13 15:39:22.221266168 +0200
-+++ libquirc-1.0.1/Makefile	2024-04-13 15:40:51.247450539 +0200
-@@ -15,8 +15,8 @@
- 
- CC ?= gcc
- PREFIX ?= /usr/local
--SDL_CFLAGS ?= pkg-config --cflags sdl 
--SDL_LIBS ?= pkg-config --libs sdl
-+SDL_CFLAGS ?= $$(pkg-config --cflags sdl)
-+SDL_LIBS ?= $$(pkg-config --libs sdl)
- 
- LIB_VERSION = 1.0
- 
-@@ -57,7 +57,7 @@ libquirc.a: $(LIB_OBJ)
+--- libquirc-1.0.2/Makefile.orig	2020-12-17 22:28:38.000000000 +0100
++++ libquirc-1.0.2/Makefile	2024-04-14 20:22:14.857915241 +0200
+@@ -66,7 +66,7 @@ libquirc.a: $(LIB_OBJ)
  libquirc.so: libquirc.so.$(LIB_VERSION)
  
  libquirc.so.$(LIB_VERSION): $(LIB_OBJ)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libquirc.git/commitdiff/ec527be58a5550b562b22857f4086c9c4b20bc7e



More information about the pld-cvs-commit mailing list