diff options
-rw-r--r-- | app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.png | bin | 0 -> 4636 bytes | |||
-rw-r--r-- | app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.ebuild | 74 |
2 files changed, 74 insertions, 0 deletions
diff --git a/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.png b/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.png Binary files differnew file mode 100644 index 0000000..8da82e9 --- /dev/null +++ b/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.png diff --git a/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.ebuild b/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.ebuild new file mode 100644 index 0000000..75504cf --- /dev/null +++ b/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit rpm + +DESCRIPTION="LaCie LightScribe Labeler 4L" +HOMEPAGE="http://www.lacie.com/us/products/product.htm?pid=10803" +SRC_URI="http://www.lacie.com/files/lacie-content/download/drivers/LaCie%20LightScribe%20Labeler%201.0%20Linux.rpm -> ${P}.rpm + http://freenet.am/~v/distfiles/lacie-lightscribe-labeler-1.0.rpm" +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip" +DEPEND="" +RDEPEND="virtual/libc + =virtual/libstdc++-3* + sys-devel/gcc + dev-libs/libxml2 + media-libs/freetype + media-libs/fontconfig + sys-libs/zlib + || ( x11-libs/libX11 virtual/x11 ) + x11-libs/libXau + x11-libs/libXcursor + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrender + x11-libs/libXrandr + app-cdr/lightscribe + " + +S="${WORKDIR}" + +src_install() { + # we don't like /usr/4L, binary + # stuff shall go to /opt. + dodir /opt/${PN} + insinto /opt/${PN} + exeinto /opt/${PN} + doexe ./usr/4L/4L-cli + doexe ./usr/4L/4L-gui + # 4L-gui looks for translations in /usr/4L + # and the current directory, so we use a + # wrapper script for 4L-gui which changes + # to the installation directory first, so + # 4L-gui can find its translations + { + echo '#!/bin/sh'; + echo "cd /opt/${PN} && exec ./4L-gui" + } >${T}/4L-gui-wrapper.sh + doexe ${T}/4L-gui-wrapper.sh + doexe ./usr/4L/lacie_website.sh + dodir /opt/${PN}/templates + insinto /opt/${PN}/templates + doins ./usr/4L/templates/* + dodir /opt/${PN}/translations + insinto /opt/${PN}/translations + doins ./usr/4L/translations/* + dodoc ./usr/4L/doc/4L_User_Manual.pdf + dosym /opt/${PN}/4L-cli /usr/bin/4L-cli + dosym /opt/${PN}/4L-gui-wrapper.sh /usr/bin/4L-gui + dodir /opt/${PN}/icons + insinto /opt/${PN}/icons + doins ${FILESDIR}/${PN}.png + insinto /usr/share/applications/ + doins ${FILESDIR}/${PN}.desktop +} |