[libmkv] - add patch for Handbrake compile - fix spelling error
Bernard Johnson
bjohnson at fedoraproject.org
Fri Mar 14 05:49:31 UTC 2014
commit c68b3bca2ec90961a31fc2daaff76ebf64da2d5e
Author: Bernard Johnson <bjohnson at symetrix.com>
Date: Thu Mar 13 23:49:06 2014 -0600
- add patch for Handbrake compile
- fix spelling error
A01-hbmv-pgs.patch | 12 ++++++++++++
libmkv.spec | 13 +++++++++++--
2 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/A01-hbmv-pgs.patch b/A01-hbmv-pgs.patch
new file mode 100644
index 0000000..9f863ca
--- /dev/null
+++ b/A01-hbmv-pgs.patch
@@ -0,0 +1,12 @@
+diff --git a/include/libmkv.h b/include/libmkv.h
+index 146a91f..f03d608 100644
+--- a/include/libmkv.h
++++ b/include/libmkv.h
+@@ -94,6 +94,7 @@ extern "C" {
+ #define MK_SUBTITLE_USF "S_TEXT/USF"
+ #define MK_SUBTITLE_VOBSUB "S_VOBSUB"
+ #define MK_SUBTITLE_BMP "S_IMAGE/BMP"
++#define MK_SUBTITLE_PGS "S_HDMV/PGS"
+
+ /* Official Tags */
+ #define MK_TAG_TITLE "TITLE"
diff --git a/libmkv.spec b/libmkv.spec
index ab515b3..6dc2de5 100644
--- a/libmkv.spec
+++ b/libmkv.spec
@@ -1,6 +1,6 @@
Name: libmkv
Version: 0.6.5.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: An alternative to the official libmatroska library
Group: System Environment/Libraries
@@ -8,17 +8,22 @@ License: GPLv2+
URL: https://github.com/saintdev/libmkv
# https://github.com/saintdev/libmkv/tarball/0.6.5.1
Source0: %{name}-%{version}.tar.gz
+
+# From HandBrake sources
+Patch0: A01-hbmv-pgs.patch
+
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: autoconf, automake, libtool
%description
This library is meant to be an alternative to the official libmatroska library.
-It is writen in plain C, and is intended to be very portable.
+It is written in plain C, and is intended to be very portable.
%prep
%setup -q -n saintdev-libmkv-d2906c0
+%patch0 -p1 -b .hbmv_pgm
%build
# bug in autotools requires missing m4 directory
@@ -61,6 +66,10 @@ development files.
%exclude %{_libdir}/libmkv.la
%changelog
+* Thu Mar 13 2014 Bernard Johnson <bjohnson at symetrix.com> - 0.6.5.1-5
+- add patch for Handbrake compile
+- fix spelling error
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list