diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /dev-cpp/sourcetrail | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'dev-cpp/sourcetrail')
-rw-r--r-- | dev-cpp/sourcetrail/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/dev-cpp/sourcetrail/Manifest b/dev-cpp/sourcetrail/Manifest index ac3d9419e0f6..85edc83bdcd8 100644 --- a/dev-cpp/sourcetrail/Manifest +++ b/dev-cpp/sourcetrail/Manifest @@ -5,5 +5,6 @@ DIST sourcetrail-2019.3.46.tar.gz 108528120 BLAKE2B f36e4e2eb98c28a4d4aa245df3cb EBUILD sourcetrail-2018.3.55-r1.ebuild 2645 BLAKE2B 068f43ee9af82004cb42f0e208f181908fd9d4a915ccdb4f2ce7b1ab7e0c1330cf047d2e0f3d3e68c2a30e4bf8596620c0a876120713d2100b8c8cfd43fb9876 SHA512 52016969c9b16fad78b45081dcf8415a1b64906ab5396585f3528d6bf5599de466c230101186577c3ce26f8091ff4fca979ea32b5c77f82e16ba6ec579847716 EBUILD sourcetrail-2019.1.11.ebuild 2645 BLAKE2B 068f43ee9af82004cb42f0e208f181908fd9d4a915ccdb4f2ce7b1ab7e0c1330cf047d2e0f3d3e68c2a30e4bf8596620c0a876120713d2100b8c8cfd43fb9876 SHA512 52016969c9b16fad78b45081dcf8415a1b64906ab5396585f3528d6bf5599de466c230101186577c3ce26f8091ff4fca979ea32b5c77f82e16ba6ec579847716 EBUILD sourcetrail-2019.2.39.ebuild 2631 BLAKE2B eb34b9af6e122ff8b07385ca66b2708a293c04c1c667dd19f1deab233e5c8524868a4b8c5e5be810954e06fcc466706d5279b6c3f6a396b6e7504c271420d5b4 SHA512 60eec98c2839717f02af04f785de4d2cea3f58d3b06036ebe1f4a5e917721bb6d78b7a02e7937c710c0ba0eefed03cc8ef3ccfedadf07a7283ccd981a31b17ac +EBUILD sourcetrail-2019.3.46-r1.ebuild 2657 BLAKE2B 19a55fdce216fee044e3d2e28771fab4ba9b08eccd92a7c7c65deba64a50c3c39dc31beb22e9d2ae06698e06234830af416b3bb68d9997045826c4100e24e8b7 SHA512 9aae1760178b75b30fd83a9543263dac9aae2dce09b0a16200fff98f9bab854c42fa9d4e07c9ee1517d85e55b210fc92dc7f9655e10dd0a0ce6dc93ff64f5233 EBUILD sourcetrail-2019.3.46.ebuild 2631 BLAKE2B eb34b9af6e122ff8b07385ca66b2708a293c04c1c667dd19f1deab233e5c8524868a4b8c5e5be810954e06fcc466706d5279b6c3f6a396b6e7504c271420d5b4 SHA512 60eec98c2839717f02af04f785de4d2cea3f58d3b06036ebe1f4a5e917721bb6d78b7a02e7937c710c0ba0eefed03cc8ef3ccfedadf07a7283ccd981a31b17ac MISC metadata.xml 445 BLAKE2B d04d2bd24a8c19606568123ce7a5f5b35a68bafd35728972b887232dd0bf501902ec4e91ebd2c782396d8a945fa6a456765c974dd45f7c004d5b543ff5e8e9e1 SHA512 d3682126116eb02bb50564213649fcac41f0c44fbcf481016bdcc0193fff7b71a64631883a2df21113c85d141f7c5fea3d463dd8c5a102ef24d9b69e1029b677 diff --git a/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild b/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild new file mode 100644 index 000000000000..e2d02701ebca --- /dev/null +++ b/dev-cpp/sourcetrail/sourcetrail-2019.3.46-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg-utils + +DESCRIPTION="A cross-platform source explorer for C/C++ and Java" +HOMEPAGE="https://www.sourcetrail.com/" +SRC_URI="https://www.sourcetrail.com/downloads/${PV}/linux/64bit -> ${P}.tar.gz" + +LICENSE="Sourcetrail || ( GPL-2 GPL-3 LGPL-3 ) BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples selinux" +RESTRICT="mirror bindist" + +DEPEND="dev-util/patchelf" + +RDEPEND=" + || ( + dev-libs/openssl-compat:1.0.0 + =dev-libs/openssl-1.0*:* + ) + dev-libs/libffi-compat:6 + media-libs/fontconfig + media-libs/freetype + media-libs/libpng:1.2 + sys-libs/libudev-compat + virtual/opengl + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrender + x11-libs/libXxf86vm + selinux? ( sys-libs/libselinux ) +" + +S="${WORKDIR}/Sourcetrail" +QA_PREBUILT="*" + +src_install() { + # This removes the rpath entries with $$ORIGIN + # since they trigger warnings when merging + for f in "Sourcetrail" "sourcetrail_indexer"; do + rpath=$(patchelf --print-rpath "${f}" 2>/dev/null) + new_rpath=${rpath//\$\$ORIGIN\/lib\/:/} + patchelf --set-rpath "${new_rpath}" "${f}" || die + done + + # Remove bundled libraries + rm -f lib/libXi.so.6 lib/libXxf86vm.so.1 lib/libXrender.so.1 lib/libXfixes.so.3 lib/libXext.so.6 \ + lib/libXdamage.so.1 lib/libxcb* lib/libXau.so.6 lib/libX11-xcb.so.1 lib/libX11.so.6 \ + lib/libudev.so.0 lib/libEGL.so.1 lib/libgbm.so.1 lib/libglapi.so.0 lib/libGL.so.1 \ + lib/libdrm.so.2 lib/libfontconfig.so.1 lib/libfreetype.so.6 lib/libcrypto.so lib/libssl.so \ + lib/libpng12.so.0 lib/libselinux.so.1 || die + insinto /opt/sourcetrail + doins -r EULA.txt README data lib plugin + use examples && doins -r user + exeinto /opt/sourcetrail + doexe Sourcetrail sourcetrail_indexer Sourcetrail.sh resetPreferences.sh + into /opt + newbin - sourcetrail <<-EOF + #! /bin/sh + exec /opt/sourcetrail/Sourcetrail.sh "\$@" + EOF + local size + for size in 48 64 128 256 512; do + newicon -s "${size}" "setup/share/icons/hicolor/${size}x${size}/apps/sourcetrail.png" \ + "sourcetrail.png" + done + sed -i -e 's|Exec=/usr/bin/sourcetrail|Exec=/opt/bin/sourcetrail|' \ + -e 's/Utilities;//' "setup/share/applications/sourcetrail.desktop" \ + "setup/share/applications/sourcetrail.desktop" || die + domenu "setup/share/applications/sourcetrail.desktop" +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |