Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/sourcetrail/
Date: Mon, 04 Feb 2019 13:42:34
Message-Id: 1549287689.d58ac35454622d22e8a3e2ab27b599d82692a42d.asturm@gentoo
1 commit: d58ac35454622d22e8a3e2ab27b599d82692a42d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 4 13:41:29 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 4 13:41:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58ac354
7
8 dev-cpp/sourcetrail: Drop old
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild | 89 ------------------------
14 1 file changed, 89 deletions(-)
15
16 diff --git a/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild b/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild
17 deleted file mode 100644
18 index 16d87f9d558..00000000000
19 --- a/dev-cpp/sourcetrail/sourcetrail-2018.3.55.ebuild
20 +++ /dev/null
21 @@ -1,89 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -inherit desktop gnome2-utils xdg-utils
28 -
29 -DESCRIPTION="A cross-platform source explorer for C/C++ and Java"
30 -HOMEPAGE="https://www.sourcetrail.com/"
31 -SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz"
32 -
33 -LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 BSD"
34 -SLOT="0"
35 -KEYWORDS="~amd64"
36 -IUSE="examples selinux"
37 -
38 -DEPEND="dev-util/patchelf"
39 -
40 -RDEPEND="
41 - dev-libs/openssl
42 - media-libs/fontconfig
43 - media-libs/freetype
44 - media-libs/libpng:1.2
45 - sys-libs/libudev-compat
46 - virtual/opengl
47 - x11-libs/libdrm
48 - x11-libs/libX11
49 - x11-libs/libXau
50 - x11-libs/libxcb
51 - x11-libs/libXdamage
52 - x11-libs/libXext
53 - x11-libs/libXfixes
54 - x11-libs/libXi
55 - x11-libs/libXrender
56 - x11-libs/libXxf86vm
57 - selinux? ( sys-libs/libselinux )
58 -"
59 -
60 -S="${WORKDIR}/Sourcetrail"
61 -QA_PREBUILT="*"
62 -
63 -src_install() {
64 - # This removes the rpath entries with $$ORIGIN
65 - # since they trigger warnings when merging
66 - for f in "Sourcetrail" "sourcetrail_indexer"; do
67 - rpath=$(patchelf --print-rpath "${f}" 2>/dev/null)
68 - new_rpath=${rpath//\$\$ORIGIN\/lib\/:/}
69 - patchelf --set-rpath "${new_rpath}" "${f}" || die
70 - done
71 -
72 - # Remove bundled libraries
73 - rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \
74 - lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \
75 - lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \
76 - lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \
77 - lib/libpng12.so.0 lib/libselinux.so.1
78 - insinto /opt/sourcetrail
79 - doins -r EULA.txt README data lib plugin
80 - if use examples; then
81 - doins -r user
82 - fi
83 - exeinto /opt/sourcetrail
84 - doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh
85 - into /opt
86 - newbin - sourcetrail <<-EOF
87 - #! /bin/sh
88 - exec /opt/sourcetrail/Sourcetrail.sh "\$@"
89 - EOF
90 - local size
91 - for size in 48 64 128 256 512; do
92 - newicon -s ${size} "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \
93 - "sourcetrail.png"
94 - done
95 - sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' "setup/share/applications/sourcetrail.desktop" || die
96 - sed -i -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" || die
97 - domenu "setup/share/applications/sourcetrail.desktop"
98 -}
99 -
100 -pkg_postinst() {
101 - gnome2_icon_cache_update
102 - xdg_mimeinfo_database_update
103 - xdg_desktop_database_update
104 -}
105 -
106 -pkg_postrm() {
107 - gnome2_icon_cache_update
108 - xdg_mimeinfo_database_update
109 - xdg_desktop_database_update
110 -}