summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-28 19:13:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-09-29 22:45:40 +0200
commitbbaf7b5944a0cff48ff7a0796f99aa53e30cb1bc (patch)
tree1bee7909013d52bbd65503168fe53c06ea9b7bd5 /app-text/fbreader/fbreader-0.99.4-r5.ebuild
parentsys-process/parallel: bump to 20200922 (diff)
downloadgentoo-bbaf7b5944a0cff48ff7a0796f99aa53e30cb1bc.tar.gz
gentoo-bbaf7b5944a0cff48ff7a0796f99aa53e30cb1bc.tar.bz2
gentoo-bbaf7b5944a0cff48ff7a0796f99aa53e30cb1bc.zip
app-text/fbreader: EAPI-7, unused eclass, missing || die, sort deps
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/fbreader/fbreader-0.99.4-r5.ebuild')
-rw-r--r--app-text/fbreader/fbreader-0.99.4-r5.ebuild33
1 files changed, 17 insertions, 16 deletions
diff --git a/app-text/fbreader/fbreader-0.99.4-r5.ebuild b/app-text/fbreader/fbreader-0.99.4-r5.ebuild
index 7c47fc4ac07a..75cd8347fff2 100644
--- a/app-text/fbreader/fbreader-0.99.4-r5.ebuild
+++ b/app-text/fbreader/fbreader-0.99.4-r5.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils multilib flag-o-matic qmake-utils
+inherit flag-o-matic qmake-utils
DESCRIPTION="E-Book Reader. Supports many e-book formats"
-HOMEPAGE="http://www.fbreader.org/"
-SRC_URI="http://www.fbreader.org/files/desktop/${PN}-sources-${PV}.tgz"
+HOMEPAGE="https://www.fbreader.org/"
+SRC_URI="https://www.fbreader.org/files/desktop/${PN}-sources-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
@@ -16,18 +16,19 @@ IUSE="debug"
RDEPEND="
app-arch/bzip2
+ dev-db/sqlite
dev-libs/expat
- dev-libs/libunibreak
dev-libs/fribidi
- dev-db/sqlite
- net-misc/curl
- sys-libs/zlib
+ dev-libs/libunibreak
dev-qt/qtcore:5
dev-qt/qtgui:5
- dev-qt/qtwidgets:5
dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtwidgets:5
+ net-misc/curl
+ sys-libs/zlib
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
"
@@ -61,15 +62,15 @@ src_prepare() {
sed -e "s:MOC = moc-qt4:MOC = $(qt5_get_bindir)/moc:" \
-i makefiles/arch/desktop.mk || die "updating desktop.mk failed"
- echo "TARGET_ARCH = desktop" > makefiles/target.mk
- echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk
+ echo "TARGET_ARCH = desktop" > makefiles/target.mk || die
+ echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk || die
- echo "UI_TYPE = qt4" >> makefiles/target.mk
+ echo "UI_TYPE = qt4" >> makefiles/target.mk || die
if use debug; then
- echo "TARGET_STATUS = debug" >> makefiles/target.mk
+ echo "TARGET_STATUS = debug" >> makefiles/target.mk || die
else
- echo "TARGET_STATUS = release" >> makefiles/target.mk
+ echo "TARGET_STATUS = release" >> makefiles/target.mk || die
fi
}