Add app-editors/chr
This commit is contained in:
parent
55a2abe0e1
commit
19824556d6
31
app-editors/chr/chr-9999.ebuild
Normal file
31
app-editors/chr/chr-9999.ebuild
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson git-r3
|
||||
|
||||
DESCRIPTION="Console-based editor designed for simplified use like gedit"
|
||||
HOMEPAGE="https://github.com/istoph/editor"
|
||||
EGIT_REPO_URI="https://github.com/istoph/editor.git"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-qt/qtcore-5* dev-libs/icu dev-libs/tuiwidgets dev-libs/posixsignalmanager"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-meson-install.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure
|
||||
}
|
20
app-editors/chr/files/chr-9999-meson-install.patch
Normal file
20
app-editors/chr/files/chr-9999-meson-install.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff --git a/src/meson.build b/src/meson.build
|
||||
index c809a0f..229688e 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -81,10 +81,12 @@ editor_lib = static_library('editor', editor_sources,
|
||||
include_directories: include_directories('.'),
|
||||
dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
|
||||
|
||||
-executable('editor', main,
|
||||
+executable('chr', main,
|
||||
include_directories: include_directories('.'),
|
||||
link_with: editor_lib,
|
||||
- dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep])
|
||||
+ dependencies : [qt5_dep, tuiwidgets_dep, posixsignalmanager_dep],
|
||||
+ install: true,
|
||||
+ install_dir: '/usr/bin/')
|
||||
|
||||
executable('tests', tests,
|
||||
qt5.preprocess(moc_headers: tests_headers, moc_sources: tests,
|
||||
|
11
app-editors/chr/metadata.xml
Normal file
11
app-editors/chr/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ben@rs485.network</email>
|
||||
<name>Benedikt Ziemons</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">istoph/editor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue