public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libyuv] epel10.3: Fix linking against libjpeg
Date: Mon, 16 Nov 2026 15:16:48 GMT [thread overview]
Message-ID: <179484220851.1.8550538800652648476.rpms-libyuv-20d860d815c4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libyuv
Branch : epel10.3
Commit : 20d860d815c4d2369b45b0fecd70ffb86eade4c3
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2019-04-17T12:42:30+03:00
Stats : +23/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libyuv/c/20d860d815c4d2369b45b0fecd70ffb86eade4c3?branch=epel10.3
Log:
Fix linking against libjpeg
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/libyuv-0006-Link-main-library-against-libjpeg.patch b/libyuv-0006-Link-main-library-against-libjpeg.patch
new file mode 100644
index 0000000..7bb05ed
--- /dev/null
+++ b/libyuv-0006-Link-main-library-against-libjpeg.patch
@@ -0,0 +1,18 @@
+From: Peter Lemenkov <lemenkov@gmail.com>
+Date: Wed, 17 Apr 2019 12:39:42 +0300
+Subject: [PATCH] Link main library against libjpeg
+
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eb12ab4f..856cc975 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -31,6 +31,7 @@ SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0
+ INCLUDE ( FindJPEG )
+ if (JPEG_FOUND)
+ include_directories( ${JPEG_INCLUDE_DIR} )
++ target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} )
+ add_definitions( -DHAVE_JPEG )
+ endif()
+
diff --git a/libyuv.spec b/libyuv.spec
index 96dbc70..52ef6ac 100644
--- a/libyuv.spec
+++ b/libyuv.spec
@@ -1,7 +1,7 @@
Name: libyuv
Summary: YUV conversion and scaling functionality library
Version: 0
-Release: 0.34.20190401git4bd08cb%{?dist}
+Release: 0.35.20190401git4bd08cb%{?dist}
License: BSD
Url: https://chromium.googlesource.com/libyuv/libyuv
VCS: scm:git:https://chromium.googlesource.com/libyuv/libyuv
@@ -15,6 +15,7 @@ Patch2: libyuv-0002-Link-against-shared-library.patch
Patch3: libyuv-0003-Disable-static-library.patch
Patch4: libyuv-0004-Don-t-install-conversion-tool.patch
Patch5: libyuv-0005-Use-library-suffix-during-installation.patch
+Patch6: libyuv-0006-Link-main-library-against-libjpeg.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gtest-devel
@@ -84,6 +85,9 @@ cp -a %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
%changelog
+* Wed Apr 17 2019 Peter Lemenkov <lemenkov@gmail.com> - 0-0.35.20190401git4bd08cb
+- Fix linkage against libjpeg
+
* Tue Apr 16 2019 Peter Lemenkov <lemenkov@gmail.com> - 0-0.34.20190401git4bd08cb
- Fixed pkgconfig-file
reply other threads:[~2026-11-16 15:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179484220851.1.8550538800652648476.rpms-libyuv-20d860d815c4@fedoraproject.org \
--to=lemenkov@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox