From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/djvu/
Date: Tue, 27 Oct 2015 11:11:14 +0000 (UTC) [thread overview]
Message-ID: <1445944271.c930063a72fdb869c1f52c83982996604e631271.jlec@gentoo> (raw)
commit: c930063a72fdb869c1f52c83982996604e631271
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 11:08:05 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 11:11:11 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c930063a
app-text/djvu: Use optfeature
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
app-text/djvu/djvu-3.5.25.3.ebuild | 8 ++++----
app-text/djvu/djvu-3.5.27.ebuild | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app-text/djvu/djvu-3.5.25.3.ebuild b/app-text/djvu/djvu-3.5.25.3.ebuild
index e4efe10..a7cda09 100644
--- a/app-text/djvu/djvu-3.5.25.3.ebuild
+++ b/app-text/djvu/djvu-3.5.25.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
+
inherit autotools eutils fdo-mime flag-o-matic
MY_P="${PN}libre-${PV#*_p}"
@@ -63,9 +64,8 @@ src_install() {
pkg_postinst() {
fdo-mime_mime_database_update
- if ! has_version app-text/djview; then
- elog "For djviewer or browser plugin, emerge app-text/djview."
- fi
+ has_version app-text/djview || \
+ optfeature "For djviewer or browser plugin" app-text/djview
}
pkg_postrm() {
diff --git a/app-text/djvu/djvu-3.5.27.ebuild b/app-text/djvu/djvu-3.5.27.ebuild
index be1c6c3..1322b75 100644
--- a/app-text/djvu/djvu-3.5.27.ebuild
+++ b/app-text/djvu/djvu-3.5.27.ebuild
@@ -3,6 +3,7 @@
# $Id$
EAPI=5
+
inherit eutils fdo-mime flag-o-matic
MY_P="${PN}libre-${PV#*_p}"
@@ -54,9 +55,8 @@ src_install() {
pkg_postinst() {
fdo-mime_mime_database_update
- if ! has_version app-text/djview; then
- elog "For djviewer or browser plugin, emerge app-text/djview."
- fi
+ has_version app-text/djview || \
+ optfeature "For djviewer or browser plugin" app-text/djview
}
pkg_postrm() {
next reply other threads:[~2015-10-27 11:11 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 11:11 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-09-30 4:48 [gentoo-commits] repo/gentoo:master commit in: app-text/djvu/ Michael Palimaka
2017-09-30 7:18 Sergei Trofimovich
2017-10-02 11:58 Sergei Trofimovich
2017-10-23 18:01 Markus Meier
2017-12-13 19:53 Sergei Trofimovich
2017-12-15 23:21 Sergei Trofimovich
2018-04-18 6:44 Mart Raudsepp
2018-04-20 20:37 David Seifert
2019-11-12 7:01 Michał Górny
2020-06-13 9:35 Mikle Kolyada
2020-06-15 15:03 Agostino Sarubbo
2020-06-15 15:08 Agostino Sarubbo
2020-06-15 15:12 Agostino Sarubbo
2020-06-15 15:27 Agostino Sarubbo
2020-06-17 7:07 Agostino Sarubbo
2020-06-20 13:48 Thomas Deutschmann
2020-06-22 18:23 Sergei Trofimovich
2020-06-28 20:54 Aaron Bauman
2020-06-28 20:54 Aaron Bauman
2021-01-12 15:50 Sam James
2021-01-12 16:49 Sam James
2021-02-11 7:54 Sam James
2021-02-11 7:55 Sam James
2021-02-12 9:57 Sam James
2021-02-12 13:48 Sam James
2021-02-13 11:07 Sergei Trofimovich
2021-02-14 14:53 Sam James
2021-02-15 10:48 Sam James
2021-02-16 12:30 Sam James
2021-05-04 12:42 Michael Orlitzky
2021-06-13 11:12 Sam James
2021-06-13 11:12 Sam James
2021-06-13 11:12 Sam James
2021-06-13 11:12 Sam James
2021-06-13 12:38 Sam James
2021-06-14 9:15 Agostino Sarubbo
2021-06-16 15:40 Sergei Trofimovich
2021-06-25 1:33 Yixun Lan
2022-04-17 18:32 Sam James
2022-05-17 7:56 WANG Xuerui
2023-07-07 21:53 Conrad Kostecki
2023-10-09 4:36 Sam James
2023-10-09 4:46 Sam James
2023-10-09 4:46 Sam James
2023-10-09 5:54 Sam James
2023-10-09 6:18 Sam James
2023-10-09 20:02 Sam James
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=1445944271.c930063a72fdb869c1f52c83982996604e631271.jlec@gentoo \
--to=jlec@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