From 8b8386ef86a8e5b5dfd06c0ac08be855551c53be Mon Sep 17 00:00:00 2001 From: Norayr Mirakyan Date: Fri, 28 Aug 2015 08:25:20 +0400 Subject: some lightscribe ebuilds --- app-cdr/lacie-lightscribe-labeler/Manifest | 3 + .../files/digest-lacie-lightscribe-labeler-1.0.6 | 3 + .../files/lacie-lightscribe-labeler.desktop | 9 +++ .../lacie-lightscribe-labeler-1.0.6.ebuild | 74 ++++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 app-cdr/lacie-lightscribe-labeler/Manifest create mode 100644 app-cdr/lacie-lightscribe-labeler/files/digest-lacie-lightscribe-labeler-1.0.6 create mode 100644 app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop create mode 100644 app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.6.ebuild (limited to 'app-cdr/lacie-lightscribe-labeler') diff --git a/app-cdr/lacie-lightscribe-labeler/Manifest b/app-cdr/lacie-lightscribe-labeler/Manifest new file mode 100644 index 0000000..045688d --- /dev/null +++ b/app-cdr/lacie-lightscribe-labeler/Manifest @@ -0,0 +1,3 @@ +AUX lacie-lightscribe-labeler.desktop 284 SHA256 7e9d03a81c0493504e45ceaf9380e1560a2e9bdbbd6e488381989dab0f36399a SHA512 5fa5d3d6a317b7e270f62c86c55f97f393c7d7d3c58866df0aaa6a0984833a872b79bcc4462d68af31f2869db3626198d21b1f7cdbfafa3702a175209d2b3da4 WHIRLPOOL aba5e29e794ad3c1bbadbf018b15fef7a5eee19ca83866690db33d29531b725ac6ea1c521bb0421584345b5cca4db8e89855e85fe3e6b01e04ca011cec9de974 +DIST 4L-1.0-r6.i586.rpm 3603229 SHA256 7d6a04ed0ca5d129d992160ede24d59f992293f5cb003578e719a52a92530724 SHA512 29ee29520a843095b7fd8269f9f402c70a6c491739451efe4959e6fdfc8739bbed5286dd0ebaf72d5120350add6a31114d48c04be210dae81c87be3704543329 WHIRLPOOL 94c9820b584a2698305e896c708660e78913104a7deba9e7fa50895d84a0b813fe7c2274c2adc7c657c77f49766f8d870a6d12bc8b20bc6ec295ffc041dde104 +EBUILD lacie-lightscribe-labeler-1.0.6.ebuild 1779 SHA256 3461da1bc838992788c85dd273ded7b320ab242b262eaa9ad6d3bad9238e3a0f SHA512 5a138bbd76f5416855125d0b898ee2af92a934dc45a8e7ba32c4959cc893079b2b8b4f6b92d5a5f3532c6e988f770ef1ab254c0a971ed5f198460067e4d6e8b4 WHIRLPOOL f41673d8606944d8e6ab9b6243667d6c1dd1de87bb6b3be0cd91dc14a625456567eed465d1a1883a46adab4f56985b45ac5b5a3332d58c5e47a20994a4d790a7 diff --git a/app-cdr/lacie-lightscribe-labeler/files/digest-lacie-lightscribe-labeler-1.0.6 b/app-cdr/lacie-lightscribe-labeler/files/digest-lacie-lightscribe-labeler-1.0.6 new file mode 100644 index 0000000..70397c4 --- /dev/null +++ b/app-cdr/lacie-lightscribe-labeler/files/digest-lacie-lightscribe-labeler-1.0.6 @@ -0,0 +1,3 @@ +MD5 11fc8b2daeaed2b61a567056413bdefd 4L-1.0-r6.i586.rpm 3603229 +RMD160 2ae0a33ae1051c793a623784a5abf04b149c5372 4L-1.0-r6.i586.rpm 3603229 +SHA256 7d6a04ed0ca5d129d992160ede24d59f992293f5cb003578e719a52a92530724 4L-1.0-r6.i586.rpm 3603229 diff --git a/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop b/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop new file mode 100644 index 0000000..b2c57d4 --- /dev/null +++ b/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=LaCie LightScribe Labeler 4L +Comment=LaCie LightScribe Optical Media Labeling Software +Exec=4L-gui +Icon=/usr/share/apps/k3b/icons/hicolor/48x48/actions/cdburn.png +Type=Application +Terminal=false +Encoding=UTF-8 +Categories=Application;AudioVideo;DiscBurning;System diff --git a/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.6.ebuild b/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.6.ebuild new file mode 100644 index 0000000..a4e3252 --- /dev/null +++ b/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit rpm + +DESCRIPTION="LaCie LightScribe Labeler 4L" +HOMEPAGE="http://www.lacie.com/us/products/product.htm?pid=10803" +SRC_URI="http://www.lacie.com/download/drivers/4L-1.0-r6.i586.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 + " + +src_unpack() { + rpm_src_unpack +} + +src_compile() { :; } + +src_install() { + cd ${WORKDIR} + + # 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 + insinto /usr/share/applications/ + doins ${FILESDIR}/${PN}.desktop +} -- cgit v1.2.3-65-gdbad