/[gentoo-x86]/app-text/zathura/zathura-0.2.2.ebuild
Gentoo

Contents of /app-text/zathura/zathura-0.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jan 27 21:50:00 2013 UTC (19 months, 2 weeks ago) by ssuominen
Branch: MAIN
Version bump. Still using GTK+ 2.x because of -pdf-poppler plug-in compability.

(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-0.2.1.ebuild,v 1.9 2013/01/11 16:37:35 ssuominen Exp $
4
5 EAPI=5
6 inherit eutils fdo-mime multilib toolchain-funcs virtualx
7
8 DESCRIPTION="A highly customizable and functional document viewer"
9 HOMEPAGE="http://pwmt.org/projects/zathura/"
10 SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
11
12 LICENSE="ZLIB"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
15 IUSE="+doc sqlite test"
16
17 RDEPEND=">=dev-libs/girara-0.1.5:2
18 >=dev-libs/glib-2
19 x11-libs/cairo
20 sqlite? ( dev-db/sqlite:3 )"
21 DEPEND="${RDEPEND}
22 sys-devel/gettext
23 virtual/pkgconfig
24 doc? ( dev-python/docutils )
25 test? ( dev-libs/check )"
26
27 pkg_setup() {
28 myzathuraconf=(
29 ZATHURA_GTK_VERSION=2
30 WITH_SQLITE=$(usex sqlite 1 0)
31 PREFIX="${EPREFIX}"/usr
32 LIBDIR='${PREFIX}'/$(get_libdir)
33 RSTTOMAN="$(use doc && type -P rst2man.py)"
34 CC="$(tc-getCC)"
35 SFLAGS=""
36 VERBOSE=1
37 DESTDIR="${D}"
38 )
39 }
40
41 src_compile() {
42 emake "${myzathuraconf[@]}"
43 }
44
45 src_test() {
46 Xemake test
47 }
48
49 src_install() {
50 emake "${myzathuraconf[@]}" install
51 dodoc AUTHORS
52 }
53
54 pkg_postinst() {
55 fdo-mime_desktop_database_update
56 }
57
58 pkg_postrm() {
59 fdo-mime_desktop_database_update
60 }

  ViewVC Help
Powered by ViewVC 1.1.20