summary refs log tree commit diff
path: root/x11-misc/kunst/kunst-9999.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-01-03 23:00:29 +0300
committerAzat Bahawi <azahi@teknik.io>2021-01-03 23:00:37 +0300
commit77479c3588120fa1e7b889dfddf90dc0c96b5648 (patch)
treeb95bc14fa468ead8aa9b365411a0ea5327a28e47 /x11-misc/kunst/kunst-9999.ebuild
parentmeta: Update copyright and refresh manifests (diff)
x11-misc/kunst: Add package
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to 'x11-misc/kunst/kunst-9999.ebuild')
-rw-r--r--x11-misc/kunst/kunst-9999.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-misc/kunst/kunst-9999.ebuild b/x11-misc/kunst/kunst-9999.ebuild
new file mode 100644
index 0000000..eb1e026
--- /dev/null
+++ b/x11-misc/kunst/kunst-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/sdushantha/kunst.git"
+fi
+
+inherit eutils ${SCM}
+
+DESCRIPTION="Download and display album art or display embedded album art"
+HOMEPAGE="https://github.com/sdushantha/kunst"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/sdushantha/kunst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+	|| ( media-gfx/sxiv media-gfx/imv )
+	app-misc/jq
+	app-shells/bash
+	media-sound/mpc
+	media-sound/mpd
+	media-video/ffmpeg
+"
+BDEPEND=""
+
+src_install() {
+	dobin ${PN}
+}

Consider giving Nix/NixOS a try! <3