Pipewire 0.3.17

This commit is contained in:
Gerardo J. Puerta
2020-11-27 14:36:32 +01:00
parent 725e924c30
commit d2cf19b47d
17 changed files with 580 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#!/usr/bin/env python3
import json
async def generate(hub, **pkginfo):
github_user = "nextcloud"
github_repo = "desktop"
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"][1:]
url = release["tarball_url"]
break
ebuild = hub.pkgtools.ebuild.BreezyBuild(
**pkginfo,
version=version,
artifacts=[hub.pkgtools.ebuild.Artifact(url=url, final_name=f"nextcloud-desktop-{version}.tar.gz")],
)
ebuild.push()
# vim: ts=4 sw=4 noet