public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/
Date: Mon, 25 Dec 2017 19:17:37 +0000 (UTC)	[thread overview]
Message-ID: <1514229356.2c6097b4fc3e489c9c380e9f23497d099f772e1d.soap@gentoo> (raw)

commit:     2c6097b4fc3e489c9c380e9f23497d099f772e1d
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 17:22:33 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 19:15:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6097b4

app-text/zathura: [QA] Port to git-r3

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-text/zathura/zathura-0.2.9.ebuild | 30 ++++++++++++++----------------
 app-text/zathura/zathura-0.3.7.ebuild | 26 +++++++++++++-------------
 app-text/zathura/zathura-9999.ebuild  | 28 +++++++++++++---------------
 3 files changed, 40 insertions(+), 44 deletions(-)

diff --git a/app-text/zathura/zathura-0.2.9.ebuild b/app-text/zathura/zathura-0.2.9.ebuild
index d72c7ba6207..c4bb49e027e 100644
--- a/app-text/zathura/zathura-0.2.9.ebuild
+++ b/app-text/zathura/zathura-0.2.9.ebuild
@@ -1,26 +1,24 @@
-# Copyright 1999-2014 Gentoo Foundation
+# 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
+inherit eutils multilib toolchain-funcs virtualx xdg-utils
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura.git"
+	EGIT_BRANCH="develop"
+else
+	KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
+	SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+fi
 
 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=
@@ -34,7 +32,7 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	test? ( dev-libs/check )"
 
-pkg_setup() {
+src_configure() {
 	myzathuraconf=(
 		WITH_MAGIC=$(usex magic 1 0)
 		WITH_SQLITE=$(usex sqlite 1 0)
@@ -61,9 +59,9 @@ src_install() {
 }
 
 pkg_postinst() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }
 
 pkg_postrm() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }

diff --git a/app-text/zathura/zathura-0.3.7.ebuild b/app-text/zathura/zathura-0.3.7.ebuild
index ad77a66a0e0..8281cf21819 100644
--- a/app-text/zathura/zathura-0.3.7.ebuild
+++ b/app-text/zathura/zathura-0.3.7.ebuild
@@ -3,22 +3,22 @@
 
 EAPI=5
 
-inherit eutils fdo-mime multilib toolchain-funcs virtualx
-[[ ${PV} == 9999* ]] && inherit git-2
+inherit eutils multilib toolchain-funcs virtualx xdg-utils
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura.git"
+	EGIT_BRANCH="develop"
+else
+	KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
+	SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+fi
 
 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=
@@ -39,7 +39,7 @@ src_prepare() {
 	epatch_user
 }
 
-pkg_setup() {
+src_configure() {
 	myzathuraconf=(
 		WITH_MAGIC=$(usex magic 1 0)
 		WITH_SQLITE=$(usex sqlite 1 0)
@@ -67,9 +67,9 @@ src_install() {
 }
 
 pkg_postinst() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }
 
 pkg_postrm() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }

diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index 52a3a9c5d86..70f20b7aed6 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -3,24 +3,22 @@
 
 EAPI=5
 
-inherit eutils fdo-mime multilib toolchain-funcs virtualx
-[[ ${PV} == 9999* ]] && inherit git-2
+inherit eutils multilib toolchain-funcs virtualx xdg-utils
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura.git"
+	EGIT_BRANCH="develop"
+else
+	KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+	SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+fi
 
 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=
@@ -35,7 +33,7 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	test? ( dev-libs/check )"
 
-pkg_setup() {
+src_configure() {
 	myzathuraconf=(
 		WITH_MAGIC=$(usex magic 1 0)
 		WITH_SQLITE=$(usex sqlite 1 0)
@@ -63,9 +61,9 @@ src_install() {
 }
 
 pkg_postinst() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }
 
 pkg_postrm() {
-	fdo-mime_desktop_database_update
+	xdg_desktop_database_update
 }


             reply	other threads:[~2017-12-25 19:17 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-25 19:17 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-29 13:19 [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/ Joonas Niilola
2024-03-13 10:11 Jakov Smolić
2024-03-13  7:57 Arthur Zamarin
2024-03-13  7:57 Arthur Zamarin
2024-01-21  4:36 Sam James
2024-01-21  4:02 Sam James
2023-08-29  1:51 Sam James
2023-08-29  1:31 Sam James
2023-08-29  1:31 Sam James
2023-08-29  1:31 Sam James
2023-03-07 11:42 Sam James
2023-03-06 13:04 Arthur Zamarin
2023-03-05 16:35 Arthur Zamarin
2023-01-23  0:56 Sam James
2023-01-21 15:38 Piotr Karbowski
2023-01-08 21:14 Piotr Karbowski
2023-01-08 15:34 Piotr Karbowski
2023-01-08 15:34 Piotr Karbowski
2022-10-17 23:56 Sam James
2022-06-02 12:02 Jakov Smolić
2022-05-05  3:54 Sam James
2022-05-05  3:54 Sam James
2022-03-27 23:20 Piotr Karbowski
2022-03-27 23:20 Piotr Karbowski
2022-01-23 15:22 Sam James
2022-01-21 12:42 Sam James
2022-01-21 12:40 Sam James
2021-10-16 20:54 Piotr Karbowski
2021-08-05 14:02 Yixun Lan
2020-09-20 13:51 David Seifert
2020-09-16 19:46 Piotr Karbowski
2020-08-28 21:41 Piotr Karbowski
2020-08-24 11:58 Mikle Kolyada
2020-01-08 13:25 Mikle Kolyada
2019-10-27 18:09 Mikle Kolyada
2019-09-13 11:22 Mikle Kolyada
2019-09-13 11:22 Mikle Kolyada
2019-04-28 18:15 Mikle Kolyada
2019-02-10  7:17 Mikle Kolyada
2019-01-16 13:22 Mikle Kolyada
2018-12-23  9:24 Mikle Kolyada
2018-12-23  8:13 Mikle Kolyada
2018-12-23  8:13 Mikle Kolyada
2018-12-11  9:58 Mikle Kolyada
2018-12-09 23:51 Thomas Deutschmann
2018-11-25 15:54 Mikle Kolyada
2018-11-25 15:53 Mikle Kolyada
2018-11-25 15:53 Mikle Kolyada
2018-11-25 10:47 Mikle Kolyada
2018-11-17 14:02 Mikle Kolyada
2018-11-10 23:14 Mikle Kolyada
2018-10-10 18:36 Mikle Kolyada
2018-10-08 19:03 Mikle Kolyada
2018-10-08 16:57 Mikle Kolyada
2018-07-22 16:28 Mikle Kolyada
2018-04-14 17:24 Aaron Bauman
2018-04-12  0:54 Thomas Deutschmann
2018-01-28 16:19 Michael Weber
2018-01-28 16:19 Michael Weber
2017-11-25 19:55 David Seifert
2017-08-20 19:16 Thomas Deutschmann
2017-07-15 15:17 Tobias Klausmann
2017-02-23 13:27 Michael Weber
2017-01-29 19:19 Michael Weber
2017-01-29 19:16 Michael Weber
2017-01-23  2:00 Michael Weber
2016-08-03  8:06 Michael Weber
2016-07-31 16:58 Maxim Koltsov
2016-02-26 23:27 Michael Weber
2016-02-26 23:27 Michael Weber
2016-02-04 18:54 Patrice Clement
2016-01-12 21:32 Michael Weber
2016-01-09  1:33 Michael Weber
2016-01-09  1:04 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1514229356.2c6097b4fc3e489c9c380e9f23497d099f772e1d.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox