Update to 1.10.5

This commit is contained in:
ErrorNoInternet 2025-02-13 16:58:15 -05:00
commit 7be3057eb2
No known key found for this signature in database
GPG key ID: 2486BFB7B1E6A4A3
4 changed files with 5 additions and 32 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/libsixel-1.10.3.tar.gz
/libsixel-*.tar.gz

View file

@ -1,12 +1,11 @@
Name: libsixel
Version: 1.10.3
Version: 1.10.5
Release: %autorelease
Summary: SIXEL encoding and decoding
License: MIT
URL: https://github.com/libsixel/libsixel
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: meson.patch
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: meson
@ -32,7 +31,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%{summary}.
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -p1
%build
%meson -Dtests=enabled
@ -40,7 +39,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%install
%meson_install
rm %{buildroot}/%{_libdir}/libsixel.a
%check
%meson_test

View file

@ -1,25 +0,0 @@
--- a/meson.build
+++ b/meson.build
@@ -101,17 +101,17 @@
python2_installation = pymod.find_installation('python2', required: get_option('python2'))
if get_option('libcurl').enabled() and curl_found.found()
- conf_data.set('HAVE_LIBCURL', true)
+ conf_data.set('HAVE_LIBCURL', 1)
libsixel_deps += [curl_found]
endif
-if get_option('jpeg').enabled() and jpeg_found
- conf_data.set('HAVE_JPEG', true)
+if get_option('jpeg').enabled() and jpeg_found.found()
+ conf_data.set('HAVE_JPEG', 1)
libsixel_deps += [jpeg_found]
endif
-if get_option('png').enabled() and png_found
- conf_data.set('HAVE_PNG', true)
+if get_option('png').enabled() and png_found.found()
+ conf_data.set('HAVE_PNG', 1)
libsixel_deps += [png_found]
endif

View file

@ -1 +1 @@
SHA512 (libsixel-1.10.3.tar.gz) = ef16f9ccecec8289728ec84ce9f24145648f8a38184c1ec3df8ead3499c6cf7d3e0a0c738f8bfcb1093e16ee8ae7ce5e46d3890707c8104752ce4ab7eb3bc7ac
SHA512 (libsixel-1.10.5.tar.gz) = 94fc972ee304885936d5d8fbc3dadc5feadebf1ab262bb49c9ae9b1eed19c528ed823f4d31c17326340f06a5b7ee28a1817be15ae55c3e9d0c4437cd36b3e49d