mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
app-editors/notepadqq: Initial commit.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
2
app-editors/notepadqq/Manifest
Normal file
2
app-editors/notepadqq/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST CodeMirror-5.18.2.tar.gz 923001 SHA256 edfccf28e609a08476e9da4f592d7aa23b7e73af3954d90605e0c650abd20a1a SHA512 c979c1ef02bb222b08e64847e5caab9c8a525c96d0eef656a00730d6710b0144144ac656eddef05d50c30c7d33da7dffe1a7580b9d47a5d958af9d6484ea705f WHIRLPOOL 9baaada10513eaad75bb6e8f2d73fd076b85f8a85adec1dc235857ae1f9160d6f463859356d5fce69c882ca4b3a2efc802a62453eb2435f868d9691cb435d73f
|
||||
DIST notepadqq-1.0.1.tar.gz 1056249 SHA256 552f274b9c9d3d48e2e55462f33aea8df8ebd0f421b0d7a23b78a46693fbed34 SHA512 781ddf9960227c4ad21fb7e763180cfed7f1c5c0237277335577932678a42a4c2f303f61922d93ec850dbc86df36c292ff10ae053a6e00d7127a48c7ac4e359c WHIRLPOOL 53f47ce9af83e57121e8ad261aece0eda53bbe42d02edebdfd8ffeb3874146c6ab7d63e2347755ac6a447413f46254c6db7ac7aed8809c4ad1baf5a7e0e586fb
|
||||
11
app-editors/notepadqq/metadata.xml
Normal file
11
app-editors/notepadqq/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">notepadqq/notepadqq</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
55
app-editors/notepadqq/notepadqq-1.0.1.ebuild
Normal file
55
app-editors/notepadqq/notepadqq-1.0.1.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
CM_PV="5.18.2"
|
||||
|
||||
DESCRIPTION="Notepad++-like editor for Linux"
|
||||
HOMEPAGE="http://notepadqq.altervista.org"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/${PN}/CodeMirror/archive/${CM_PV}.tar.gz -> CodeMirror-${CM_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
rmdir "${S}"/src/editor/libs/codemirror || die
|
||||
mv "${WORKDIR}"/CodeMirror-${CM_PV} "${S}"/src/editor/libs/codemirror \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# codemirror releases have no m4 directory
|
||||
sed '/mode\/m4/d' -i src/editor/libs/Makefile-codemirror || die
|
||||
|
||||
# Silence a QA warning
|
||||
sed '/^OnlyShowIn/d' \
|
||||
-i support_files/shortcuts/notepadqq.desktop \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="${EPREFIX}/usr" ${PN}.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 INSTALL_ROOT="${D}" install
|
||||
}
|
||||
Reference in New Issue
Block a user