Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: app-text/goldendict/, app-text/goldendict/files/
Date: Wed, 03 Aug 2022 09:14:31
Message-Id: 1659517987.394f4afe218a3c4585d0eb2acb768cba782803e8.asturm@gentoo
1 commit: 394f4afe218a3c4585d0eb2acb768cba782803e8
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 3 09:12:53 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 3 09:13:07 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=394f4afe
7
8 app-text/goldendict: treeclean
9
10 dev-qt/qtwebkit is long gone from Gentoo.
11
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 ...endict-1.5.0-qtsingleapplication-unbundle.patch | 18 -----
15 app-text/goldendict/goldendict-9999.ebuild | 81 ----------------------
16 app-text/goldendict/metadata.xml | 8 ---
17 3 files changed, 107 deletions(-)
18
19 diff --git a/app-text/goldendict/files/goldendict-1.5.0-qtsingleapplication-unbundle.patch b/app-text/goldendict/files/goldendict-1.5.0-qtsingleapplication-unbundle.patch
20 deleted file mode 100644
21 index 01fdb3b2..00000000
22 --- a/app-text/goldendict/files/goldendict-1.5.0-qtsingleapplication-unbundle.patch
23 +++ /dev/null
24 @@ -1,18 +0,0 @@
25 ---- a/goldendict.pro
26 -+++ b/goldendict.pro
27 -@@ -36,7 +36,8 @@
28 - QT += sql
29 - CONFIG += exceptions \
30 - rtti \
31 -- stl
32 -+ stl \
33 -+ qtsingleapplication
34 - OBJECTS_DIR = build
35 - UI_DIR = build
36 - MOC_DIR = build
37 -@@ -632,5 +633,3 @@
38 - TS_OUT ~= s/.ts/.qm/g
39 - PRE_TARGETDEPS += $$TS_OUT
40 -
41 --include( qtsingleapplication/src/qtsingleapplication.pri )
42 --
43
44 diff --git a/app-text/goldendict/goldendict-9999.ebuild b/app-text/goldendict/goldendict-9999.ebuild
45 deleted file mode 100644
46 index e0b7a2f4..00000000
47 --- a/app-text/goldendict/goldendict-9999.ebuild
48 +++ /dev/null
49 @@ -1,81 +0,0 @@
50 -# Copyright 1999-2019 Gentoo Authors
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI=7
54 -
55 -inherit desktop git-r3 qmake-utils
56 -
57 -DESCRIPTION="Feature-rich dictionary lookup program"
58 -HOMEPAGE="http://goldendict.org/"
59 -EGIT_REPO_URI="https://github.com/goldendict/goldendict.git"
60 -
61 -LICENSE="GPL-3"
62 -SLOT="0"
63 -KEYWORDS=""
64 -IUSE="debug ffmpeg"
65 -
66 -BDEPEND="
67 - dev-qt/linguist-tools:5
68 - virtual/pkgconfig
69 -"
70 -DEPEND="
71 - app-arch/bzip2
72 - >=app-text/hunspell-1.2:=
73 - dev-libs/eb
74 - dev-libs/lzo
75 - dev-qt/qtcore:5
76 - dev-qt/qtgui:5
77 - dev-qt/qthelp:5
78 - dev-qt/qtnetwork:5
79 - dev-qt/qtprintsupport:5
80 - dev-qt/qtsingleapplication[qt5(+),X]
81 - dev-qt/qtsvg:5
82 - dev-qt/qtwebkit:5
83 - dev-qt/qtwidgets:5
84 - dev-qt/qtx11extras:5
85 - dev-qt/qtxml:5
86 - media-libs/libvorbis
87 - media-libs/tiff:0
88 - sys-libs/zlib
89 - x11-libs/libX11
90 - x11-libs/libXtst
91 - ffmpeg? (
92 - media-libs/libao
93 - media-video/ffmpeg:0=
94 - )
95 -"
96 -RDEPEND="${DEPEND}"
97 -
98 -PATCHES=( "${FILESDIR}/${PN}-1.5.0-qtsingleapplication-unbundle.patch" )
99 -
100 -src_prepare() {
101 - default
102 -
103 - # disable git
104 - sed -i -e '/git describe/s/^/#/' ${PN}.pro || die
105 -
106 - # fix installation path
107 - sed -i -e '/PREFIX = /s:/usr/local:/usr:' ${PN}.pro || die
108 -
109 - # add trailing semicolon
110 - sed -i -e '/^Categories/s/$/;/' redist/${PN}.desktop || die
111 -}
112 -
113 -src_configure() {
114 - local myconf=()
115 - use ffmpeg || myconf+=( DISABLE_INTERNAL_PLAYER=1 )
116 -
117 - eqmake5 "${myconf[@]}"
118 -}
119 -
120 -src_install() {
121 - dobin ${PN}
122 - domenu redist/${PN}.desktop
123 - doicon redist/icons/${PN}.png
124 -
125 - insinto /usr/share/apps/${PN}/locale
126 - doins locale/*.qm
127 -
128 - insinto /usr/share/${PN}/help
129 - doins help/*.qch
130 -}
131
132 diff --git a/app-text/goldendict/metadata.xml b/app-text/goldendict/metadata.xml
133 deleted file mode 100644
134 index 610d2d8e..00000000
135 --- a/app-text/goldendict/metadata.xml
136 +++ /dev/null
137 @@ -1,8 +0,0 @@
138 -<?xml version="1.0" encoding="UTF-8"?>
139 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
140 -<pkgmetadata>
141 - <maintainer type="project">
142 - <email>qt@g.o</email>
143 - <name>Gentoo Qt Project</name>
144 - </maintainer>
145 -</pkgmetadata>