axs         14/11/12 23:18:50

  Modified:             teamviewer-7.0.9377.ebuild ChangeLog
  Added:                teamviewer-9.0.32150.ebuild
  Removed:              teamviewer-9.0.30203-r1.ebuild
  Log:
  fixed what i botched, plus adjusted SRC_URI for 7.x so it downloads
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
2B6559ED)

Revision  Changes    Path
1.5                  net-misc/teamviewer/teamviewer-7.0.9377.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-7.0.9377.ebuild?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-7.0.9377.ebuild?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-7.0.9377.ebuild?r1=1.4&r2=1.5

Index: teamviewer-7.0.9377.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/net-misc/teamviewer/teamviewer-7.0.9377.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- teamviewer-7.0.9377.ebuild  18 Jun 2014 20:40:59 -0000      1.4
+++ teamviewer-7.0.9377.ebuild  12 Nov 2014 23:18:50 -0000      1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/net-misc/teamviewer/teamviewer-7.0.9377.ebuild,v 1.4 
2014/06/18 20:40:59 mgorny Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/net-misc/teamviewer/teamviewer-7.0.9377.ebuild,v 1.5 
2014/11/12 23:18:50 axs Exp $
 
 EAPI=5
 
@@ -11,7 +11,7 @@
 MY_PN=${PN}-${MV}
 DESCRIPTION="All-In-One Solution for Remote Access and Support over the 
Internet"
 HOMEPAGE="http://www.teamviewer.com";
-SRC_URI="https://www.teamviewer.com/download/version_${MV}x/teamviewer_linux.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="http://download.teamviewer.com/download/version_${MV}x/teamviewer_linux.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="TeamViewer !system-wine? ( LGPL-2.1 )"
 SLOT=${MV}



1.13                 net-misc/teamviewer/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/teamviewer/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   12 Nov 2014 22:51:13 -0000      1.12
+++ ChangeLog   12 Nov 2014 23:18:50 -0000      1.13
@@ -1,6 +1,13 @@
 # ChangeLog for net-misc/teamviewer
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/teamviewer/ChangeLog,v 1.12 
2014/11/12 22:51:13 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/teamviewer/ChangeLog,v 1.13 
2014/11/12 23:18:50 axs Exp $
+
+*teamviewer-9.0.32150 (12 Nov 2014)
+
+  12 Nov 2014; Ian Stakenvicius (_AxS_) <[email protected]>
+  +teamviewer-9.0.32150.ebuild, -teamviewer-9.0.30203-r1.ebuild,
+  teamviewer-7.0.9377.ebuild:
+  fixed what i botched, plus adjusted SRC_URI for 7.x so it downloads
 
 *teamviewer-9.0.30203-r1 (12 Nov 2014)
 



1.1                  net-misc/teamviewer/teamviewer-9.0.32150.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-9.0.32150.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/teamviewer-9.0.32150.ebuild?rev=1.1&content-type=text/plain

Index: teamviewer-9.0.32150.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-misc/teamviewer/teamviewer-9.0.32150.ebuild,v 1.1 
2014/11/12 23:18:50 axs Exp $

EAPI=5

inherit eutils gnome2-utils systemd unpacker

# Major version
MV=${PV/\.*}
MY_PN=${PN}${MV}
DESCRIPTION="All-In-One Solution for Remote Access and Support over the 
Internet"
HOMEPAGE="http://www.teamviewer.com";
SRC_URI="http://www.teamviewer.com/download/version_${MV}x/teamviewer_linux.deb 
-> ${P}.deb"

LICENSE="TeamViewer !system-wine? ( LGPL-2.1 )"
SLOT=${MV}
KEYWORDS="~amd64 ~x86"
IUSE="system-wine"

RESTRICT="mirror"

RDEPEND="
        app-shells/bash
        x11-misc/xdg-utils
        !system-wine? (
                || (
                        (
                                media-libs/alsa-lib[abi_x86_32(-)]
                                media-libs/freetype[abi_x86_32(-)]
                                sys-libs/zlib[abi_x86_32(-)]
                                x11-libs/libX11[abi_x86_32(-)]
                                x11-libs/libXau[abi_x86_32(-)]
                                x11-libs/libXdamage[abi_x86_32(-)]
                                x11-libs/libXext[abi_x86_32(-)]
                                x11-libs/libXfixes[abi_x86_32(-)]
                                x11-libs/libXrandr[abi_x86_32(-)]
                                x11-libs/libXrender[abi_x86_32(-)]
                                x11-libs/libSM[abi_x86_32(-)]
                                x11-libs/libXtst[abi_x86_32(-)]
                        )
                        (
                                
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
                                
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
                                
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
                        )

                )
        )
        system-wine? ( app-emulation/wine )"

QA_PREBUILT="opt/teamviewer${MV}/*"

S=${WORKDIR}/opt/teamviewer${MV}/tv_bin

make_winewrapper() {
        cat << EOF > "${T}/${MY_PN}"
#!/bin/sh
export WINEDLLPATH=/opt/${MY_PN}
exec wine "/opt/${MY_PN}/TeamViewer.exe" "\$@"
EOF
        chmod go+rx "${T}/${MY_PN}"
        exeinto /opt/bin
        doexe "${T}/${MY_PN}"
}

src_prepare() {
        epatch "${FILESDIR}"/${P}-gentoo.patch

        sed \
                -e "s#@TVV@#${MV}/tv_bin#g" \
                "${FILESDIR}"/${PN}d.init > "${T}"/${PN}d${MV} || die
}

src_install () {
        if use system-wine ; then
                make_winewrapper
                exeinto /opt/${MY_PN}
                doexe wine/drive_c/TeamViewer/*
        else
                # install scripts and .reg
                insinto /opt/${MY_PN}/tv_bin
                doins -r *

                exeinto /opt/${MY_PN}/tv_bin
                doexe TeamViewer_Desktop
                exeinto /opt/${MY_PN}/tv_bin/script
                doexe script/teamviewer 
script/tvw_{aux,config,exec,extra,main,profile}

                dosym /opt/${MY_PN}/tv_bin/script/${PN} /opt/bin/${MY_PN}

                # fix permissions
                fperms 755 
/opt/${MY_PN}/tv_bin/wine/bin/wine{,-preloader,server}
                fperms 755 
/opt/${MY_PN}/tv_bin/wine/drive_c/TeamViewer/TeamViewer.exe
                find "${D}"/opt/${MY_PN} -type f -name "*.so*" -execdir chmod 
755 '{}' \;
        fi

        # install daemon binary
        exeinto /opt/${MY_PN}/tv_bin
        doexe ${PN}d

        # set up logdir
        keepdir /var/log/${MY_PN}
        dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles

        # set up config dir
        keepdir /etc/${MY_PN}
        dosym /etc/${MY_PN} /opt/${MY_PN}/config

        doinitd "${T}"/${PN}d${MV}
        systemd_newunit script/${PN}d.service ${PN}d${MV}.service

        newicon -s 48 desktop/${PN}.png ${MY_PN}.png
        dodoc ../doc/linux_FAQ_{EN,DE}.txt
        make_desktop_entry ${MY_PN} TeamViewer ${MY_PN}
}

pkg_preinst() {
        gnome2_icon_savelist
}

pkg_postinst() {
        gnome2_icon_cache_update

        if use system-wine ; then
                echo
                eerror "IMPORTANT NOTICE!"
                elog "Using ${PN} with system wine is not supported and 
experimental."
                elog "Do not report gentoo bugs while using this version."
                echo
        fi

        eerror "STARTUP NOTICE:"
        elog "You cannot start the daemon via \"teamviewer --daemon start\"."
        elog "Instead use the provided gentoo initscript:"
        elog "  /etc/init.d/${PN}d${MV} start"
        elog
        elog "Logs are written to \"/var/log/teamviewer${MV}\""
}

pkg_postrm() {
        gnome2_icon_cache_update
}




Reply via email to