* [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/rofi-file-browser-extended/files/, x11-misc/rofi-file-browser-extended/
@ 2021-06-01 9:13 Florian Schmaus
0 siblings, 0 replies; only message in thread
From: Florian Schmaus @ 2021-06-01 9:13 UTC (permalink / raw
To: gentoo-commits
commit: b17340236b073c65576234135baf82e92c45c84c
Author: Florian Schmaus <flo <AT> geekplace <DOT> eu>
AuthorDate: Tue Jun 1 09:13:05 2021 +0000
Commit: Florian Schmaus <flo <AT> geekplace <DOT> eu>
CommitDate: Tue Jun 1 09:13:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1734023
x11-misc/rofi-file-browser-extended: initial import
Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu>
x11-misc/rofi-file-browser-extended/Manifest | 1 +
...er-extended-1.2.0-do-not-install-man-page.patch | 32 ++++++++++++++++++++++
x11-misc/rofi-file-browser-extended/metadata.xml | 8 ++++++
.../rofi-file-browser-extended-1.2.0.ebuild | 32 ++++++++++++++++++++++
4 files changed, 73 insertions(+)
diff --git a/x11-misc/rofi-file-browser-extended/Manifest b/x11-misc/rofi-file-browser-extended/Manifest
new file mode 100644
index 000000000..c3a864160
--- /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 000000000..410943815
--- /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 000000000..bdf5f6f4f
--- /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>flo@geekplace.eu</email>
+ <name>Florian Schmaus</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0.ebuild b/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0.ebuild
new file mode 100644
index 000000000..bb436a89e
--- /dev/null
+++ b/x11-misc/rofi-file-browser-extended/rofi-file-browser-extended-1.2.0.ebuild
@@ -0,0 +1,32 @@
+# 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=""
+
+RDEPEND="x11-misc/rofi"
+
+PATCHES=(
+ "${FILESDIR}/${P}-do-not-install-man-page.patch"
+)
+
+src_install() {
+ cmake_src_install
+ doman "doc/${PN}.1"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-01 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-01 9:13 [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/rofi-file-browser-extended/files/, x11-misc/rofi-file-browser-extended/ Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox