From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2E5C01388BF for ; Tue, 12 Jan 2016 21:32:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C0CC21C05A; Tue, 12 Jan 2016 21:32:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD82221C05A for ; Tue, 12 Jan 2016 21:32:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78BE3340896 for ; Tue, 12 Jan 2016 21:32:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E227211 for ; Tue, 12 Jan 2016 21:32:45 +0000 (UTC) From: "Michael Weber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" Message-ID: <1452634364.49a9be262442a9b4abfcef47a81661d8a59478fb.xmw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/zathura/metadata.xml app-text/zathura/zathura-0.3.4.ebuild app-text/zathura/zathura-9999.ebuild X-VCS-Directories: app-text/zathura/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 49a9be262442a9b4abfcef47a81661d8a59478fb X-VCS-Branch: master Date: Tue, 12 Jan 2016 21:32:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8788780a-574b-4a81-89d2-da99136f640d X-Archives-Hash: af1e2908eb9d6f95319793c8b74c63ac commit: 49a9be262442a9b4abfcef47a81661d8a59478fb Author: Michael Weber gentoo org> AuthorDate: Tue Jan 12 21:24:30 2016 +0000 Commit: Michael Weber gentoo org> CommitDate: Tue Jan 12 21:32:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a9be26 app-text/zathura: Add USE=synctex and update live euild (bug 571346). Package-Manager: portage-2.2.26 app-text/zathura/metadata.xml | 1 + app-text/zathura/zathura-0.3.4.ebuild | 6 ++++-- 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 7cdc773..9b36a05 100644 --- a/app-text/zathura/metadata.xml +++ b/app-text/zathura/metadata.xml @@ -11,6 +11,7 @@ Use libmagic to determine mimetypes + Use libsynctex to get latex codeline from pdf diff --git a/app-text/zathura/zathura-0.3.4.ebuild b/app-text/zathura/zathura-0.3.4.ebuild index 8909dc1..12a9027 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 ee5314e..ff9ff67 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[@]}" }