aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbara <anis2834133766619@gmail.com>2023-01-29 14:20:34 +0100
committerNickolas Raymond Kaczynski <nrk@disroot.org>2023-01-29 23:17:32 +0600
commitf6feb803ae1ae0b4a8f87a79c927c2b8f510c567 (patch)
tree4d03da51f59284b6d14ac9da2bd9b1b41f6a9ac2 /app-misc/ani-cli
parentapp-misc/doublecmd-bin: drop old 1.0.8 (diff)
downloadguru-f6feb803ae1ae0b4a8f87a79c927c2b8f510c567.tar.gz
guru-f6feb803ae1ae0b4a8f87a79c927c2b8f510c567.tar.bz2
guru-f6feb803ae1ae0b4a8f87a79c927c2b8f510c567.zip
app-misc/ani-cli: add 4.0 & 9999, drop old
Closes: https://github.com/gentoo/guru/pull/88 Signed-off-by: Med Anis Jbara <med.anis.jbara.2000@gmail.com> Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
Diffstat (limited to 'app-misc/ani-cli')
-rw-r--r--app-misc/ani-cli/Manifest2
-rw-r--r--app-misc/ani-cli/ani-cli-1.9.ebuild26
-rw-r--r--app-misc/ani-cli/ani-cli-4.0.ebuild30
-rw-r--r--app-misc/ani-cli/ani-cli-9999.ebuild30
-rw-r--r--app-misc/ani-cli/metadata.xml4
5 files changed, 65 insertions, 27 deletions
diff --git a/app-misc/ani-cli/Manifest b/app-misc/ani-cli/Manifest
index 4a8836a84..07a979824 100644
--- a/app-misc/ani-cli/Manifest
+++ b/app-misc/ani-cli/Manifest
@@ -1 +1 @@
-DIST ani-cli-1.9.tar.gz 8016229 BLAKE2B 0b4120fb038e8f01f74e5a9c43b665e978e2c47e1b76059d20b364a7cec386e7c3cd3028d4e03ba8ef02bf45ae9df3ee66d896f9be09118736c605110ce3e5dd SHA512 f3fe0109fc3f1d910fa4f621bc056d7c291ed2c0f91b76f9b65fc65925d864d3ab86a6610ec5960cc24a329507ab1fbb054e4304c4ececeb88c2411e66b48452
+DIST ani-cli-4.0.tar.gz 121522 BLAKE2B 0dabe50b90173f8afe228e467bd6e008777e78b16e9f0d38eee1379666ead263d6cf558b5bab56c3be4101ddc6fb63f980d6be3cb8e52af3bb62ee313193b3ea SHA512 8dc8228b775d03d79bc0005c15fb2453845bdc4bf4135c730922fc99fc451da9a289d7c42ac7dfeb5eb636a295ea6a4d583d81e40425c0ec4f92ffd969cac4f8
diff --git a/app-misc/ani-cli/ani-cli-1.9.ebuild b/app-misc/ani-cli/ani-cli-1.9.ebuild
deleted file mode 100644
index 158bada4a..000000000
--- a/app-misc/ani-cli/ani-cli-1.9.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="A cli to browse and watch anime."
-HOMEPAGE="https://github.com/pystardust/ani-cli/"
-SRC_URI="https://github.com/pystardust/$PN/archive/refs/tags/v$PV.tar.gz -> $P.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-video/mpv
- dev-libs/openssl
- net-misc/curl
- media-video/ffmpeg"
-
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_install() {
- dobin ani-cli
-
-}
diff --git a/app-misc/ani-cli/ani-cli-4.0.ebuild b/app-misc/ani-cli/ani-cli-4.0.ebuild
new file mode 100644
index 000000000..da5959a8d
--- /dev/null
+++ b/app-misc/ani-cli/ani-cli-4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A cli to browse and watch anime."
+HOMEPAGE="https://github.com/pystardust/ani-cli"
+if [[ "${PV}" == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/pystardust/ani-cli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ media-video/mpv
+ app-shells/fzf
+ media-video/ffmpeg
+ net-misc/aria2"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+ dobin ani-cli
+ doman ani-cli.1
+}
diff --git a/app-misc/ani-cli/ani-cli-9999.ebuild b/app-misc/ani-cli/ani-cli-9999.ebuild
new file mode 100644
index 000000000..da5959a8d
--- /dev/null
+++ b/app-misc/ani-cli/ani-cli-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A cli to browse and watch anime."
+HOMEPAGE="https://github.com/pystardust/ani-cli"
+if [[ "${PV}" == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/pystardust/ani-cli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ media-video/mpv
+ app-shells/fzf
+ media-video/ffmpeg
+ net-misc/aria2"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+ dobin ani-cli
+ doman ani-cli.1
+}
diff --git a/app-misc/ani-cli/metadata.xml b/app-misc/ani-cli/metadata.xml
index 43410e8d2..e3891e0e6 100644
--- a/app-misc/ani-cli/metadata.xml
+++ b/app-misc/ani-cli/metadata.xml
@@ -5,6 +5,10 @@
<email>j327aq10@anonaddy.me</email>
<description>Primary maintainer</description>
</maintainer>
+<maintainer type="person">
+ <email>med.anis.jbara.2000@gmail.com</email>
+ <description>Primary maintainer</description>
+</maintainer>
<upstream>
<remote-id type="github">pystardust/ani-cli</remote-id>
</upstream>