summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-23 12:41:21 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-23 12:41:21 +0000
commit3ead0bd53cbf2781adc5fa01b94ac4542de8d6c3 (patch)
treeba10a9bf05703f8c70c5fef60bbda05ef7c8f081 /app-text
parentAdd USE=+deprecated for gtk2 dependency, add live ebuild for gtk3 development. (diff)
downloadgentoo-2-3ead0bd53cbf2781adc5fa01b94ac4542de8d6c3.tar.gz
gentoo-2-3ead0bd53cbf2781adc5fa01b94ac4542de8d6c3.tar.bz2
gentoo-2-3ead0bd53cbf2781adc5fa01b94ac4542de8d6c3.zip
Add USE=+deprecated for gtk2 dependency, add live ebuild for gtk3 development.
(Portage version: 2.2.0_alpha183/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura-djvu/ChangeLog8
-rw-r--r--app-text/zathura-djvu/metadata.xml3
-rw-r--r--app-text/zathura-djvu/zathura-djvu-9999.ebuild44
3 files changed, 54 insertions, 1 deletions
diff --git a/app-text/zathura-djvu/ChangeLog b/app-text/zathura-djvu/ChangeLog
index 7ff0fd1014f3..c771f130bfdd 100644
--- a/app-text/zathura-djvu/ChangeLog
+++ b/app-text/zathura-djvu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/zathura-djvu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-djvu/ChangeLog,v 1.20 2013/06/19 14:23:51 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-djvu/ChangeLog,v 1.21 2013/06/23 12:41:21 xmw Exp $
+
+*zathura-djvu-9999 (23 Jun 2013)
+
+ 23 Jun 2013; Michael Weber <xmw@gentoo.org> +zathura-djvu-9999.ebuild,
+ metadata.xml:
+ Add USE=+deprecated for gtk2 dependency, add live ebuild for gtk3 development.
19 Jun 2013; Alex Alexander <wired@gentoo.org> metadata.xml:
removed myself from maintainer list
diff --git a/app-text/zathura-djvu/metadata.xml b/app-text/zathura-djvu/metadata.xml
index e21ab424480f..b5f17efa767d 100644
--- a/app-text/zathura-djvu/metadata.xml
+++ b/app-text/zathura-djvu/metadata.xml
@@ -9,6 +9,9 @@
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
+ <use>
+ <flag name="deprecated">Use x11-libs/gtk+:2 instead of x11-libs/gtk+:3</flag>
+ </use>
<upstream>
<maintainer status="active">
<email>mlq@pwmt.org</email>
diff --git a/app-text/zathura-djvu/zathura-djvu-9999.ebuild b/app-text/zathura-djvu/zathura-djvu-9999.ebuild
new file mode 100644
index 000000000000..c47657a93435
--- /dev/null
+++ b/app-text/zathura-djvu/zathura-djvu-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-djvu/zathura-djvu-9999.ebuild,v 1.1 2013/06/23 12:41:21 xmw Exp $
+
+EAPI=5
+
+inherit eutils git-2 toolchain-funcs
+
+DESCRIPTION="DjVu plug-in for zathura"
+HOMEPAGE="http://pwmt.org/projects/zathura/"
+EGIT_REPO_URI="git://git.pwmt.org/${PN}.git"
+EGIT_BRANCH="develop"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS=""
+IUSE="+deprecated"
+
+RDEPEND=">=app-text/djvu-3.5.24-r1
+ >=app-text/zathura-0.2.0[deprecated=]
+ dev-libs/glib:2
+ x11-libs/cairo:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ #does not render w/o cairo
+ myzathuraconf=(
+ WITH_CAIRO=1
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ VERBOSE=1
+ DESTDIR="${D}"
+ )
+}
+
+src_compile() {
+ emake "${myzathuraconf[@]}"
+}
+
+src_install() {
+ emake "${myzathuraconf[@]}" install
+ dodoc AUTHORS
+}