diff options
Diffstat (limited to 'net-im/tlenlinux-bin/tlenlinux-bin-7.0.1.22.ebuild')
-rw-r--r-- | net-im/tlenlinux-bin/tlenlinux-bin-7.0.1.22.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/net-im/tlenlinux-bin/tlenlinux-bin-7.0.1.22.ebuild b/net-im/tlenlinux-bin/tlenlinux-bin-7.0.1.22.ebuild index 6709532..aea6748 100644 --- a/net-im/tlenlinux-bin/tlenlinux-bin-7.0.1.22.ebuild +++ b/net-im/tlenlinux-bin/tlenlinux-bin-7.0.1.22.ebuild @@ -27,14 +27,24 @@ TLEN_DIR="/opt/tlen" src_unpack() { unpack_makeself cd data - # Use dynamic Qt libs + # Fix RPATH if has_version x11-libs/qt-phonon; then # Change RPATH ./chrpath -r ${TLEN_DIR}/tlen_libs \ - ./plugins/* ./tlen_libs/* ./tlen-bin ./updater > /dev/null + ./plugins/* ./tlen_libs/* ./tlen-bin ./updater \ + > /dev/null # Disable unset sed -i "s:unset:# unset:" tlen + # Remove unneeded libs + rm -rf qt_libs imageformats phonon_backend + else + ./chrpath -r ${TLEN_DIR}/qt_libs:${TLEN_DIR}/tlen_libs \ + ./plugins/* ./tlen_libs/* ./tlen-bin ./updater \ + ./imageformats/* ./phonon_backend/* ./qt_libs/* \ + > /dev/null fi + # Desktop icon fix + sed -i "s:.jpg:.png:" ../tlen.desktop check_license license.txt } |