/[gentoo-x86]/app-text/xournal/xournal-0.4.5_p20111022-r2.ebuild
Gentoo

Contents of /app-text/xournal/xournal-0.4.5_p20111022-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jun 24 11:03:29 2012 UTC (2 years, 2 months ago) by dilfridge
Branch: MAIN
Changes since 1.4: +3 -1 lines
Fix underlinking and automake strangeness, bug 423285

(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.5_p20111022-r2.ebuild,v 1.4 2012/06/18 18:40:20 ago 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}-patchset.tar.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}"/0*.patch
43 epatch "${FILESDIR}/${P}-underlinking-2.patch"
44 sed -e "s:n http:n Gentoo release ${PVR}\\\\n http:" -i "${S}"/src/xo-interface.c
45 rm -f "${S}/aclocal.m4" # bug 423285
46 eautoreconf
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install
51 emake DESTDIR="${D}" desktop-install
52
53 dodoc ChangeLog AUTHORS README
54 dohtml -r html-doc/*
55 }

  ViewVC Help
Powered by ViewVC 1.1.20