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 /media-tv/tv-lite/tv-lite-0.7.6.ebuild | |
parent | 8efeb99ef599df915827995bf508ece1903afcf9 (diff) |
media-tv/tv-lite : new package
Diffstat (limited to 'media-tv/tv-lite/tv-lite-0.7.6.ebuild')
-rw-r--r-- | media-tv/tv-lite/tv-lite-0.7.6.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
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 +} |