delete not neede pacakge

This commit is contained in:
Mario Fetka
2022-04-05 11:35:23 +02:00
parent 9768c28148
commit 63ee81aee8
5 changed files with 2 additions and 139 deletions

View File

@@ -1,3 +0,0 @@
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

@@ -1,28 +0,0 @@
#!/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

@@ -1,55 +0,0 @@
# 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

@@ -1,52 +0,0 @@
# 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
}