diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-01-31 21:06:18 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-01-31 21:06:18 +0000 |
commit | 0572e50cc19c4648693fda269f8c9a2cf55f8315 (patch) | |
tree | d833c59d9f0929e3dae51ba40b88010356423df0 /app-text/apvlv | |
parent | added use flage dependecy glut for dev-ml/lablgl (diff) | |
download | historical-0572e50cc19c4648693fda269f8c9a2cf55f8315.tar.gz historical-0572e50cc19c4648693fda269f8c9a2cf55f8315.tar.bz2 historical-0572e50cc19c4648693fda269f8c9a2cf55f8315.zip |
Version bump
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'app-text/apvlv')
-rw-r--r-- | app-text/apvlv/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/apvlv/apvlv-0.1.1.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/app-text/apvlv/ChangeLog b/app-text/apvlv/ChangeLog index 1eb0b6c9ca38..73010fc19ad6 100644 --- a/app-text/apvlv/ChangeLog +++ b/app-text/apvlv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/apvlv # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v 1.9 2011/01/17 23:47:21 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v 1.10 2011/01/31 21:06:18 radhermit Exp $ + +*apvlv-0.1.1 (31 Jan 2011) + + 31 Jan 2011; Tim Harder <radhermit@gentoo.org> +apvlv-0.1.1.ebuild: + Version bump *apvlv-0.1.0 (17 Jan 2011) diff --git a/app-text/apvlv/apvlv-0.1.1.ebuild b/app-text/apvlv/apvlv-0.1.1.ebuild new file mode 100644 index 000000000000..bc530d8fe8a8 --- /dev/null +++ b/app-text/apvlv/apvlv-0.1.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/apvlv-0.1.1.ebuild,v 1.1 2011/01/31 21:06:18 radhermit Exp $ + +EAPI=3 + +inherit eutils cmake-utils + +MY_P="${P}-Source" +DESCRIPTION="Alf's PDF Viewer Like Vim" +HOMEPAGE="http://code.google.com/p/apvlv/" +SRC_URI="http://apvlv.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug djvu" + +RDEPEND=">=x11-libs/gtk+-2.10.4:2 + >=app-text/poppler-0.12.3-r3[cairo] + djvu? ( app-text/djvu )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # bug #349979 + has_version ">=app-text/poppler-0.15.0" && epatch "${FILESDIR}"/${PN}-0.1.0-poppler-0.16.patch + + # Remove prefixes so it works with the cmake-utils eclass + sed -i -e "s:APVLV_::" CMakeLists.txt src/CMakeLists.txt +} + +src_configure() { + mycmakeargs=( + -DSYSCONFDIR=/etc/${PN} + -DDOCDIR=/usr/share/doc/${PF} + -DMANDIR=/usr/share/man + -DWITH_UMD=OFF + $(cmake-utils_use_enable debug) + $(cmake-utils_use_with djvu) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc AUTHORS NEWS README THANKS TODO + newicon icons/pdf.png ${PN}.png + make_desktop_entry ${PN} "Alf's PDF Viewer Like Vim" ${PN} "Office;Viewer" +} |