[packages/tv-lite] - new

baggins baggins at pld-linux.org
Sun Dec 22 02:10:08 CET 2024


commit 5a4e784a22a01e7de01989f7966a19594916d667
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 22 01:15:32 2024 +0100

    - new

 cxx-types.patch | 11 +++++++++++
 tv-lite.spec    | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
---
diff --git a/tv-lite.spec b/tv-lite.spec
new file mode 100644
index 0000000..30747cf
--- /dev/null
+++ b/tv-lite.spec
@@ -0,0 +1,55 @@
+Summary:	Easy to use IPTV, Sopcast, Acestream Player
+Name:		tv-lite
+Version:	0.7.6
+Release:	1
+License:	GPL v2
+Group:		Applications/Multimedia
+Source0:	https://gitlab.com/cburneci/tv-lite/-/archive/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5:	c2cd068b0dcaec49e671da0c8df7f9ee
+Patch0:		cxx-types.patch
+URL:		https://www.tv-lite.com/
+BuildRequires:	curl-devel
+BuildRequires:	gettext
+BuildRequires:	gtk+3-devel
+BuildRequires:	pkgconfig
+BuildRequires:	rapidjson-devel
+BuildRequires:	sqlite3-devel
+BuildRequires:	vlc-devel
+BuildRequires:	wxGTK3-unicode-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+TV-Lite is a IPTV player, with Sopcast and Acestream handling
+capabilities. It uses the well known VLC for displaying media.
+
+%prep
+%setup -q
+%patch -P 0 -p1
+
+%build
+mkdir -p build
+cd build
+%cmake ../src \
+	-DWX_CONFIG=%{_bindir}/wx-gtk3-unicode-config
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang TVLite
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f TVLite.lang
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/TVLite
+%{_datadir}/TVLite/logo.png
+%{_desktopdir}/TVLite.desktop
+%{_pixmapsdir}/TVLite.png
+
diff --git a/cxx-types.patch b/cxx-types.patch
new file mode 100644
index 0000000..63ea9a4
--- /dev/null
+++ b/cxx-types.patch
@@ -0,0 +1,11 @@
+--- tv-lite-0.7.6/src/sopprotocol.h~	2023-04-29 19:43:36.000000000 +0200
++++ tv-lite-0.7.6/src/sopprotocol.h	2024-12-22 00:56:28.183331132 +0100
+@@ -1,6 +1,8 @@
+ #ifndef CSOPPROTOCOL_H
+ #define CSOPPROTOCOL_H
+ 
++#include <cstdint>
++
+ #include "baseprotocol.h"
+ #include "sopthread.h"
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tv-lite.git/commitdiff/5a4e784a22a01e7de01989f7966a19594916d667



More information about the pld-cvs-commit mailing list