diff options
Diffstat (limited to 'app-text/zathura')
-rw-r--r-- | app-text/zathura/Manifest | 9 | ||||
-rw-r--r-- | app-text/zathura/files/zathura-0.3.7-tests.patch | 24 | ||||
-rw-r--r-- | app-text/zathura/metadata.xml | 25 | ||||
-rw-r--r-- | app-text/zathura/zathura-0.2.9.ebuild | 69 | ||||
-rw-r--r-- | app-text/zathura/zathura-0.3.7.ebuild | 75 | ||||
-rw-r--r-- | app-text/zathura/zathura-9999.ebuild | 71 |
6 files changed, 273 insertions, 0 deletions
diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest new file mode 100644 index 000000000000..371b9d793cd6 --- /dev/null +++ b/app-text/zathura/Manifest @@ -0,0 +1,9 @@ +AUX zathura-0.3.7-tests.patch 702 SHA256 02942aaa2c152de3d38efb6f1b5d28b824b09016a0829fd60b354f89b1c27791 SHA512 8c1190b9511495328b841dd90500265e123fa4510e0660ca30510961b9222adcc72ad74f2e6a51d0710b9a86fb88d382c1f92739396804675a5b93cc78a941ca WHIRLPOOL e9901c1a585b27ac03897f8240006d127c008f540b87ccd7861e264129ecdc2e812ce204b1905f8f605ee1b03025a7e52919668ef3e80c489a387dfd8e2a98aa +DIST zathura-0.2.9.tar.gz 196690 SHA256 2c071d403ec9348b839567b2897850bf29d9c24c85982b5509a1a429a72ee09f SHA512 be72a5845ed0e4f09d54c608fc8373757d0d8dbf6f3d9be1a4ee671be22cec31e8eda2e8591c007e80df30059938b3480f5e7f035a115bd58e8dd05972296503 WHIRLPOOL 4c436fc9a78ea797d1e094baa04755c5cd8e3470371ad15296eab0b346c8a4ea5018c10240d5f9f1647995f2e645665aad3c867a67d1281fb3b843375af448ee +DIST zathura-0.3.7.tar.gz 174095 SHA256 22afff89f4093f22fb82188417ff9bfa9695b19a4fe894dca05b7c821b390ff0 SHA512 830a1b88820507a40a20b046c504d8ab3022a35c2c4c0d93a67f77ab5e31d746362a6f28fb9786a647cd0bfd943306aca74cbb2092774aedfb52380e713df533 WHIRLPOOL 4d5456601d61973a12adb3f19f17e81cb6b5f25afa6a93ecb737ad1f7830f5af402cfa22e37f63c442b5ad00e895d5dcce37d90f1ecad053396eee3c8c2eba1f +EBUILD zathura-0.2.9.ebuild 1385 SHA256 db56d20413f975cc14595455ee24768cb3a252ef1d4bd1d75252fe526710fe3f SHA512 0b8423fc170a99ac0fb6834d2bf02bcda3df23203ede53c95a3b2218a0d1f54a60b69dfd28b036e91497ea863fda137c84d7c98523f48ec19c29ae2036009c14 WHIRLPOOL 2f908116325055621a3740103f04cd7e19a4b1dfad3bad2c4ce6823f602949566c07031b387aa5faf65eef76071e7c6457734737692dc0b6d982036b2279009e +EBUILD zathura-0.3.7.ebuild 1533 SHA256 71783dcc60b397fac6159d874dec4bb7ebc9cf5ad89b09773be4cf5239874e6e SHA512 11aaac8f4d8ae9fbc764ad97ffde17c7e23c11c4b51c999d0ef5cfc0e3e2f5154cde16ca554223c1475b72ebb895ca0c5b2b14518959529e16dc9d6184f2b6bd WHIRLPOOL 72cea0a58f919a86ebcf233b43a9078b20e54e0663a7c175954e323a6c8d9dbf192631b223c53b0a947e170769522e313991dacdd9c319594759f87e5d157108 +EBUILD zathura-9999.ebuild 1481 SHA256 21f7bf64eb80cc0a95db1bd944e65c15187bc6d86e8beb168118f935c30c637b SHA512 6ffd492c792466d1f271f077fda3b9609fa40d2eea6ccbb9d2c16b656a7d3be923c2543c440f3a61173a2f58095fe9e08338d631e5731664da84730384d51dff WHIRLPOOL 89a39c65317880d2808a505e9af8e5702660fc11e3da61877243eaa0a5ae03fe2a1ebaaf8fa5633b8c69cf3b245e26fe1a7a36c462ef0fc74304f3ca2c807492 +MISC ChangeLog 5034 SHA256 04ac98898b3030c7428463019e44bdd2b3eaee50526ad32a64347306e97e2d9e SHA512 103b1cbf8c862f32fe70945f61484db7f215c8e74af061aebcb67b41939bf84f22dfe33b6032ebd070b057b9aa8a667496a7bdb9808fd95eb679bc7d2cedc7af WHIRLPOOL 0383c924f8ed5dae499aff08f15377fa119752691450af513fb32274ff43a0112a528ab0a87a592acf46ce0838af050151cd1cd49b7679047f0a886b93de0f7b +MISC ChangeLog-2015 8833 SHA256 7a56a77573c2bd77c29b92f466370e3936f00b40b95d5545b837da1cd42781e4 SHA512 031d92883ddda1ca7d60590dcf5ae98f97b8c68bdc63af0ac625577efff9f891faed8a06875a50ac941114a1c3957bf7f9a77843038f21a54705a7d5b12ef555 WHIRLPOOL 756a582f1b17a21e628a2f8a20fed530279e5936130cfe99322f04ac56f085fee3c17c491fa7707b9194c73f77fb691fcb23843e92e6b5ecf99de09bbd212f0e +MISC metadata.xml 857 SHA256 e7d013939e156eebfe8a14f830b5b39fa247fe285074b4e3584f4e3b3bed9240 SHA512 01edacc91361108bb7a243e24fcd25490202578cf1db71bb13472f981b1fab36f02eebe58f57646898be0e8c663a981ad86c5b81ea697e628dc9c616172ca7c3 WHIRLPOOL 010e9590e3abf0bd9353e5b5d4da7841be9d7b5884ca7a3bfd4c2dbca643a4751ebb28dc935437b3b1455eb33fe960d3b8faf8ebc6965bec7dc6206948d3f101 diff --git a/app-text/zathura/files/zathura-0.3.7-tests.patch b/app-text/zathura/files/zathura-0.3.7-tests.patch new file mode 100644 index 000000000000..77321445c6a6 --- /dev/null +++ b/app-text/zathura/files/zathura-0.3.7-tests.patch @@ -0,0 +1,24 @@ +--- zathura-0.3.7/tests/Makefile ++++ zathura-0.3.7/tests/Makefile +@@ -7,7 +7,11 @@ + include config.mk + + PROJECT = tests +-SOURCE = tests.c $(wildcard test_*.c) ++ifneq (${WITH_SQLITE},0) ++ SOURCE = tests.c $(wildcard test_*.c) ++else ++ SOURCE = $(filter-out database-sqlite.c,tests.c $(wildcard test_*.c)) ++endif + OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o}) + OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o}) + OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o}) +@@ -23,8 +27,6 @@ + INCS += $(SQLITE_INC) + LIBS += $(SQLITE_LIB) + CPPFLAGS += -DWITH_SQLITE +-else +-SOURCE = $(filter-out database-sqlite.c,$(OSOURCE)) + endif + + ifneq ($(WITH_MAGIC),0) diff --git a/app-text/zathura/metadata.xml b/app-text/zathura/metadata.xml new file mode 100644 index 000000000000..f888f22ad186 --- /dev/null +++ b/app-text/zathura/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <use> + <flag name="magic">Use libmagic to determine mimetypes</flag> + <flag name="synctex">Use libsynctex to get latex codeline from pdf</flag> + </use> + <upstream> + <maintainer status="active"> + <email>mlq@pwmt.org</email> + <name>Moritz Lipp</name> + </maintainer> + <maintainer status="active"> + <email>sebastian+dev@ramacher.at</email> + <name>Sebastian Ramacher</name> + </maintainer> + <changelog>http://pwmt.org/projects/zathura/download/</changelog> + <doc lang="en">http://pwmt.org/projects/zathura/</doc> + <bugs-to>http://bugs.pwmt.org/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/app-text/zathura/zathura-0.2.9.ebuild b/app-text/zathura/zathura-0.2.9.ebuild new file mode 100644 index 000000000000..d72c7ba6207f --- /dev/null +++ b/app-text/zathura/zathura-0.2.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.2: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() { + myzathuraconf=( + 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-0.3.7.ebuild b/app-text/zathura/zathura-0.3.7.ebuild new file mode 100644 index 000000000000..ad77a66a0e0e --- /dev/null +++ b/app-text/zathura/zathura-0.3.7.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +fi +IUSE="+magic sqlite synctex test" + +RDEPEND=">=dev-libs/girara-0.2.7: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 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-tests.patch + + epatch_user +} + +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 new file mode 100644 index 000000000000..52a3a9c5d867 --- /dev/null +++ b/app-text/zathura/zathura-9999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.7: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 +} |