Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 508990 Details for
Bug 621818
net-misc/teamviewer-13 version bump (was: pkgmove -> net-misc/teamviewer-bin?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preliminary ebuild for current Linux preview 13.0.5693 (amd64, x86)
teamviewer-bin-13.0.5693.ebuild (text/plain), 4.92 KB, created by
Maxxim
on 2017-12-09 07:36:28 UTC
(
hide
)
Description:
Preliminary ebuild for current Linux preview 13.0.5693 (amd64, x86)
Filename:
MIME Type:
Creator:
Maxxim
Created:
2017-12-09 07:36:28 UTC
Size:
4.92 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 > ># Import eutils (newicon, make_desktop_entry), systemd (systemd_dounit), gnome2-utils (gnome2_icon_cache_update) >inherit eutils systemd gnome2-utils > ># Determine major version (required to determine download URL) >MY_MV=${PV/\.*} > ># Package name without '-bin' (used for download URL, paths and filenames) >MY_PN=${PN/-bin/} > ># Application name (used for application menu entry, icon filenames) >MY_AN="TeamViewer" > ># Package information >DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" >HOMEPAGE="https://www.teamviewer.com" >SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${MY_MV}x/${MY_PN}_${PV}_amd64.tar.xz ) > x86? ( https://dl.tvcdn.de/download/linux/version_${MY_MV}x/${MY_PN}_${PV}_i386.tar.xz )" >SLOT=0 >KEYWORDS="-* ~amd64 ~x86" >RESTRICT="bindist mirror" > ># Licenses (TeamViewer, bundled xdg-utils) >LICENSE="TeamViewer MIT" > ># Required dependencies >RDEPEND="app-arch/snappy > dev-db/sqlite:3 > dev-libs/double-conversion > dev-libs/icu > dev-libs/leveldb > dev-libs/libbsd > dev-qt/qtcore:5 > dev-qt/qtdbus:5 > dev-qt/qtdeclarative:5 > dev-qt/qtgui:5 > dev-qt/qtnetwork:5 > dev-qt/qtopengl:5 > dev-qt/qtquickcontrols:5 > dev-qt/qtsql:5 > dev-qt/qtwebkit:5 > dev-qt/qtwidgets:5 > dev-qt/qtx11extras:5 > media-gfx/graphite2 > media-libs/freetype:2 > media-libs/harfbuzz > media-libs/libjpeg-turbo > media-libs/libpng > media-libs/mesa > sys-apps/dbus > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXcomposite > x11-libs/libXdamage > x11-libs/libXdmcp > x11-libs/libXext > x11-libs/libXfixes > x11-libs/libXrender > x11-libs/libXxf86vm > x11-libs/libdrm > x11-libs/libxcb > x11-libs/libxshmfence" > ># Silence QA messages >QA_PREBUILT="opt/${MY_PN}/*" > ># Set temporary build directory to subdirectory of archive >S=${WORKDIR}/${MY_PN} > > >src_prepare() { > > # Call default handler (mandatory, handles PATCHES variable and user patches) > default > > # Switch operation mode from 'portable' to 'installed' > sed -i 's/TAR_NI/TAR_IN/g' tv_bin/script/tvw_config || die > >} > > >src_install() { > > # Define install destination > local dst="/opt/${MY_PN}" > > # Quirk: > # On amd64, remove 32-bit binary 'libdepend', as it will trip the 'emerge > # @preserved-libs' logic when changing the ABI of one of the dependencies; > # According to the TeamViewer devs, this binary is just an unused remnant > # of previous Wine-based builds and will be removed in future releases > if use amd64; then > rm tv_bin/script/libdepend > fi > > # Install application files/ressources > insinto ${dst} > doins -r tv_bin > > # Restore permissions for executables > for exe in $(find tv_bin -type f -executable); do > fperms 755 ${dst}/${exe} > done > > # Restore permissions for libraries > for lib in $(find tv_bin -type f -name '*.so*'); do > fperms 755 ${dst}/${lib} > done > > # Install daemon init script and systemd service > newinitd ${FILESDIR}/${MY_PN}d.init ${MY_PN}d > systemd_dounit tv_bin/script/teamviewerd.service > > # Install D-Bus services > insinto /usr/share/dbus-1/services > doins tv_bin/script/com.teamviewer.TeamViewer.service > doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service > > # Install Polkit policy > insinto /usr/share/polkit-1/actions > doins tv_bin/script/com.teamviewer.TeamViewer.policy > > # Install application icons > for size in 16 24 32 48 256; do > newicon -s $size tv_bin/desktop/${MY_PN}_$size.png ${MY_AN}.png > done > > # Install documents > for doc in $(find doc -type f); do > dodoc $doc > done > > # Create directory and symlink for global config > keepdir /etc/${MY_PN} > dosym /etc/${MY_PN} ${dst}/config > > # Create directory and symlink for log files > keepdir /var/log/${MY_PN} > dosym /var/log/${MY_PN} ${dst}/logfiles > > # Create symlinks to main executables in /opt/bin > dodir /opt/bin > dosym ${dst}/tv_bin/${MY_PN}d /opt/bin/${MY_PN}d > dosym ${dst}/tv_bin/script/${MY_PN} /opt/bin/${MY_PN} > > # Create application menu entry > make_desktop_entry ${MY_PN} ${MY_AN} ${MY_AN} > >} > > >pkg_postinst() { > > # Update Gnome icon cache (advised to be called in both pkg_postinst and pkg_postrm) > gnome2_icon_cache_update > > # Elog notes > elog "Before using TeamViewer, you need to start its daemon:" > elog "OpenRC:" > elog "# /etc/init.d/teamviewerd start" > elog "Systemd:" > elog "# systemctl start teamviewerd.service" > elog "" > elog "You might want to automatically start the daemon at boot:" > elog "OpenRC:" > elog "# rc-update add teamviewerd default" > elog "Systemd:" > elog "# systemctl enable teamviewerd.service" > elog "" > elog "To display additional command line options simply run:" > elog "# teamviewer help" > >} > > >pkg_postrm() { > > # Update Gnome icon cache (advised to be called in both pkg_postinst and pkg_postrm) > gnome2_icon_cache_update > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 621818
:
476520
|
476522
|
508454
|
508474
|
508630
|
508772
|
508774
|
508776
|
508784
|
508798
|
508800
|
508990
|
509890
|
510024
|
510576
|
511058
|
511060