aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2020-05-18 17:38:46 +0200
committerRonny (tastytea) Gutbrod <gentoo@tastytea.de>2020-05-18 18:00:03 +0200
commite3e2a91415fe8157006142e30ccb0a4302f50da0 (patch)
tree3dd0a4848e9f73dcf37c91896a113dd90b27104b /media-gfx
parentx11-libs/gtk-fortran: 20.04 version bump (diff)
downloadguru-e3e2a91415fe8157006142e30ccb0a4302f50da0.tar.gz
guru-e3e2a91415fe8157006142e30ccb0a4302f50da0.tar.bz2
guru-e3e2a91415fe8157006142e30ccb0a4302f50da0.zip
media-gfx/fontpreview:
media-gfx/fontpreview: New package. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/fontpreview/Manifest1
-rw-r--r--media-gfx/fontpreview/fontpreview-1.0.6.ebuild26
-rw-r--r--media-gfx/fontpreview/metadata.xml15
3 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/fontpreview/Manifest b/media-gfx/fontpreview/Manifest
new file mode 100644
index 000000000..ed8778ce9
--- /dev/null
+++ b/media-gfx/fontpreview/Manifest
@@ -0,0 +1 @@
+DIST fontpreview-1.0.6.tar.gz 6285291 BLAKE2B 9f613016cb7ff981e6b815698f589d229ffe8da383b929e30114ad660ae5f4f83ee6d00520a67e722c229e868e9c96b6c1faded4df6e85793965a86ff4cbcb16 SHA512 4f9d1abf59d75f641d18c9b1161137683ea3a21a4447da7ca67a731a554ece3b483bd0e052a40941775c49172a1aa40b868a6f399f9d322168a45ce9f1059de2
diff --git a/media-gfx/fontpreview/fontpreview-1.0.6.ebuild b/media-gfx/fontpreview/fontpreview-1.0.6.ebuild
new file mode 100644
index 000000000..092e50bd7
--- /dev/null
+++ b/media-gfx/fontpreview/fontpreview-1.0.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Highly customizable and minimal font previewer written in bash"
+HOMEPAGE="https://github.com/sdushantha/fontpreview"
+SRC_URI="https://github.com/sdushantha/fontpreview/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ x11-misc/xdotool
+ app-shells/fzf
+ virtual/imagemagick-tools
+ media-gfx/sxiv
+"
+
+src_prepare() {
+ sed -i 's#install:#install:\n\t@mkdir -p $(DESTDIR)$(BINDIR)#' Makefile \
+ || die "Patching the Makefile failed."
+
+ default
+}
diff --git a/media-gfx/fontpreview/metadata.xml b/media-gfx/fontpreview/metadata.xml
new file mode 100644
index 000000000..aca3543d1
--- /dev/null
+++ b/media-gfx/fontpreview/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@tastytea.de</email>
+ <name>Ronny (tastytea) Gutbrod</name>
+ </maintainer>
+ <longdescription lang="en">
+ fontpreview is a commandline tool that lets you quickly search for fonts
+ that are installed on your machine and preview them.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/sdushantha/fontpreview/issues</bugs-to>
+ </upstream>
+</pkgmetadata>