Gentoo Archives: gentoo-commits

From: Jonas Frei <freijon@××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/dzr/
Date: Wed, 30 Mar 2022 12:02:05
Message-Id: 1648641697.e2d58724cfab715075add5191303595416881051.freijon@gentoo
1 commit: e2d58724cfab715075add5191303595416881051
2 Author: Jonas Frei <freijon <AT> pm <DOT> me>
3 AuthorDate: Wed Mar 30 12:01:37 2022 +0000
4 Commit: Jonas Frei <freijon <AT> pm <DOT> me>
5 CommitDate: Wed Mar 30 12:01:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2d58724
7
8 media-sound/dzr: Initial commit
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Jonas Frei <freijon <AT> pm.me>
12
13 media-sound/dzr/Manifest | 1 +
14 media-sound/dzr/dzr-220309.ebuild | 37 +++++++++++++++++++++++++++++++++++++
15 media-sound/dzr/metadata.xml | 12 ++++++++++++
16 3 files changed, 50 insertions(+)
17
18 diff --git a/media-sound/dzr/Manifest b/media-sound/dzr/Manifest
19 new file mode 100644
20 index 000000000..bbb54a8e9
21 --- /dev/null
22 +++ b/media-sound/dzr/Manifest
23 @@ -0,0 +1 @@
24 +DIST 220309.tar.gz 5231 BLAKE2B 0e315e5def6e702c0d4c31786a30e431f23d428830653af90467fe1e9cb6e7cdea8f721918bcb60589e22ded89b624a20374b009a0e77318fe3c898feef7857c SHA512 b30fc2a7077bff62b4024f403a4a8549b97c9c06caea342145e0008e35ac78a14b5153a7440912b161a87f82e989ea01d10d6c77db521ead9507184193091f12
25
26 diff --git a/media-sound/dzr/dzr-220309.ebuild b/media-sound/dzr/dzr-220309.ebuild
27 new file mode 100644
28 index 000000000..bf4348225
29 --- /dev/null
30 +++ b/media-sound/dzr/dzr-220309.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DESCRIPTION="DZR: the command line deezer.com player"
38 +HOMEPAGE="https://github.com/yne/dzr"
39 +SRC_URI="https://github.com/yne/${PN}/archive/refs/tags/${PV}.tar.gz"
40 +
41 +LICENSE="Unlicense"
42 +SLOT="0"
43 +KEYWORDS="~amd64"
44 +
45 +DEPEND="
46 + app-misc/jq[oniguruma]
47 + dev-libs/openssl
48 + dev-util/dialog
49 + media-video/mpv
50 + net-misc/curl
51 +"
52 +RDEPEND="${DEPEND}"
53 +BDEPEND=""
54 +
55 +src_install() {
56 + exeinto /usr/bin
57 + doexe dzr
58 + doexe dzr-dec
59 + doexe dzr-url
60 + default
61 +}
62 +
63 +pkg_postinst() {
64 + einfo "WARNING: For legal reasons this project"
65 + einfo "does not contain the track decryption key."
66 + einfo "Please read the following guide first:"
67 + einfo "https://github.com/yne/dzr/wiki#find-the-dzr_cbc-key"
68 +}
69
70 diff --git a/media-sound/dzr/metadata.xml b/media-sound/dzr/metadata.xml
71 new file mode 100644
72 index 000000000..7e2cdcbe1
73 --- /dev/null
74 +++ b/media-sound/dzr/metadata.xml
75 @@ -0,0 +1,12 @@
76 +<?xml version="1.0" encoding="UTF-8"?>
77 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
78 +<pkgmetadata>
79 + <maintainer type="person">
80 + <name>Jonas Frei</name>
81 + <email>freijon@××.me</email>
82 + </maintainer>
83 + <upstream>
84 + <remote-id type="github">yne/dzr</remote-id>
85 + <bugs-to>https://github.com/yne/dzr/issues</bugs-to>
86 + </upstream>
87 +</pkgmetadata>