[omxplayer] Initial import
by Nicolas Chauvet
commit b5d431a32a5465355ff2c309ee2043cbbe5405b4
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jun 9 09:16:28 2021 +0200
Initial import
.gitignore | 1 +
omxplayer.spec | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 181 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..473bf83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+omxplayer-*.tar.gz
diff --git a/omxplayer.spec b/omxplayer.spec
new file mode 100644
index 0000000..4305beb
--- /dev/null
+++ b/omxplayer.spec
@@ -0,0 +1,179 @@
+%global commit_date 20181014
+%global commit_long 7f3faf6cadac913013248de759462bcff92f0102
+%global commit_short %(c=%{commit_long}; echo ${c:0:7})
+
+# taken from known-good patch files
+%global omx_cflags -std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
+%global omx_ldflags -L./ -L %{_libdir}/vc -lc -lbrcmGLESv2 -lbrcmEGL -lbcm_host -lopenmaxil -lfreetype -lz -lasound
+%global omx_includes -I./ -Ilinux -I %{_includedir}/ffmpeg -I %{_includedir}/dbus-1.0 -I %{_libdir}/dbus-1.0/include -I%{_includedir}/freetype2 -isystem%{_includedir}/vc -isystem%{_includedir}/vc/interface/vcos/pthreads
+
+Name: omxplayer
+Version: %{commit_date}
+Release: 3.%{commit_short}%{dist}
+Summary: Raspberry Pi command line OMX player
+License: GPLv2+
+URL: https://github.com/popcornmix/%{name}
+Source0: %{url}/archive/%{commit_long}.tar.gz#/%{name}-%{commit_short}.tar.gz
+Source1: %{name}.desktop
+# Refer: https://github.com/fedberry/omxplayer/blob/master/0004-fix-libs-path.patch
+Patch1: 0004-fix-libs-path.patch
+# Refer https://github.com/fedberry/omxplayer/blob/master/0006-video-group-check....
+Patch2: 0006-video-group-check.patch
+# Refer: https://github.com/popcornmix/omxplayer/issues/649
+Patch3: 0007-Fix-keyboard-input.patch
+# Refer: https://github.com/popcornmix/omxplayer/pull/670
+Patch4: omxplayer-fix-incorrect-fsf-address.patch
+# Refer: https://github.com/popcornmix/omxplayer/pull/671
+Patch5: omxplayer-use-type-p.patch
+
+ExclusiveArch: %{arm}
+
+BuildRequires: boost-devel
+BuildRequires: desktop-file-utils
+BuildRequires: raspberrypi-vc-devel
+BuildRequires: raspberrypi-vc-static
+BuildRequires: ffmpeg-devel
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(libpcre)
+BuildRequires: pkgconfig(libssh)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(smbclient)
+BuildRequires: findutils
+BuildRequires: coreutils
+BuildRequires: sed
+BuildRequires: gcc-c++
+BuildRequires: rubygem-ronn
+
+Requires: fbset
+Requires: gnu-free-sans-fonts
+
+%description
+OMXPlayer is a video player specifically made for the Raspberry Pi's GPU.
+It relies on the OpenMAX hardware acceleration API, which is the Broadcom's
+VideoCore officially supported API for GPU video/audio processing.
+
+
+%package desktop
+Summary: OMXPlayer Desktop Entry specification file
+Requires: lxterminal
+Requires: libnotify
+
+
+%description desktop
+The freedesktop Desktop Entry specification file for OMXPlayer to integrate into
+desktop environments.
+
+
+%prep
+%autosetup -p 1 -n %{name}-%{commit_long}
+
+rm -f Makefile.ffmpeg
+
+# Change all paths /opt/vc -> /usr/lib/vc
+find ./ -type f | xargs sed -i 's!/opt/vc!%{_libdir}/vc!g'
+
+# gen_version.sh assumes we are in a git repo
+sed -i 's!bash gen_version.sh > version.h!!' Makefile
+
+cat > version.h << EOF
+#ifndef __VERSION_H__
+#define __VERSION_H__
+#define VERSION_DATE "%{commit_date}"
+#define VERSION_HASH "%{commit_short}"
+#define VERSION_BRANCH "master"
+#define VERSION_REPO "%{url}"
+#endif
+EOF
+
+# Now update the Makefile with the flags we just set
+sed -ri 's!^CFLAGS=.*!CFLAGS=%{optflags}!' Makefile
+sed -ri 's!^CFLAGS\+=.*!CFLAGS\+=%{omx_cflags}!' Makefile
+sed -ri 's!^LDFLAGS=.*!LDFLAGS=%{omx_ldflags}!' Makefile
+sed -ri 's!^LDFLAGS\+=.*!LDFLAGS\+=%{__global_ldflags}!' Makefile
+sed -ri 's!^INCLUDES\+=.*!INCLUDES\+=%{omx_includes}!' Makefile
+
+# Fix the font path
+sed -i 's!/usr/share/fonts/truetype/freefont!%{_datadir}/fonts/gnu-free!g' omxplayer.cpp
+
+# Fix the bash shebang
+sed -i 's~^#!/bin/bash~#!%{_bindir}/bash~' *.sh omxplayer
+
+%build
+%{make_build} omxplayer.bin STRIP=/bin/true
+# build the manpage with ronn instead of using http://mantastic.herokuapp.com/
+ronn < README.md > omxplayer.1
+
+%install
+%{__install} -d %{buildroot}/%{_bindir}
+%{__install} -p %{name} %{buildroot}/%{_bindir}
+%{__install} -p %{name}.bin %{buildroot}/%{_bindir}
+%{__install} -d %{buildroot}/%{_mandir}/man1
+%{__install} -pm 644 %{name}.1 %{buildroot}/%{_mandir}/man1
+%{__install} -d %{buildroot}/%{_libdir}/%{name}
+%{__install} -d %{buildroot}/%{_datadir}/applications
+%{__install} -p %{SOURCE1} %{buildroot}/%{_datadir}/applications
+
+desktop-file-install \
+ --dir %{buildroot}%{_datadir}/applications \
+ --delete-original \
+ --mode 644 \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%files
+%license COPYING
+%doc README.md
+%{_bindir}/%{name}
+%{_bindir}/%{name}.bin
+%{_mandir}/man1/%{name}.1.*
+
+%files desktop
+%{_datadir}/applications/*.desktop
+
+
+%changelog
+* Sat Dec 22 2018 Andrew Bauer <zonexpertconsulting(a)outlook.com> 20181014-3.7f3faf6
+- Modify file paths in the specfile rather than via patch files
+- Build against ffmpeg pacakge, rather than bundled
+- use ronn to generate man page
+- fix shebang
+- generate version.h
+- use autosetup
+- add patches to fix fsf-address and non-fatal errors shown on the cmdline
+
+* Thu Nov 01 2018 Vaughan Agrez <devel at agrez dot net> 20181014-2.7f3faf6
+- Fix keyboard input for Fedberry 29
+- Re-enable man file generation for f27 & f29
+- Update Requires
+
+* Sun Oct 14 2018 Vaughan Agrez <devel at agrez dot net> 20181014-1.7f3faf6
+- Update to git commit: 7f3faf6cadac913013248de759462bcff92f0102
+- Bump ffmpeg release to 4.0.2
+- Refactor Makefile / Makefile.ffmpeg patches
+- Drop makefile.include patch
+- Disable generation of man file
+- Fix BuildRequires
+
+* Thu Apr 05 2018 Vaughan Agrez <devel at agrez dot net> 20170908-2.037c3c1
+- Bump ffmpeg release to 3.3.6
+- Add desktop file
+- Add video group check (Patch 5)
+
+* Thu Nov 23 2017 Vaughan Agrez <devel at agrez dot net> 20170908-1.037c3c1
+- Update to git commit: 037c3c1eab2601dc1e8fb329c2290eb2380acb3c
+- Bump ffmpeg release to 3.3.5
+- Drop ffmpeg openssl build fixes (merged upstream)
+
+* Tue Jul 25 2017 Vaughan Agrez <devel at agrez dot net> 20170330-3.061425a5
+- Fix building against openssl >= 1.1.0 (Patches 5 & 6)
+- Bump ffmpeg release to 3.1.9
+- Exclude Requires/Provides for bundled libs
+- Use %%{make_build} to build ffmpeg
+- Drop %%post & %%postun sections
+
+* Mon Apr 24 2017 Vaughan Agrez <devel at agrez dot net> 20170330-2.061425a5
+- Add requires for fbset
+
+* Thu Apr 20 2017 Vaughan Agrez <devel at agrez dot net> 20170330-1.061425a5
+- Initial package
diff --git a/sources b/sources
index e69de29..bd1241d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (omxplayer-7f3faf6.tar.gz) = 7d64ca8e09b849950ecceb95d41d9cb376b5ac708baf69deec2a745479b8bf0f4eff0bff4f42e39cdfcbc15a9078cdcea0164f6ea614ff7a6655119c4ba7f81f
3 years, 5 months
[wireguard-kmod/el8] Update to 1.0.20210606
by Nicolas Chauvet
commit 34bb73b01024d4bc21e6a7b8250da149a17f96a5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jun 8 16:36:55 2021 +0200
Update to 1.0.20210606
sources | 2 +-
wireguard-kmod.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sources b/sources
index 0ba94c5..74974d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wireguard-linux-compat-1.0.20210219.tar.xz) = 1a0ef2ed96d7172f7726fb0e6699e2b49409e544c759df981951b7479f3798762761148cbc8eb5697282787aa8c4560e80690ef41711f6ab5c9d0568526762ac
+SHA512 (wireguard-linux-compat-1.0.20210606.tar.xz) = ef8ec9f3d87982bf24b7934d9eabe605391888955110b655baf26867c80b619f549edc5527cbc6098c1f385b977a5b5d580ccaa82129571a64133a40d072c9b6
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index 515347e..5855de0 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -5,7 +5,7 @@
Name: wireguard-kmod
Summary: Kernel module (kmod) for Wireguard
-Version: 1.0.20210219
+Version: 1.0.20210606
Release: 1%{?dist}
License: GPLv2
@@ -71,6 +71,9 @@ done
%changelog
+* Tue Jun 08 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.20210606-1
+- Update to 1.0.20210606
+
* Sun Mar 21 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.20210219-1
- Update to 1.0.20210219
3 years, 5 months
[wireguard-kmod/el8] Revert "Update"
by Nicolas Chauvet
commit bf0c495a98dcf37284987fa14a343a73d28b1276
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jun 8 16:36:24 2021 +0200
Revert "Update"
This reverts commit f08027c0e7c8eeb49649b3015b320c56be01d820.
wireguard-kmod.spec | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index 0739dde..515347e 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -11,7 +11,6 @@ License: GPLv2
URL: https://www.wireguard.com/
Source0: https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-com...
-Patch0: 0001-compat-icmp_ndo_send-functions-were-backported-exten.patch
BuildRequires: kmodtool
%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel, buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
@@ -37,11 +36,7 @@ This package contains the kmod module for WireGuard.
# print kmodtool output for debugging purposes:
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
-%setup -q -c
-
-cd wireguard-linux-compat-%{version}
-%patch0 -p1
-cd -
+%autosetup -c -T -a 0 -p 0
for kernel_version in %{?kernel_versions} ; do
cp -a wireguard-linux-compat-%{version} _kmod_build_${kernel_version%%___*}
3 years, 5 months
[v4l2loopback-kmod/el8] rebuilt
by Nicolas Chauvet
Summary of changes:
b4b8306... rebuilt (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 5 months
[v4l2loopback-kmod] rebuilt
by Nicolas Chauvet
commit b4b8306dcdf6e7d1c541d7a6805f44904abc3279
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jun 8 20:11:31 2021 +0200
rebuilt
v4l2loopback-kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/v4l2loopback-kmod.spec b/v4l2loopback-kmod.spec
index f590869..2805cd9 100644
--- a/v4l2loopback-kmod.spec
+++ b/v4l2loopback-kmod.spec
@@ -8,7 +8,7 @@
Name: %{prjname}-kmod
Summary: Kernel module (kmod) for %{prjname}
Version: 0.12.5
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
URL: https://github.com/umlaeute/v4l2loopback
@@ -66,6 +66,9 @@ done
%changelog
+* Tue Jun 08 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.12.5-4
+- rebuilt
+
* Tue Feb 23 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.12.5-3
- Bump spec
3 years, 5 months
[xtables-addons-kmod/el8] rebuilt
by Nicolas Chauvet
Summary of changes:
9ed59d3... rebuilt (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 5 months
[xtables-addons-kmod] rebuilt
by Nicolas Chauvet
commit 9ed59d3c3c4258309d53f507a745ca1e41271012
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jun 8 20:04:09 2021 +0200
rebuilt
xtables-addons-kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xtables-addons-kmod.spec b/xtables-addons-kmod.spec
index 4b73c6f..1912ccf 100644
--- a/xtables-addons-kmod.spec
+++ b/xtables-addons-kmod.spec
@@ -11,7 +11,7 @@
Name: xtables-addons-kmod
Summary: Kernel module (kmod) for xtables-addons
Version: 3.18
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
URL: https://inai.de/projects/xtables-addons/
Source0: https://inai.de/files/xtables-addons/xtables-addons-%{version}.tar.xz
@@ -68,6 +68,9 @@ done
%{?akmod_install}
%changelog
+* Tue Jun 08 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 3.18-2
+- rebuilt
+
* Sun Mar 21 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.18-1
- Release 3.18
3 years, 5 months
[qmmp-plugins-freeworld] version bump to 1.5.0
by Karel Volný
commit 8222c144adaeb4c43fc90b85eb060a1abe07c814
Author: Karel Volný <kvolny(a)redhat.com>
Date: Tue Jun 8 19:48:45 2021 +0200
version bump to 1.5.0
.gitignore | 1 +
qmmp-plugins-freeworld.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 05f82c5..0ddfb40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@ qmmp-0.9.6.tar.bz2
/qmmp-1.4.4.tar.bz2
/qmmp-1.4.5.tar.bz2
/qmmp-1.4.6.tar.bz2
+/qmmp-1.5.0.tar.bz2
diff --git a/qmmp-plugins-freeworld.spec b/qmmp-plugins-freeworld.spec
index 2d6d3ca..c86583b 100644
--- a/qmmp-plugins-freeworld.spec
+++ b/qmmp-plugins-freeworld.spec
@@ -1,5 +1,5 @@
Name: qmmp-plugins-freeworld
-Version: 1.4.6
+Version: 1.5.0
Release: 1%{?dist}
Summary: Plugins for qmmp (Qt-based multimedia player)
@@ -170,6 +170,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-ffmpeg-enque
%changelog
+* Tue Jun 08 2021 Karel Volný <kvolny(a)redhat.com> 1.5.0-1
+- version bump to 1.5.0
+
* Wed May 12 2021 Karel Volný <kvolny(a)redhat.com> 1.4.6-1
- version bump to 1.4.6
diff --git a/sources b/sources
index 2955bce..7fac15e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qmmp-1.4.6.tar.bz2) = dca9d06763be6ded45db14a5e8967e9bd8eebc14e5ec7b077171417e942d61a904ecd1944b8d80deecfb642248663739c3e1784449a10466475deb6e575ea7dc
+SHA512 (qmmp-1.5.0.tar.bz2) = b8a29bf6b2f6da08e1ff2801c973821663570de436562ba79b40212b8b8522f0e25ea79c941bfacf252904851ed477cbfa66d7f145b172f93a105127894d5e04
3 years, 5 months