-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2827 fix rpm conflicts with other repositories providing x264 or ffmpeg
git-svn-id: https://xpra.org/svn/Xpra/trunk@26905 3bb7dfac-3a0b-4e04-842a-767bc560f471
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,23 @@ | |
%global real_name ffmpeg | ||
Name: ffmpeg-xpra | ||
Version: 4.3 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
Summary: ffmpeg libraries for xpra | ||
|
||
Group: Applications/Multimedia | ||
License: GPL | ||
URL: http://www.ffmpeg.org | ||
Source0: http://www.ffmpeg.org/releases/ffmpeg-%{version}.tar.xz | ||
BuildRoot: %(mktemp -ud %{_tmppath}/%{real_name}-%{version}-%{release}-XXXXXX) | ||
AutoProv: 0 | ||
AutoReq: 0 | ||
|
||
BuildRequires: x264-xpra-devel | ||
BuildRequires: libva-devel | ||
BuildRequires: yasm | ||
|
||
#%global __requires_exclude ^libx264.so.*$ | ||
|
||
|
||
%description | ||
ffmpeg libraries for xpra | ||
|
@@ -26,6 +30,8 @@ Summary: Development package for %{real_name} | |
Group: Development/libraries | ||
Requires: %{name} = %{version}-%{release} | ||
Requires: pkgconfig | ||
Requires: ffmpeg-xpra = %{version} | ||
AutoReq: 0 | ||
|
||
%description devel | ||
This package contains the development files for %{name}. | ||
|
@@ -164,6 +170,10 @@ rm -rf %{buildroot} | |
|
||
|
||
%changelog | ||
* Mon Jul 06 2020 Antoine Martin <[email protected]> 4.3-2 | ||
- rebuild against 10-bit x264 | ||
- remove autoreq / autoprov | ||
|
||
* Wed Jun 17 2020 Antoine Martin <[email protected]> 4.3-1 | ||
- new upstream release | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
%define _build_id_links none | ||
|
||
Name: x264-xpra | ||
Version: 20200510 | ||
%define SNAPSHOTTYPE -stable | ||
Version: 20200706 | ||
%if 0%{?beta} < 1 | ||
Release: 1%{?dist} | ||
%else | ||
|
@@ -13,8 +12,9 @@ Summary: x264 library for xpra | |
Group: Applications/Multimedia | ||
License: GPL | ||
URL: http://www.videolan.org/developers/x264.html | ||
Source0: http://download.videolan.org/pub/x264/snapshots/x264-snapshot-%{version}-2245%{?SNAPSHOTTYPE}.tar.bz2 | ||
Source0: http://download.videolan.org/pub/x264/snapshots/x264-%{version}.tar.bz2 | ||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | ||
AutoProv: 0 | ||
|
||
BuildRequires: yasm | ||
|
||
|
@@ -35,13 +35,15 @@ Summary: Development files for the x264 library | |
Group: Development/libraries | ||
Requires: %{name} = %{version} | ||
Requires: pkgconfig | ||
Requires: x264-xpra = %{version} | ||
AutoReq: 0 | ||
|
||
%description devel | ||
This package contains the development files for %{name}. | ||
|
||
|
||
%prep | ||
%setup -q -n x264-snapshot-%{version}-2245%{?SNAPSHOTTYPE} | ||
%setup -q -n x264-master | ||
|
||
|
||
%build | ||
|
@@ -59,8 +61,9 @@ make %{?_smp_mflags} | |
rm -rf %{buildroot} | ||
make install DESTDIR=%{buildroot} | ||
|
||
# remove executable | ||
# remove executable and bash completion: | ||
rm %{buildroot}/usr/bin/x264 | ||
rm %{buildroot}/usr/share/bash-completion/completions/x264 | ||
|
||
%post -p /sbin/ldconfig | ||
%postun -p /sbin/ldconfig | ||
|
@@ -82,6 +85,10 @@ rm -rf %{buildroot} | |
%{_libdir}/xpra/pkgconfig/x264.pc | ||
|
||
%changelog | ||
* Mon Jul 06 2020 Antoine Martin <[email protected]> 20200706-1 | ||
- use a newer snapshot | ||
- remove autoreq / autoprov | ||
|
||
* Mon May 11 2017 Antoine Martin <[email protected]> 20200510-1 | ||
- use a newer snapshot | ||
|
||
|