diff options
author | Michael Weber <xmw@gentoo.org> | 2016-02-27 00:10:02 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-02-27 00:24:50 +0100 |
commit | b622949ff05f3853416c611dc2b10907155914ee (patch) | |
tree | 97f73ec2f5bd2ba8905eb540b35a91273ab417a9 /app-text/zathura | |
parent | media-gfx/graphite2: Fix tests, mostly... bug 575250 (diff) | |
download | gentoo-b622949ff05f3853416c611dc2b10907155914ee.tar.gz gentoo-b622949ff05f3853416c611dc2b10907155914ee.tar.bz2 gentoo-b622949ff05f3853416c611dc2b10907155914ee.zip |
app-text/zathura: Version bump.
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-text/zathura')
-rw-r--r-- | app-text/zathura/Manifest | 1 | ||||
-rw-r--r-- | app-text/zathura/zathura-0.3.5.ebuild | 72 | ||||
-rw-r--r-- | app-text/zathura/zathura-9999.ebuild | 4 |
3 files changed, 74 insertions, 3 deletions
diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest index 94aa5206e707..0c855875e05c 100644 --- a/app-text/zathura/Manifest +++ b/app-text/zathura/Manifest @@ -3,3 +3,4 @@ DIST zathura-0.3.1.tar.gz 201239 SHA256 b502c0220d7220310ca6277042fcb11a0bbaafba DIST zathura-0.3.2.tar.gz 202943 SHA256 fda6503dc5b21f7c667301798fbd2c978897e68b4555e8c731945cecd9d165e2 SHA512 17d221079a748681c7bbdeb8bcb7dac876db1300ec970b553dffd166e67d945708911a13dca000b425198b87c0a232f41f71c12f174037d261933e17882e3224 WHIRLPOOL 56106e15a30eb8f9acfbd37001a6217f243c33822b3dd9fffb978f7d06eaa78d457165908f1a1f4aa260d1ffabddfdf46f6c217c97131fe93549094fff4cdd7f DIST zathura-0.3.3.tar.gz 203604 SHA256 3347decfc8d4b918a6bca1d44657c3b97d4afcea3c8c1f162c57198b13e8dce7 SHA512 0bfcb2c9ca6e7cf44db1c04fdcc5e1e2122b5bd060c10b711a331f885371a523881a46376c770b60cf199530fd9c7814248e8a6da556da8cd464a3a85dbad8e3 WHIRLPOOL c7d94f9db579336f6c2f41b1789e5ffba882b0c00c57e935146297c445cb1ec2894dc7d3dfc0b02ce695e5b5849d3820f91dea8149f206e036c3aae3402b8a4c DIST zathura-0.3.4.tar.gz 167584 SHA256 52c4a3efc5843ce7c720ea7357667699363c809fd34ada4cb350d0e1031d0234 SHA512 663a24574838fe6531bf588ec97ed54f3bf3601c6ed11bbcd38347e8fa1876c4cfa964ab7bba70f8afd40dd9d984315b0966546394c0efac00c6fbd9967b77a2 WHIRLPOOL fbbbe6bfe34f5d21c47c7fdc2aea0741d569e8e8ec39ed3c4f4581724588acd8c328a55cbcf49a11c2d3121f21d1e12d87760abedd8525028e73f1aaa0ac8539 +DIST zathura-0.3.5.tar.gz 168808 SHA256 2a71b5d49fa70c01535869f4642bc379bf4c182a97b01e2d09b81800426e330c SHA512 a28b10f58b88f8e162e693d164bd1bbe5a6580b49fcedb0825d0b981f74b91783d650dc13f230be41bee0d11c406f10b2b823e87306e8de5e5e09d70878a8610 WHIRLPOOL 5b912837368ce9958dc38e33b2a3972bb04cd80eba289889359905e908a59ee095c7c57a1fe6fcad8977f4095516557a605e6794ffaf840cd7a5c4c89afc376b diff --git a/app-text/zathura/zathura-0.3.5.ebuild b/app-text/zathura/zathura-0.3.5.ebuild new file mode 100644 index 000000000000..94e403b1a3ec --- /dev/null +++ b/app-text/zathura/zathura-0.3.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="https://git.pwmt.org/pwmt/${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 synctex test" + +RDEPEND=">=dev-libs/girara-0.2.5:3= + >=dev-libs/glib-2.32:2= + x11-libs/cairo:= + >=x11-libs/gtk+-3.6:3 + magic? ( sys-apps/file:= ) + sqlite? ( dev-db/sqlite:3= ) + synctex? ( >=app-text/texlive-core-2015 )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + test? ( dev-libs/check )" + +pkg_setup() { + myzathuraconf=( + WITH_MAGIC=$(usex magic 1 0) + WITH_SQLITE=$(usex sqlite 1 0) + WITH_SYNCTEX=$(usex synctex 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 6f5bd8693633..94e403b1a3ec 100644 --- a/app-text/zathura/zathura-9999.ebuild +++ b/app-text/zathura/zathura-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -37,9 +37,7 @@ 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) WITH_SYNCTEX=$(usex synctex 1 0) |