public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben de Groot" <yngwin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: app-text/coolreader3/
Date: Wed, 14 Nov 2012 09:48:31 +0000 (UTC)	[thread overview]
Message-ID: <1352886414.abdb91a8852ed8d1c17046e087018ffb6f657cdf.yngwin@gentoo> (raw)

commit:     abdb91a8852ed8d1c17046e087018ffb6f657cdf
Author:     Ben de Groot <yngwin <AT> gmail <DOT> com>
AuthorDate: Wed Nov 14 09:46:54 2012 +0000
Commit:     Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Wed Nov 14 09:46:54 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=abdb91a8

app-text/coolreader3: initial commit of live ebuild

ebuild simplified for Qt4 only from bug #269110
it needs more work (e.g. desktop file is invalid)

---
 app-text/coolreader3/coolreader3-9999.ebuild |   36 ++++++++++++++++++++++++++
 app-text/coolreader3/metadata.xml            |    5 +++
 2 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/app-text/coolreader3/coolreader3-9999.ebuild b/app-text/coolreader3/coolreader3-9999.ebuild
new file mode 100644
index 0000000..8df114a
--- /dev/null
+++ b/app-text/coolreader3/coolreader3-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit cmake-utils git-2
+
+DESCRIPTION="ebook reader"
+HOMEPAGE="http://www.coolreader.org/"
+EGIT_REPO_URI="git://crengine.git.sourceforge.net/gitroot/crengine/crengine"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/freetype
+	media-libs/libpng
+	sys-libs/zlib
+	virtual/jpeg
+	x11-libs/qt-core:4
+	x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}
+	virtual/ttf-fonts"
+
+src_prepare() {
+	use amd64 && \
+		sed -e 's/unsigned int/unsigned long/g' -i crengine/src/lvdocview.cpp \
+			|| die 'sed lvdocview.cpp failed'
+}
+
+src_configure() {
+	CMAKE_BUILD_TYPE="Release"
+	mycmakeargs="-D GUI=QT"
+	cmake-utils_src_configure
+}

diff --git a/app-text/coolreader3/metadata.xml b/app-text/coolreader3/metadata.xml
new file mode 100644
index 0000000..3cbebd8
--- /dev/null
+++ b/app-text/coolreader3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>qt</herd>
+</pkgmetadata>


             reply	other threads:[~2012-11-14  9:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14  9:48 Ben de Groot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-29 18:04 [gentoo-commits] proj/qt:master commit in: app-text/coolreader3/ Michael Palimaka
2013-08-06  8:01 Michael Palimaka
2015-03-12 11:41 Ben de Groot
2016-05-04  0:18 Davide Pesavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1352886414.abdb91a8852ed8d1c17046e087018ffb6f657cdf.yngwin@gentoo \
    --to=yngwin@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox