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 12
View file
_service:tar_scm:libyuv.spec
Changed
@@ -1,15 +1,10 @@ -%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 Patch3: libyuv-0003-Link-against-shared-library.patch @@ -21,7 +16,6 @@ BuildRequires: gtest-devel BuildRequires: libjpeg-devel - %description This is an open source project that includes YUV conversion and scaling functionality. Converts all webcam formats to YUV (I420). Convert YUV to @@ -29,16 +23,13 @@ devices in portrait mode. Scale YUV to prepare content for compression, with point, bilinear or box filter. - %package devel Summary: The development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} - %description devel Additional header files for development with %{name}. - %prep %autosetup -p1 -c %{name}-%{version} @@ -54,25 +45,18 @@ Libs: -lyuv EOF - %build %{cmake} -DUNIT_TEST=TRUE cmake --build . --target all -- -j$(nproc) - %install make install/fast DESTDIR=%{buildroot} mkdir -p %{buildroot}%{_libdir}/pkgconfig cp -a %{name}.pc %{buildroot}%{_libdir}/pkgconfig/ -# FIXME -rm -f %{buildroot}%{_bindir}/yuvconvert - - %check -# FIXME fails again on s390 - we should use CTest via %%{ctest} macro -# ./libyuv_unittest || true +./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