# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PN="Panotour" MY_PV="${PV//.}_2012-03-16" MY_P="${MY_PN}_${PV//.}" ICON_PV="20120107" EAPI="4" inherit eutils multilib DESCRIPTION="Commercial GUI front-end to krpano from Kolor" HOMEPAGE="http://www.kolor.com/panotour-software-virtual-tours-360-home.html" SRC_URI="amd64? ( ftp://ftp.autopano.net/releases/${MY_PN}_Linux64_${MY_PV}.tar.gz ) x86? ( ftp://ftp.autopano.net/releases/${MY_PN}_Linux32_${MY_PV}.tar.gz ) http://www.autopano.net/wiki-en/images-en/3/3b/Logo-Panotour-2010.png -> ${PN}-icon-${ICON_PV}.png" LICENSE="" SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="" RESTRICT="mirror" DEPEND="" RDEPEND="dev-cpp/tbb x11-libs/libX11 virtual/glu virtual/opengl" S="${WORKDIR}/${MY_P}" DIR="/opt/${PN}" QA_PREBUILT="${DIR}/${PN} ${DIR}/libQt*.so.4 ${DIR}/plugins/imageformats/*.so" src_install() { exeinto "${DIR}" newexe "${MY_P}" "${PN}" doexe libKGFL_linux??.so libQt*.so.4 insinto "${DIR}" doins qt.conf exeinto "${DIR}/plugins/imageformats" doexe plugins/imageformats/*.so newicon "${DISTDIR}/${PN}-icon-${ICON_PV}.png" "${PN}.png" make_wrapper "${PN}" "${DIR}/${PN}" "" "${DIR}" make_desktop_entry "${PN}" "Panotour" }