Skip to content

Commit

Permalink
app-editors/ghostwriter: new ebuild
Browse files Browse the repository at this point in the history
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
suhr authored and monsieurp committed Feb 24, 2016
1 parent 47949d4 commit 641785a
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-editors/ghostwriter/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST ghostwriter-1.2.5.tar.gz 508173 SHA256 4bf0f9450231504416037e4a667d8c8e2940bda0e03e624ba9bb2eda78a7937b SHA512 195e984dc6109a4fedacf92e2e78ec81fee76c1edc701c12afa82aafaed73f90d6a008ac21a4338636235b1d161fc22ad94fee3c8873b85135728c67e63c0260 WHIRLPOOL c172d4cdc2c30faa993242b981b873edf19d58ef060d6c22da4b01fdaee37f756b34a9c6288dec7131a9082b6acd93c8edcecbd365f8a141996e719a773c86e9
40 changes: 40 additions & 0 deletions app-editors/ghostwriter/ghostwriter-1.2.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit qmake-utils

DESCRIPTION="A cross-platform, aesthetic, distraction-free Markdown editor"
HOMEPAGE="http://wereturtle.github.io/ghostwriter/"
SRC_URI="https://github.com/wereturtle/ghostwriter/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="qt5"

DEPEND="
qt5? (
dev-qt/qtprintsupport:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
dev-qt/qtconcurrent:5
)
!qt5? ( dev-qt/qtwebkit:4 )
"
RDEPEND="${DEPEND}"

src_compile() {
if use qt5
then eqmake5 "PREFIX=/usr"
else eqmake4 "PREFIX=/usr"
fi

emake
}

src_install() {
emake INSTALL_ROOT="${D}" install
}
9 changes: 9 additions & 0 deletions app-editors/ghostwriter/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Сухарик</name>
<description>Proxied maintainer</description>
</maintainer>
</pkgmetadata>

0 comments on commit 641785a

Please sign in to comment.