diff options
author | Michael Weber <xmw@gentoo.org> | 2016-01-12 22:24:30 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-01-12 22:32:44 +0100 |
commit | 49a9be262442a9b4abfcef47a81661d8a59478fb (patch) | |
tree | 821a02fa8db0d6d79c9c6e732d9109e5b10a43fd /app-text | |
parent | dev-db/spatialite: eapi bump (diff) | |
download | gentoo-49a9be262442a9b4abfcef47a81661d8a59478fb.tar.gz gentoo-49a9be262442a9b4abfcef47a81661d8a59478fb.tar.bz2 gentoo-49a9be262442a9b4abfcef47a81661d8a59478fb.zip |
app-text/zathura: Add USE=synctex and update live euild (bug 571346).
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/zathura/metadata.xml | 1 | ||||
-rw-r--r-- | app-text/zathura/zathura-0.3.4.ebuild | 6 | ||||
-rw-r--r-- | app-text/zathura/zathura-9999.ebuild | 16 |
3 files changed, 16 insertions, 7 deletions
diff --git a/app-text/zathura/metadata.xml b/app-text/zathura/metadata.xml index 7cdc773bbdd9..9b36a05a63ba 100644 --- a/app-text/zathura/metadata.xml +++ b/app-text/zathura/metadata.xml @@ -11,6 +11,7 @@ </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"> diff --git a/app-text/zathura/zathura-0.3.4.ebuild b/app-text/zathura/zathura-0.3.4.ebuild index 8909dc17a48d..12a90276b4a3 100644 --- a/app-text/zathura/zathura-0.3.4.ebuild +++ b/app-text/zathura/zathura-0.3.4.ebuild @@ -22,14 +22,15 @@ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" else KEYWORDS="" fi -IUSE="+magic sqlite test" +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= )" + sqlite? ( dev-db/sqlite:3= ) + synctex? ( app-text/texlive-core )" DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig @@ -41,6 +42,7 @@ pkg_setup() { WITH_SYSTEM_SYNCTEX=0 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)" diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild index ee5314e6007f..ff9ff6731ef0 100644 --- a/app-text/zathura/zathura-9999.ebuild +++ b/app-text/zathura/zathura-9999.ebuild @@ -22,14 +22,15 @@ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" else KEYWORDS="" fi -IUSE="+magic sqlite test" +IUSE="+magic sqlite synctex test" -RDEPEND=">=dev-libs/girara-0.2.3:3= - >=dev-libs/glib-2.28:2= +RDEPEND=">=dev-libs/girara-0.2.5:3= + >=dev-libs/glib-2.32:2= x11-libs/cairo:= - >=x11-libs/gtk+-3.2:3 + >=x11-libs/gtk+-3.6:3 magic? ( sys-apps/file:= ) - sqlite? ( dev-db/sqlite:3= )" + sqlite? ( dev-db/sqlite:3= ) + synctex? ( app-text/texlive-core )" DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig @@ -41,6 +42,7 @@ pkg_setup() { WITH_SYSTEM_SYNCTEX=0 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)" @@ -50,6 +52,10 @@ pkg_setup() { ) } +src_prepare() { + epatch "${FILESDIR}"/${P}-synctex.patch +} + src_compile() { emake "${myzathuraconf[@]}" } |