/[gentoo-x86]/app-text/xournal/xournal-0.4.6-r1.ebuild
Gentoo

Contents of /app-text/xournal/xournal-0.4.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 24 11:08:44 2012 UTC (2 years, 5 months ago) by dilfridge
Branch: MAIN
Add custom ruling / invert colors patch by Jonathan R Young, gi1242, and Witold Piłat, bug 414729; remove old

(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/xournal/xournal-0.4.6.ebuild,v 1.1 2012/06/01 20:13:20 dilfridge Exp $
4
5 EAPI=4
6
7 GCONF_DEBUG=no
8
9 inherit gnome2 autotools
10
11 DESCRIPTION="Xournal is an application for notetaking, sketching, and keeping a journal using a stylus."
12 HOMEPAGE="http://xournal.sourceforge.net/"
13
14 SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz http://dev.gentoo.org/~dilfridge/distfiles/${PN}-${PVR}-gentoo.patch.xz"
15 LICENSE="GPL-2"
16
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="+pdf"
20
21 COMMONDEPEND="
22 app-text/poppler[cairo]
23 dev-libs/atk
24 dev-libs/glib
25 gnome-base/libgnomecanvas
26 media-libs/freetype
27 media-libs/fontconfig
28 sys-libs/zlib
29 x11-libs/cairo
30 x11-libs/gdk-pixbuf
31 x11-libs/gtk+:2
32 x11-libs/pango
33 "
34 RDEPEND="${COMMONDEPEND}
35 pdf? ( app-text/poppler[utils] app-text/ghostscript-gpl )
36 "
37 DEPEND="${COMMONDEPEND}
38 virtual/pkgconfig
39 "
40
41 src_prepare() {
42 epatch "${WORKDIR}"/${PN}-${PVR}-gentoo.patch
43 sed -e "s:n http:n Gentoo release ${PVR}\\\\n http:" -i "${S}"/src/xo-interface.c
44 eautoreconf
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install
49 emake DESTDIR="${D}" desktop-install
50
51 dodoc ChangeLog AUTHORS README
52 dohtml -r html-doc/*
53 }

  ViewVC Help
Powered by ViewVC 1.1.20