diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-04-04 20:44:40 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-04-04 20:44:40 +0000 |
commit | e1906095620b0fd37c56dc09f0f9ea0117e7cc17 (patch) | |
tree | 5433b6bed5c15fa7215007915aa135bd21e8db22 /app-text/zathura | |
parent | Version bump wrt #506568 by "charles17" (diff) | |
download | gentoo-2-e1906095620b0fd37c56dc09f0f9ea0117e7cc17.tar.gz gentoo-2-e1906095620b0fd37c56dc09f0f9ea0117e7cc17.tar.bz2 gentoo-2-e1906095620b0fd37c56dc09f0f9ea0117e7cc17.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-text/zathura')
-rw-r--r-- | app-text/zathura/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/zathura/zathura-0.2.7.ebuild | 72 | ||||
-rw-r--r-- | app-text/zathura/zathura-9999.ebuild | 19 |
3 files changed, 88 insertions, 11 deletions
diff --git a/app-text/zathura/ChangeLog b/app-text/zathura/ChangeLog index 6007c3e93dd9..974cbd3478d1 100644 --- a/app-text/zathura/ChangeLog +++ b/app-text/zathura/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/zathura # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/ChangeLog,v 1.55 2014/03/30 15:50:50 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/ChangeLog,v 1.56 2014/04/04 20:44:40 ssuominen Exp $ + +*zathura-0.2.7 (04 Apr 2014) + + 04 Apr 2014; Samuli Suominen <ssuominen@gentoo.org> +zathura-0.2.7.ebuild, + zathura-9999.ebuild: + Version bump. 30 Mar 2014; Samuli Suominen <ssuominen@gentoo.org> -zathura-0.2.1.ebuild, -zathura-0.2.2.ebuild, -zathura-0.2.3.ebuild: diff --git a/app-text/zathura/zathura-0.2.7.ebuild b/app-text/zathura/zathura-0.2.7.ebuild new file mode 100644 index 000000000000..eaa2f40b38ae --- /dev/null +++ b/app-text/zathura/zathura-0.2.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-0.2.7.ebuild,v 1.1 2014/04/04 20:44:40 ssuominen Exp $ + +EAPI=5 + +inherit eutils fdo-mime multilib toolchain-funcs virtualx +[[ ${PV} == 9999* ]] && inherit git-2 + +DESCRIPTION="A highly customizable and functional document viewer" +HOMEPAGE="http://pwmt.org/projects/zathura/" +if ! [[ ${PV} == 9999* ]]; then +SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz" +fi +EGIT_REPO_URI="git://git.pwmt.org/${PN}.git" +EGIT_BRANCH="develop" + +LICENSE="ZLIB" +SLOT="0" +if ! [[ ${PV} == 9999* ]]; then +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +else +KEYWORDS="" +fi +IUSE="+doc +magic sqlite test" + +RDEPEND=">=dev-libs/girara-0.2.0:3= + >=dev-libs/glib-2.28:2= + x11-libs/cairo:= + >=x11-libs/gtk+-3.2:3 + magic? ( sys-apps/file:= ) + sqlite? ( dev-db/sqlite:3= )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + doc? ( dev-python/docutils ) + test? ( dev-libs/check )" + +pkg_setup() { + myzathuraconf=( + WITH_MAGIC=$(usex magic 1 0) + WITH_SQLITE=$(usex sqlite 1 0) + PREFIX="${EPREFIX}"/usr + LIBDIR='${PREFIX}'/$(get_libdir) + RSTTOMAN="$(use doc && type -P rst2man.py)" + CC="$(tc-getCC)" + SFLAGS='' + VERBOSE=1 + DESTDIR="${D}" + ) +} + +src_compile() { + emake "${myzathuraconf[@]}" +} + +src_test() { + Xemake "${myzathuraconf[@]}" test +} + +src_install() { + emake "${myzathuraconf[@]}" install + dodoc AUTHORS +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild index afa5e45c96b0..c42f56d1fab1 100644 --- a/app-text/zathura/zathura-9999.ebuild +++ b/app-text/zathura/zathura-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-9999.ebuild,v 1.3 2013/11/27 10:34:17 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-9999.ebuild,v 1.4 2014/04/04 20:44:40 ssuominen Exp $ EAPI=5 @@ -22,14 +22,14 @@ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" else KEYWORDS="" fi -IUSE="+doc +deprecated magic sqlite test" +IUSE="+doc +magic sqlite test" -RDEPEND=">=dev-libs/glib-2.28:2 +RDEPEND=">=dev-libs/girara-0.2.0:3= + >=dev-libs/glib-2.28:2= x11-libs/cairo:= - deprecated? ( >=dev-libs/girara-0.1.8:2 ) - !deprecated? ( >=dev-libs/girara-0.1.8:3 ) - magic? ( sys-apps/file ) - sqlite? ( dev-db/sqlite:3 )" + >=x11-libs/gtk+-3.2:3 + magic? ( sys-apps/file:= ) + sqlite? ( dev-db/sqlite:3= )" DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig @@ -38,14 +38,13 @@ DEPEND="${RDEPEND} pkg_setup() { myzathuraconf=( - ZATHURA_GTK_VERSION=$(usex deprecated 2 3) WITH_MAGIC=$(usex magic 1 0) WITH_SQLITE=$(usex sqlite 1 0) PREFIX="${EPREFIX}"/usr LIBDIR='${PREFIX}'/$(get_libdir) RSTTOMAN="$(use doc && type -P rst2man.py)" CC="$(tc-getCC)" - SFLAGS="" + SFLAGS='' VERBOSE=1 DESTDIR="${D}" ) |