back to updates

This commit is contained in:
Mario Fetka
2021-06-30 18:45:43 +02:00
parent 7576f0a9e2
commit 701156bcf9
103 changed files with 2590 additions and 688 deletions

View File

@@ -0,0 +1,3 @@
DIST hypnotix_1.1_all.deb 2196292 BLAKE2B a6a80f7af6136f8c509310405ec68c753d6495a38acfbca07c50c8d00bb503242677f6420fcc7f34eff4a747801ee3c8ea660d991261f4d56e3808f291389050 SHA512 e694f01279b65cfe7017466b0a224b32cf108bdf648a74e20050445f62b61e9d401434640b6537c88244fa560c67b570ef972278608769273edfbb00d30cda00
EBUILD hypnotix-bin-1.1.ebuild 1105 BLAKE2B e2e42b5505478d84b42b8d63f6fda60750e5475255f0b3c5224e4a8ebe9f8fd519f272feff5e4d443715bbc8fb8907baa03e33cbb7d399ed54fb8d1219f46359 SHA512 0c91ebd04ca61fde574676f742cafc071e279a18e1e883baa5e3399ba45ab19e1cc0d992c9931460b38fd28aaf6071ba54769818821afe177bff4833f35958ba
MISC autogen.py 765 BLAKE2B 408d4ad379416b81953b65ecb41522d6e2cda67e4bdd58f4f60ad2d270900cc27320db50a485e308014eb951490940c515d621746e65102f36027927dc6f05f9 SHA512 dcf1e376dc2eacaa1216ea4dbe97e942f973f4c3cb1f165c6f29eff254c8359fe26dc1107d88754e688249a2d9a96312ac5da38ce9403a41b8e04ed6ac81201a

View File

@@ -0,0 +1,28 @@
#!/usr/bin/env python3
import json
async def generate(hub, **pkginfo):
python_compat = "python3+"
github_user = "linuxmint"
github_repo = "hypnotix"
app = pkginfo["name"]
json_list = await hub.pkgtools.fetch.get_page(
f"https://api.github.com/repos/{github_user}/{github_repo}/releases", is_json=True
)
for release in json_list:
if release["prerelease"] or release["draft"]:
continue
version = release["tag_name"].lstrip("v")
url = f"https://github.com/linuxmint/hypnotix/releases/download/{version}/hypnotix_{version}_all.deb"
break
ebuild = hub.pkgtools.ebuild.BreezyBuild(
**pkginfo,
version=version,
artifacts=[hub.pkgtools.ebuild.Artifact(url=url, final_name=f"{app}-{version}.tar.gz")],
)
ebuild.push()
# vim: ts=4 sw=4 noet

View File

@@ -0,0 +1,55 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop eutils pax-utils xdg unpacker gnome2-utils unpacker
DESCRIPTION="Hypnotix is an IPTV streaming application with support for live TV, movies and series."
HOMEPAGE="https://github.com/linuxmint/hypnotix/"
GITHUB_REPO="linuxmint"
GITHUB_USER="hypnotix"
GITHUB_TAG="$P"
SRC_URI="https://github.com/linuxmint/hypnotix/releases/download/1.1/hypnotix_1.1_all.deb"
RESTRICT="bindist mirror"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
RDEPEND="
>=dev-libs/glib-2.44
dev-python/imdbpy
>=media-video/mpv-0.27[libmpv]
>=x11-libs/gtk+-3.22.23:3
"
src_unpack() {
unpack_deb ${A}
}
src_prepare() {
default
}
src_install() {
fperms +x usr/bin/hypnotix
insinto /
doins -r .
fperms +x /usr/bin/hypnotix
fperms +x /usr/lib/hypnotix/hypnotix.py
}
pkg_postinst() {
gnome2_schemas_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
xdg_desktop_database_update
}

View File

@@ -0,0 +1,52 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop eutils pax-utils xdg unpacker gnome2-utils
DESCRIPTION="Hypnotix is an IPTV streaming application with support for live TV, movies and series."
HOMEPAGE="https://github.com/linuxmint/hypnotix/"
GITHUB_REPO="linuxmint"
GITHUB_USER="hypnotix"
GITHUB_TAG="$P"
SRC_URI="{{artifacts[0].src_uri}}"
RESTRICT="bindist mirror"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
RDEPEND="
>=dev-libs/glib-2.44
dev-python/imdbpy
dev-python/xapp
>=media-video/mpv-0.27[libmpv]
>=x11-libs/gtk+-3.22.23:3
"
src_prepare() {
default
}
src_install() {
fperms +x usr/bin/hypnotix
insinto /
doins -r .
fperms +x /usr/bin/hypnotix
fperms +x /usr/lib/hypnotix/hypnotix.py
}
pkg_postinst() {
gnome2_schemas_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
xdg_desktop_database_update
}

View File

@@ -0,0 +1,3 @@
DIST otrdecoder-bin-linux-Ubuntu_8.04.2-x86_64-0.4.614.tar.bz2 499608 BLAKE2B 8bd1bf5267ae1c9b1b6cf59f1a7862d182c5a161bdb3c8e36deb249a2d03d636a651fd01273f1892748f258c9fe11ddd2b6f9549abe3b867c1fa14915259d370 SHA512 ae18ecbb9d50118be63dd7701cb479cad226ba1a30f7549f7388721457343b7405eb44cc55421ed45d6a8ad274ab4ff5b9163bd0e3f9a074407e67f24b7f7cd8
DIST otrdecoder-bin-linux-Ubuntu_9.04-i686-0.4.593.tar.bz2 476946 BLAKE2B 5453d2375875e277174de3eaf8741e6cca8be4f7908026faee0b137ad3d24c113bfbbed7efc384b91ecd58496d73b1fbbfd7bba71fd09700fbb3c1663a882f22 SHA512 07d1e4d3c5e93b5fc0c0a8366f17b031d8a910bfe241e325cbbc3ca5cfdf0ad7ca2d408a048758c255d64f3a843cf60e44679aeb873a40ddb1e36f3aacac7536
EBUILD otrdecoder-bin-0.4.614.ebuild 982 BLAKE2B 9e3d31c2889fde0979fa35b4bd69fc56c934fa5b2c18ef74722a7719a947c559c320b6aea652a78e5ee958513b8e382c5647b0a1bc822a58389d35dd57b5a9ed SHA512 864c82dd4857da9a956cfaceae9a166564f1272335720c433b43e98233b1c4e2f9237c252ef330380ccbbf0138f7d7830ead4bb2a4358355fcd185d92c3282db

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
DESCRIPTION="Decoder for onlinetvrecorder.com (German)"
HOMEPAGE="http://www.onlinetvrecorder.com/"
SRC_URI="amd64? ( http://www.onlinetvrecorder.com/downloads/${PN}-linux-Ubuntu_8.04.2-x86_64-0.4.614.tar.bz2 )
x86? ( http://www.onlinetvrecorder.com/downloads/${PN}-linux-Ubuntu_9.04-i686-0.4.593.tar.bz2 )"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86 -*"
IUSE="X"
RDEPEND="X? ( gnome-base/libglade
dev-python/pygtk )"
RESTRICT="strip"
src_unpack() {
default
mv ${PN}-linux-Ubuntu_* "${S}" || die
}
src_prepare() {
sed -i -e "/xml/s:decoderpath:'/usr/share/${PN}':" otrdecoder-gui || die "sed failed"
}
src_install() {
dobin otrdecoder || die "dobin failed"
if use X; then
insinto /usr/share/${PN}
doins decoder.glade || die "doins failed"
dobin otrdecoder-gui || die "dobin failed"
fi
dodoc README.OTR || die "dodoc failed"
}