summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2021-08-20 20:45:11 +0200
committerFlorian Schmaus <flow@gentoo.org>2021-08-20 20:45:14 +0200
commitafe308b1eea84cba66cfba823c61ef588c12d8ac (patch)
tree12e4f13806c58dfbfe5776e6b1678928dda81342 /x11-misc/rofi-file-browser-extended
parentwww-client/chromium: amd64 stable wrt bug #808729 (diff)
downloadgentoo-afe308b1eea84cba66cfba823c61ef588c12d8ac.tar.gz
gentoo-afe308b1eea84cba66cfba823c61ef588c12d8ac.tar.bz2
gentoo-afe308b1eea84cba66cfba823c61ef588c12d8ac.zip
x11-misc/rofi-file-browser-extended: initial import (from ::guru)
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'x11-misc/rofi-file-browser-extended')
-rw-r--r--x11-misc/rofi-file-browser-extended/Manifest1
-rw-r--r--x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.2.0-do-not-install-man-page.patch32
-rw-r--r--x11-misc/rofi-file-browser-extended/metadata.xml8
-rw-r--r--x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0-r2.ebuild41
4 files changed, 82 insertions, 0 deletions
diff --git a/x11-misc/rofi-file-browser-extended/Manifest b/x11-misc/rofi-file-browser-extended/Manifest
new file mode 100644
index 000000000000..c3a86416068a
--- /dev/null
+++ b/x11-misc/rofi-file-browser-extended/Manifest
@@ -0,0 +1 @@
+DIST rofi-file-browser-extended-1.2.0.tar.gz 23560 BLAKE2B bb5637e9a56009949b4241c218a73fdb79cf5065906b7f48874ee64e3d38d4b68a751eec937eededd040086b2560f6e6f92440d9cc0900be3f3dee54a03f8f83 SHA512 74e5adeadaa0322e1d489bda79db58b416553daefbbc353012b82855529875aefd42c53458efe059ee1aa7ea6b7550b791dd56a11c207c5cc6f4ed46d17bdb81
diff --git a/x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.2.0-do-not-install-man-page.patch b/x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.2.0-do-not-install-man-page.patch
new file mode 100644
index 000000000000..410943815ac8
--- /dev/null
+++ b/x11-misc/rofi-file-browser-extended/files/rofi-file-browser-extended-1.2.0-do-not-install-man-page.patch
@@ -0,0 +1,32 @@
+From 47f61ae6b971e71c55788b790146ffe63d64c834 Mon Sep 17 00:00:00 2001
+From: Florian Schmaus <flo@geekplace.eu>
+Date: Tue, 1 Jun 2021 11:05:05 +0200
+Subject: [PATCH] Do not install man page
+
+---
+ CMakeLists.txt | 12 ------------
+ 1 file changed, 12 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5ab8168df336..901de539097e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,15 +28,3 @@ target_link_libraries(filebrowser
+ )
+
+ install(TARGETS filebrowser DESTINATION ${ROFI_PLUGINS_DIR})
+-
+-
+-
+-# Manpage
+-
+-add_custom_command(OUTPUT "doc/rofi-file-browser-extended.1.gz"
+- COMMAND gzip -k "doc/rofi-file-browser-extended.1"
+- COMMENT "Packing manpage")
+-
+-add_custom_target(manpage ALL DEPENDS "doc/rofi-file-browser-extended.1.gz")
+-
+-install(FILES "doc/rofi-file-browser-extended.1.gz" DESTINATION "/usr/share/man/man1")
+--
+2.31.1
+
diff --git a/x11-misc/rofi-file-browser-extended/metadata.xml b/x11-misc/rofi-file-browser-extended/metadata.xml
new file mode 100644
index 000000000000..7a926064dca8
--- /dev/null
+++ b/x11-misc/rofi-file-browser-extended/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>flow@gentoo.org</email>
+ <name>Florian Schmaus</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0-r2.ebuild b/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0-r2.ebuild
new file mode 100644
index 000000000000..a049936302e6
--- /dev/null
+++ b/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A file browser for rofi"
+HOMEPAGE="https://github.com/marvinkreis/rofi-file-browser-extended"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/marvinkreis/${PN}.git"
+else
+ SRC_URI="https://github.com/marvinkreis/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+BDEPEND="virtual/pkgconfig"
+COMMON_DEPEND="
+ dev-libs/glib:2
+ x11-misc/rofi
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-libs/cairo
+"
+RDEPEND="${COMMON_DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-do-not-install-man-page.patch"
+)
+
+src_install() {
+ cmake_src_install
+ doman "doc/${PN}.1"
+}