From d8622db938b245fecb197cbcf75380032ad5f4ef Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 4 Aug 2023 09:52:42 +0200 Subject: [PATCH 1/3] New package: python3-Nuitka-1.8.1 --- srcpkgs/python3-Nuitka/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-Nuitka/template diff --git a/srcpkgs/python3-Nuitka/template b/srcpkgs/python3-Nuitka/template new file mode 100644 index 0000000000000..cdef83a4dea71 --- /dev/null +++ b/srcpkgs/python3-Nuitka/template @@ -0,0 +1,15 @@ +# Template file for 'python3-Nuitka' +pkgname=python3-Nuitka +version=1.8.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-appdirs python3-tqdm python3-zstandard python3-Jinja2 python3-devel" +short_desc="CPython compatible Python compiler with full language support" +maintainer="Bnyro " +license="Apache-2.0" +homepage="https://nuitka.net" +changelog="https://raw.githubusercontent.com/Nuitka/Nuitka/develop/Changelog.rst" +distfiles="https://github.com/Nuitka/Nuitka/archive/refs/tags/${version}.tar.gz" +checksum=3248c03f7d8539f3a81e94b46c5b017d944ccbbc8a0f4af831b0c9909664d2b8 +make_check=no # tests fail due to test dependencies that are not in the repos From fcb54d8cdb8b3fcf39140b822ab394541528f460 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 4 Aug 2023 10:06:17 +0200 Subject: [PATCH 2/3] New package: python3-mpris_server-0.4.3 --- srcpkgs/python3-mpris_server/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-mpris_server/template diff --git a/srcpkgs/python3-mpris_server/template b/srcpkgs/python3-mpris_server/template new file mode 100644 index 0000000000000..a03bd58d52388 --- /dev/null +++ b/srcpkgs/python3-mpris_server/template @@ -0,0 +1,18 @@ +# Template file for 'python3-mpris_server' +pkgname=python3-mpris_server +version=0.4.3 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-pydbus python3-Unidecode python3-gobject python3-emoji" +short_desc="Adapters to integrate MPRIS support in media player device" +maintainer="Bnyro " +license="AGPL-3.0-only" +homepage="https://github.com/alexdelorenzo/mpris_server/" +distfiles="https://github.com/alexdelorenzo/mpris_server/archive/refs/tags/v${version}.tar.gz" +checksum=b63e7df34f922325afafc9afbc60d827629aa80829cb5dc5cf5c4fbea4bf5d6c +make_check=no # upstream doesn't provide tests, do_check of the python3-module hence fails + +post_install() { + vlicense LICENSE +} From 8095e5c1bfb489baac756a07f8bf56a7be914766 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 4 Aug 2023 09:28:19 +0200 Subject: [PATCH 3/3] New package: monophony-2.1.0 --- srcpkgs/monophony/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/monophony/template diff --git a/srcpkgs/monophony/template b/srcpkgs/monophony/template new file mode 100644 index 0000000000000..fd5ffe84d99da --- /dev/null +++ b/srcpkgs/monophony/template @@ -0,0 +1,24 @@ +# Template file for 'monophony' +pkgname=monophony +version=2.2.0 +revision=1 +build_style=gnu-makefile +hostmakedepends="python3-Nuitka" +depends="libadwaita python3-gobject python3-ytmusicapi python3-mpris_server yt-dlp" +short_desc="Gtk app for streaming music from YouTube" +maintainer="Bnyro " +license="AGPL-3.0-only" +homepage="https://gitlab.com/zehkira/monophony/" +distfiles="https://gitlab.com/zehkira/monophony/-/archive/v${version}/monophony-v${version}.tar.gz" +checksum=b8685d1874b6ba14881d606d10dfc989e1b09587828775ef784c4ffc7032f3f1 +build_wrksrc="source" +nocross="python3-Nuitka doesn't support cross compilation" + +pre_build() { + export CC=gcc +} + +do_install() { + make install prefix="${DESTDIR}/usr" + vlicense LICENSE +}