diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-09 18:22:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-09 18:22:08 +0000 |
commit | 33e6a9c65627177f4cbc55a0bd2f96261e301053 (patch) | |
tree | ed39464fc52204333de6015e4268f250a6a0e339 | |
parent | 8efeb99ef599df915827995bf508ece1903afcf9 (diff) |
media-tv/tv-lite : new package
-rw-r--r-- | media-tv/tv-lite/Manifest | 1 | ||||
-rw-r--r-- | media-tv/tv-lite/files/tv-lite-0.7.6-desktopfile-qa.patch | 11 | ||||
-rw-r--r-- | media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch | 44 | ||||
-rw-r--r-- | media-tv/tv-lite/tv-lite-0.7.6.ebuild | 55 | ||||
-rw-r--r-- | metadata/md5-cache/media-tv/tv-lite-0.7.6 | 16 | ||||
-rw-r--r-- | metadata/pkg_desc_index | 1 |
6 files changed, 128 insertions, 0 deletions
diff --git a/media-tv/tv-lite/Manifest b/media-tv/tv-lite/Manifest new file mode 100644 index 00000000..dc76600a --- /dev/null +++ b/media-tv/tv-lite/Manifest @@ -0,0 +1 @@ +DIST tv-lite-0.7.6.tar.gz 307748 BLAKE2B e9f8210d926e45f9a73c690345c6fba2329fefff218936f3beb22d2c9183c6bdb0f34e4c684acbb8b813f690f51b8b8916532231ae7702e6d7edc7cdbf8f09e8 SHA512 c6bd9ea0bf1aaa09589022337e3152f2eb171ca0e7ae7dad1a8a13bd8209eb8e6df26db37e0dac447d103a22238efe8dd55ced912aab6ad05467f765538ccab0 diff --git a/media-tv/tv-lite/files/tv-lite-0.7.6-desktopfile-qa.patch b/media-tv/tv-lite/files/tv-lite-0.7.6-desktopfile-qa.patch new file mode 100644 index 00000000..74750e12 --- /dev/null +++ b/media-tv/tv-lite/files/tv-lite-0.7.6-desktopfile-qa.patch @@ -0,0 +1,11 @@ +diff -Nur a/TVLite.desktop b/src/TVLite.desktop +--- a/TVLite.desktop 2023-04-29 18:43:36.000000000 +0100 ++++ b/TVLite.desktop 2024-02-09 16:24:10.638330476 +0000 +@@ -2,7 +2,6 @@ + Type=Application + Encoding=UTF-8 + Name=TV-Lite +-Type=Application + Categories=AudioVideo + Comment=TV online viewer + Comment[hr]=Mrežni TV preglednik diff --git a/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch b/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch new file mode 100644 index 00000000..25d31362 --- /dev/null +++ b/media-tv/tv-lite/files/tv-lite-0.7.6-sopprotocol.patch @@ -0,0 +1,44 @@ +diff -Nur a/sopprotocol.cpp b/sopprotocol.cpp +--- a/sopprotocol.cpp 2023-04-29 18:43:36.000000000 +0100 ++++ b/sopprotocol.cpp 2024-02-09 16:14:43.390296277 +0000 +@@ -52,7 +52,7 @@ + + /////////////////////////////////////////////////////////////////////////// + +-void CSopProtocol::SetProtoPort(uint32_t port) ++void CSopProtocol::SetProtoPort(wxInt32 port) + { + m_protoport = port; + }; +@@ -66,7 +66,7 @@ + + /////////////////////////////////////////////////////////////////////////// + +-void CSopProtocol::SetPlayerPort(uint32_t port) ++void CSopProtocol::SetPlayerPort(wxInt32 port) + { + m_playerport = port; + }; +diff -Nur a/sopprotocol.h b/sopprotocol.h +--- a/sopprotocol.h 2023-04-29 18:43:36.000000000 +0100 ++++ b/sopprotocol.h 2024-02-09 16:14:32.763295637 +0000 +@@ -31,15 +31,15 @@ + void SetCmd(wxString cmd); + + int GetProtoport(); +- void SetProtoPort(uint32_t port); ++ void SetProtoPort(wxInt32 port); + + int GetPlayerPort(); +- void SetPlayerPort(uint32_t port); ++ void SetPlayerPort(wxInt32 port); + + + private: +- uint32_t m_playerport; +- uint32_t m_protoport; ++ wxInt32 m_playerport; ++ wxInt32 m_protoport; + long m_protopid; + int SearchSop(wxString &cmd); + diff --git a/media-tv/tv-lite/tv-lite-0.7.6.ebuild b/media-tv/tv-lite/tv-lite-0.7.6.ebuild new file mode 100644 index 00000000..7228c6db --- /dev/null +++ b/media-tv/tv-lite/tv-lite-0.7.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 2024 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="IPTV viewer with Sopcast and Acestream handling capabilities." +HOMEPAGE="http://tv-lite.com" +SRC_URI="https://gitlab.com/cburneci/${PN}/-/archive/${PV}/${P}.tar.gz" + +LICENSE="GPLv2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="gtk +gtk3 sopcast" +REQUIRED_USE="^^ ( gtk gtk3 )" + +DEPEND=" + dev-libs/rapidjson + " +RDEPEND="${DEPEND} + dev-db/sqlite + media-video/vlc + net-misc/curl + sys-apps/util-linux + gtk? ( x11-libs/wxGTK:3.0 ) + gtk3? ( + || ( + x11-libs/wxGTK:3.2-gtk3 + x11-libs/wxGTK:3.0-gtk3 + ) + ) + sopcast? ( media-tv/sopcast ) + " +BDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/"${P}"-sopprotocol.patch + "${FILESDIR}"/"${P}"-desktopfile-qa.patch +) + +S="${WORKDIR}/${P}/src" + +src_configure() { + local mycmakeargs=( + -DWX_CONFIG=wx-config + ) + if use gtk; then + local mycmakeargs+=( + -DGTKVER=gtk+-2.0 + ) + fi + cmake_src_configure +} diff --git a/metadata/md5-cache/media-tv/tv-lite-0.7.6 b/metadata/md5-cache/media-tv/tv-lite-0.7.6 new file mode 100644 index 00000000..34be7837 --- /dev/null +++ b/metadata/md5-cache/media-tv/tv-lite-0.7.6 @@ -0,0 +1,16 @@ +BDEPEND=dev-libs/rapidjson app-alternatives/ninja >=dev-build/cmake-3.20.5 +DEFINED_PHASES=compile configure install prepare test +DEPEND=dev-libs/rapidjson +DESCRIPTION=IPTV viewer with Sopcast and Acestream handling capabilities. +EAPI=8 +HOMEPAGE=http://tv-lite.com +INHERIT=cmake +IUSE=gtk +gtk3 sopcast +KEYWORDS=~amd64 +LICENSE=GPLv2 +RDEPEND=dev-libs/rapidjson dev-db/sqlite media-video/vlc net-misc/curl sys-apps/util-linux gtk? ( x11-libs/wxGTK:3.0 ) gtk3? ( || ( x11-libs/wxGTK:3.2-gtk3 x11-libs/wxGTK:3.0-gtk3 ) ) sopcast? ( media-tv/sopcast ) +REQUIRED_USE=^^ ( gtk gtk3 ) +SLOT=0 +SRC_URI=https://gitlab.com/cburneci/tv-lite/-/archive/0.7.6/tv-lite-0.7.6.tar.gz +_eclasses_=cmake c7c9a62d6232cac66d4ea32d575c3e7c flag-o-matic b2b07efa51009704f88173b2c7feab47 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 xdg-utils baea6080dd821f5562d715887954c9d3 +_md5_=dd241935e37888e94a481e7fc4630b07 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 7768cde6..b50cedff 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -38,6 +38,7 @@ media-libs/portsmf 239-r1: The Tenacity fork of PortSMF, a Standard MIDI File li media-sound/cantata 2.5.0-r10: Featureful and configurable Qt client for the music player daemon (MPD) media-sound/strawberry 1.0.23-r10: Modern music player and library organizer based on Clementine and Qt media-tv/sopcast 3.2.6-r4: SopCast free P2P Internet TV binary +media-tv/tv-lite 0.7.6: IPTV viewer with Sopcast and Acestream handling capabilities. media-video/guvcview 2.0.6-r10: Simple Qt5 or GTK+3 interface for capturing and viewing video from v4l2 devices net-dialup/rp-pppoe 4.0-r5: A user-mode PPPoE client and server suite for Linux net-misc/warpinator 1.8.3-r1: Share files across the LAN |