Diff engauge-10.6 with a engauge-12.1
/usr/portage/media-gfx/engauge/engauge-12.1.ebuild 2023-10-09 14:52:31.620368404 +0300 | ||
---|---|---|
22 | 22 |
dev-qt/qtwidgets:5 |
23 | 23 |
dev-qt/qtxml:5 |
24 | 24 |
dev-libs/log4cpp |
25 |
media-libs/libpng:0= |
|
25 | 26 |
sci-libs/fftw:3.0 |
27 |
virtual/jpeg |
|
26 | 28 |
jpeg2k? ( media-libs/openjpeg:2 ) |
27 | 29 |
pdf? ( app-text/poppler[qt5] )" |
28 | 30 |
DEPEND="${RDEPEND}" |
31 |
BDEPEND="dev-qt/qthelp:5" |
|
29 | 32 | |
30 | 33 |
S=${WORKDIR}/engauge-digitizer-${PV} |
31 | 34 | |
32 |
PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) |
|
33 | ||
34 | 35 |
src_prepare() { |
35 |
default |
|
36 |
xdg_src_prepare |
|
36 | 37 | |
37 | 38 |
# Make sure the documentation is looked for in the proper directory |
38 | 39 |
sed -e "s:engauge-digitizer/engauge.qhc:${PF}/engauge.qhc:" \ |
... | ... | |
58 | 59 |
$(usex pdf "CONFIG+=pdf PKGCONFIG+=poppler-qt5" "") \ |
59 | 60 |
engauge.pro |
60 | 61 |
pushd help >/dev/null || die |
61 |
./build || die |
|
62 |
$(qt5_get_bindir)/qhelpgenerator engauge.qhp || die |
|
62 | 63 |
popd >/dev/null || die |
63 | 64 |
} |
64 | 65 | |
... | ... | |
68 | 69 |
make_desktop_entry engauge "Engauge Digitizer" engauge-digitizer Graphics |
69 | 70 | |
70 | 71 |
# Install qt help files |
71 |
dodoc bin/documentation/engauge.{qch,qhc} |
|
72 |
docompress -x "${EPREFIX}"/usr/share/doc/${PF}/engauge.{qch,qhc} |
|
72 |
dodoc help/engauge.qch |
|
73 |
docompress -x "${EPREFIX}"/usr/share/doc/${PF}/engauge.qch |
|
73 | 74 | |
74 | 75 |
use doc && dodoc -r doc/. |
75 | 76 |
if use examples; then |