summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-01 15:51:10 +0000
committerSam James <sam@gentoo.org>2021-12-01 15:51:10 +0000
commitd1dcb6871d0b6f825cd2e5f821cf54d44f327cb8 (patch)
treed668e7ade3683aa7f918c9daacada7bd91ac1c28 /app-text/fbreader/fbreader-0.99.4-r5.ebuild
parentmedia-libs/x265: rebase 9999 patches (diff)
downloadgentoo-d1dcb6871d0b6f825cd2e5f821cf54d44f327cb8.tar.gz
gentoo-d1dcb6871d0b6f825cd2e5f821cf54d44f327cb8.tar.bz2
gentoo-d1dcb6871d0b6f825cd2e5f821cf54d44f327cb8.zip
app-text/fbreader: add subslot operator for libunibreak
Reported-by: kurly Signed-off-by: Sam James <sam@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.ebuild87
1 files changed, 0 insertions, 87 deletions
diff --git a/app-text/fbreader/fbreader-0.99.4-r5.ebuild b/app-text/fbreader/fbreader-0.99.4-r5.ebuild
deleted file mode 100644
index 44288fac4896..000000000000
--- a/app-text/fbreader/fbreader-0.99.4-r5.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils toolchain-funcs xdg
-
-DESCRIPTION="E-Book Reader. Supports many e-book formats"
-HOMEPAGE="https://www.fbreader.org/"
-SRC_URI="https://www.fbreader.org/files/desktop/${PN}-sources-${PV}.tgz
- https://dev.gentoo.org/~juippis/distfiles/tmp/fbreader-0.99.4-combined.patch"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc x86"
-IUSE="debug"
-
-RDEPEND="
- app-arch/bzip2
- dev-db/sqlite
- dev-libs/expat
- dev-libs/fribidi
- dev-libs/libunibreak
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5[ssl]
- dev-qt/qtwidgets:5
- net-misc/curl
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
-"
-
-# bugs #452636, #515698, #516794, #437262, #592588
-PATCHES=( "${DISTDIR}"/${P}-combined.patch )
-
-src_prepare() {
- default
-
- # Let portage decide about the compiler
- sed -e "/^CC = /d" \
- -i makefiles/arch/desktop.mk || die "removing CC line failed"
-
- # let portage strip the binary
- sed -e '/@strip/d' \
- -i fbreader/desktop/Makefile || die
-
- # Respect *FLAGS
- sed -e "s/^CFLAGS = -pipe/CFLAGS +=/" \
- -i makefiles/arch/desktop.mk || die "CFLAGS sed failed"
- sed -e "/^ CFLAGS +=/d" \
- -i makefiles/config.mk || die "CFLAGS sed failed"
- sed -e "/^ LDFLAGS += -s$/d" \
- -i makefiles/config.mk || die "LDFLAGS sed failed"
- sed -e "/^LDFLAGS =$/d" \
- -i makefiles/arch/desktop.mk || die "LDFLAGS sed failed"
-
- # Qt5 moc
- 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 || die
- echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk || die
-
- echo "UI_TYPE = qt4" >> makefiles/target.mk || die
-
- if use debug; then
- echo "TARGET_STATUS = debug" >> makefiles/target.mk || die
- else
- echo "TARGET_STATUS = release" >> makefiles/target.mk || die
- fi
-
- # bug #437262
- tc-ld-disable-gold
-}
-
-src_compile() {
- # bug #484516
- emake -j1
-}
-
-src_install() {
- default
- dosym FBReader /usr/bin/fbreader
-}