summary refs log tree commit diff
path: root/x11-misc
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
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')
-rw-r--r--x11-misc/kunst/kunst-9999.ebuild41
-rw-r--r--x11-misc/kunst/metadata.xml8
2 files changed, 49 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}
+}
diff --git a/x11-misc/kunst/metadata.xml b/x11-misc/kunst/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-misc/kunst/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>

Consider giving Nix/NixOS a try! <3