Projects
home:YangfanRuan:libyuv
libyuv
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
_service:tar_scm:libyuv.spec
Changed
@@ -1,11 +1,14 @@ +%global git_commit 96bbdb53ed6b5bdf2e940f6068016a78afcc7852 +%global git_date 20240704 + Name: libyuv Summary: YUV conversion and scaling functionality library Version: 20240704 Release: 1 License: BSD-3-Clause Url: https://chromium.googlesource.com/libyuv/libyuv +VCS: git:%{url} Source0: %{name}-%{version}.tar.gz - # Fedora-specific. Upstream isn't interested in these patches. Patch1: libyuv-0001-Move-Linux-variables-to-the-top.patch Patch2: libyuv-0002-Use-a-proper-so-version.patch @@ -37,7 +40,7 @@ %prep -%autosetup -p1 +%autosetup -p1 -c %{name}-%{version} cat > %{name}.pc << EOF prefix=%{_prefix} @@ -53,21 +56,23 @@ %build -%{cmake} -DTEST=TRUE -%{cmake_build} +%{cmake} -DUNIT_TEST=TRUE +cmake --build . --target all -- -j$(nproc) %install make install/fast DESTDIR=%{buildroot} -%{cmake_install} mkdir -p %{buildroot}%{_libdir}/pkgconfig cp -a %{name}.pc %{buildroot}%{_libdir}/pkgconfig/ +# FIXME +rm -f %{buildroot}%{_bindir}/yuvconvert %check -./libyuv_unittest || true +# FIXME fails again on s390 - we should use CTest via %%{ctest} macro +# ./libyuv_unittest || true %files
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2