summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-10-24 17:58:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-10-24 17:58:58 +0000
commit21f73589cd79110dee19fff32cf572498b1eb0de (patch)
tree4a23b861123727d01ac4e73b3037b99596cf84b4
parentVersion bump. (diff)
downloadgentoo-2-21f73589cd79110dee19fff32cf572498b1eb0de.tar.gz
gentoo-2-21f73589cd79110dee19fff32cf572498b1eb0de.tar.bz2
gentoo-2-21f73589cd79110dee19fff32cf572498b1eb0de.zip
Version bump.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
-rw-r--r--app-text/zathura/ChangeLog8
-rw-r--r--app-text/zathura/zathura-0.3.1.ebuild72
-rw-r--r--app-text/zathura/zathura-9999.ebuild6
3 files changed, 83 insertions, 3 deletions
diff --git a/app-text/zathura/ChangeLog b/app-text/zathura/ChangeLog
index 1caa82ec3155..9e98d38776f2 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.62 2014/07/26 08:36:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/ChangeLog,v 1.63 2014/10/24 17:58:58 ssuominen Exp $
+
+*zathura-0.3.1 (24 Oct 2014)
+
+ 24 Oct 2014; Samuli Suominen <ssuominen@gentoo.org> +zathura-0.3.1.ebuild,
+ zathura-9999.ebuild:
+ Version bump.
26 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> -zathura-0.2.7.ebuild:
old
diff --git a/app-text/zathura/zathura-0.3.1.ebuild b/app-text/zathura/zathura-0.3.1.ebuild
new file mode 100644
index 000000000000..51da4e77cef1
--- /dev/null
+++ b/app-text/zathura/zathura-0.3.1.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.3.1.ebuild,v 1.1 2014/10/24 17:58:58 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="+magic sqlite test"
+
+RDEPEND=">=dev-libs/girara-0.2.3: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
+ test? ( dev-libs/check )"
+
+pkg_setup() {
+ # TODO: Create ebuild for synctex and pass WITH_SYSTEM_SYNCTEX=1
+ myzathuraconf=(
+ WITH_SYSTEM_SYNCTEX=0
+ WITH_MAGIC=$(usex magic 1 0)
+ WITH_SQLITE=$(usex sqlite 1 0)
+ PREFIX="${EPREFIX}"/usr
+ LIBDIR='${PREFIX}'/$(get_libdir)
+ 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 72c587abe93e..c465367596f2 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -1,6 +1,6 @@
# 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.6 2014/07/13 16:25:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-9999.ebuild,v 1.7 2014/10/24 17:58:58 ssuominen Exp $
EAPI=5
@@ -24,7 +24,7 @@ KEYWORDS=""
fi
IUSE="+magic sqlite test"
-RDEPEND=">=dev-libs/girara-0.2.2:3=
+RDEPEND=">=dev-libs/girara-0.2.3:3=
>=dev-libs/glib-2.28:2=
x11-libs/cairo:=
>=x11-libs/gtk+-3.2:3
@@ -36,7 +36,9 @@ DEPEND="${RDEPEND}
test? ( dev-libs/check )"
pkg_setup() {
+ # TODO: Create ebuild for synctex and pass WITH_SYSTEM_SYNCTEX=1
myzathuraconf=(
+ WITH_SYSTEM_SYNCTEX=0
WITH_MAGIC=$(usex magic 1 0)
WITH_SQLITE=$(usex sqlite 1 0)
PREFIX="${EPREFIX}"/usr