1 |
commit: f41d776895f24cc4daa331abec4cdd23cd584e6b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 26 10:03:29 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 26 10:12:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41d7768 |
7 |
|
8 |
app-text/djview: Drop 4.10.6-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-text/djview/djview-4.10.6-r1.ebuild | 86 --------------------------------- |
14 |
1 file changed, 86 deletions(-) |
15 |
|
16 |
diff --git a/app-text/djview/djview-4.10.6-r1.ebuild b/app-text/djview/djview-4.10.6-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 8bb483e1264..00000000000 |
19 |
--- a/app-text/djview/djview-4.10.6-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,86 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit autotools flag-o-matic nsplugins qmake-utils toolchain-funcs xdg-utils |
28 |
- |
29 |
-DESCRIPTION="Portable DjVu viewer using Qt" |
30 |
-HOMEPAGE="http://djvu.sourceforge.net/djview4.html" |
31 |
-SRC_URI="mirror://sourceforge/djvu/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 ~hppa ppc ppc64 x86" |
36 |
-IUSE="debug nsplugin" |
37 |
- |
38 |
-RDEPEND=" |
39 |
- >=app-text/djvu-3.5.22-r1 |
40 |
- dev-qt/qtcore:5 |
41 |
- dev-qt/qtgui:5 |
42 |
- dev-qt/qtnetwork:5 |
43 |
- dev-qt/qtopengl:5 |
44 |
- dev-qt/qtprintsupport:5 |
45 |
- dev-qt/qtwidgets:5" |
46 |
-DEPEND="${RDEPEND} |
47 |
- dev-qt/linguist-tools:5 |
48 |
- >=sys-devel/autoconf-2.67 |
49 |
- virtual/pkgconfig |
50 |
- nsplugin? ( dev-libs/glib:2 )" |
51 |
- |
52 |
-DOCS=( README NEWS ) |
53 |
- |
54 |
-PATCHES=( "${FILESDIR}/${P}-hidpi.patch" ) |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- |
59 |
- # Force XEmbed instead of Xt-based mainloop (disable Xt autodep) |
60 |
- sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die |
61 |
- sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688 |
62 |
- rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4} || die |
63 |
- AT_M4DIR="config" eautoreconf |
64 |
-} |
65 |
- |
66 |
-src_configure() { |
67 |
- # See config/acinclude.m4 |
68 |
- use debug || append-cppflags "-DNDEBUG" |
69 |
- |
70 |
- QTDIR=$(qt5_get_libdir)/qt5 \ |
71 |
- econf \ |
72 |
- --with-x \ |
73 |
- --disable-desktopfiles \ |
74 |
- $(use_enable nsplugin nsdejavu) |
75 |
-} |
76 |
- |
77 |
-src_compile() { |
78 |
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" |
79 |
-} |
80 |
- |
81 |
-src_install() { |
82 |
- emake DESTDIR="${D}" \ |
83 |
- plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \ |
84 |
- install |
85 |
- |
86 |
- einstalldocs |
87 |
- |
88 |
- insinto /usr/share/icons/hicolor/32x32/apps |
89 |
- newins desktopfiles/prebuilt-hi32-djview4.png djvulibre-djview4.png |
90 |
- insinto /usr/share/icons/hicolor/64x64/apps |
91 |
- newins desktopfiles/prebuilt-hi64-djview4.png djvulibre-djview4.png |
92 |
- insinto /usr/share/icons/hicolor/scalable/apps |
93 |
- newins desktopfiles/djview.svg djvulibre-djview4.svg |
94 |
- sed -e 's/Exec=djview4/Exec=djview/' \ |
95 |
- -i desktopfiles/djvulibre-djview4.desktop || die |
96 |
- domenu desktopfiles/djvulibre-djview4.desktop |
97 |
-} |
98 |
- |
99 |
-pkg_postinst() { |
100 |
- xdg_desktop_database_update |
101 |
- xdg_icon_cache_update |
102 |
-} |
103 |
- |
104 |
-pkg_postrm() { |
105 |
- xdg_desktop_database_update |
106 |
- xdg_icon_cache_update |
107 |
-} |