Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
143f8a584d
!5 升级到最新版3.0.5
From: @lvgenggeng 
Reviewed-by: @open123bot 
Signed-off-by: @open123bot
2023-11-16 09:46:30 +00:00
lvgenggeng
08feeb53ad bump to 3.0.5
Signed-off-by: lvgenggeng <lvgenggeng@uniontech.com>
2023-11-16 17:26:05 +08:00
openeuler-ci-bot
ebf6119fcc
!4 【轻量级 PR】:修正yaml
From: @licihua 
Reviewed-by: @leeffo 
Signed-off-by: @leeffo
2023-08-21 07:16:39 +00:00
Monday
34c36a6371
修正yaml
Signed-off-by: Monday <licihua@huawei.com>
2023-07-18 01:18:51 +00:00
openeuler-ci-bot
f564a406cb
!3 add yaml file
From: @haomi0602 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2023-03-01 05:51:16 +00:00
ut004615
b4f836f1b1 add yaml file 2022-07-06 17:31:47 +08:00
openeuler-ci-bot
1695b2384e !2 fix failure caused by GCC upgrade to 10
From: @Lin__Jiaxin
Reviewed-by: @weidongkl
Signed-off-by: @weidongkl
2021-08-02 09:57:48 +00:00
Lin Jiaxin
2327571ba5 fix for gcc 10
error after updating to gcc 10.3.1:
src/zimg/colorspace/matrix3.cpp:45:7: error: 'size_t' was not declared in this scope; did you mean 'std::size_t'?
    45 |  for (size_t i = 0; i < 3; ++i) {
       |       ^~~~~~
       |       std::size_t
 In file included from /usr/include/c++/10.3.1/utility:68,
                  from /usr/include/c++/10.3.1/array:38,
                  from src/zimg/colorspace/matrix3.h:6,
                  from src/zimg/colorspace/matrix3.cpp:1:

refer to: https://bugs.gentoo.org/721676
2021-08-02 16:51:58 +08:00
openeuler-ci-bot
a8d7164e1c !1 Initial package.
From: @weidongkl
Reviewed-by: @yeqinglong01
Signed-off-by: @yeqinglong01
2021-05-10 15:18:26 +08:00
wei dong
0e320c2797 Initial package. 2021-05-08 10:06:49 +08:00
3 changed files with 76 additions and 0 deletions

BIN
zimg-3.0.5.tar.gz Normal file

Binary file not shown.

70
zimg.spec Normal file
View File

@ -0,0 +1,70 @@
Name: zimg
Version: 3.0.5
Release: 1
Summary: Scaling, color space conversion, and dithering library
License: WTFPL
URL: https://github.com/sekrit-twc/zimg
Source0: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz
BuildRequires: autoconf automake gcc-c++ libtool
%description
The "z" library implements the commonly required image processing basics of
scaling, color space conversion, and depth conversion. A simple API enables
conversion between any supported formats to operate with minimal knowledge from
the programmer. All library routines were designed from the ground-up with
correctness, flexibility, and thread-safety as first priorities. Allocation,
buffering, and I/O are cleanly separated from processing, allowing the
programmer to adapt "z" to many scenarios.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1 -n zimg-release-%{version}
%build
autoreconf -vif
%configure \
--disable-static \
--enable-testapp
%make_build V=1
%install
%make_install
install -m 755 -p -D testapp %{buildroot}%{_bindir}/testapp
find %{buildroot} -name '*.la' -delete
# Pick up docs in the files section
rm -fr %{buildroot}%{_docdir}/%{name}
%ldconfig_scriptlets
%files
%license COPYING
%doc README.md ChangeLog
%{_libdir}/lib%{name}.so.2.0.0
%{_libdir}/lib%{name}.so.2
%files devel
%{_bindir}/testapp
%{_includedir}/*
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Thu Nov 16 2023 lvgenggeng <lvgenggeng@uniontech.com> - 3.0.5-1
- bump to 3.0.5
* Mon Aug 02 2021 linjiaxin5 <linjiaxin5@huawei.com> - 2.9.3-2
- Fix failure caused by GCC upgrade to 10
* Fri May 07 2021 weidong <weidong@uniontech.com> - 2.9.3-1
- Initial package.

6
zimg.yaml Normal file
View File

@ -0,0 +1,6 @@
version_control: github
src_repo: sekrit-twc/zimg
tag_prefix: "^release-"
separator: "."
git_url: https://github.com/sekrit-twc/zimg.git