Gentoo Archives: gentoo-commits

From: Norayr Mirakyan <norayr.am@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/goris:master commit in: app-cdr/lacie-lightscribe-labeler/, app-cdr/lacie-lightscribe-labeler/files/, ...
Date: Fri, 28 Aug 2015 04:27:09
Message-Id: 1440735920.8b8386ef86a8e5b5dfd06c0ac08be855551c53be.norayr.am@gentoo
1 commit: 8b8386ef86a8e5b5dfd06c0ac08be855551c53be
2 Author: Norayr Mirakyan <norayr.am <AT> gmail <DOT> com>
3 AuthorDate: Fri Aug 28 04:25:20 2015 +0000
4 Commit: Norayr Mirakyan <norayr.am <AT> gmail <DOT> com>
5 CommitDate: Fri Aug 28 04:25:20 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/user/goris.git/commit/?id=8b8386ef
7
8 some lightscribe ebuilds
9
10 app-cdr/lacie-lightscribe-labeler/Manifest | 3 +
11 .../files/digest-lacie-lightscribe-labeler-1.0.6 | 3 +
12 .../files/lacie-lightscribe-labeler.desktop | 9 +++
13 .../lacie-lightscribe-labeler-1.0.6.ebuild | 74 ++++++++++++++++++++++
14 app-cdr/lightscribe/Manifest | 3 +
15 app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild | 73 +++++++++++++++++++++
16 6 files changed, 165 insertions(+)
17
18 diff --git a/app-cdr/lacie-lightscribe-labeler/Manifest b/app-cdr/lacie-lightscribe-labeler/Manifest
19 new file mode 100644
20 index 0000000..045688d
21 --- /dev/null
22 +++ b/app-cdr/lacie-lightscribe-labeler/Manifest
23 @@ -0,0 +1,3 @@
24 +AUX lacie-lightscribe-labeler.desktop 284 SHA256 7e9d03a81c0493504e45ceaf9380e1560a2e9bdbbd6e488381989dab0f36399a SHA512 5fa5d3d6a317b7e270f62c86c55f97f393c7d7d3c58866df0aaa6a0984833a872b79bcc4462d68af31f2869db3626198d21b1f7cdbfafa3702a175209d2b3da4 WHIRLPOOL aba5e29e794ad3c1bbadbf018b15fef7a5eee19ca83866690db33d29531b725ac6ea1c521bb0421584345b5cca4db8e89855e85fe3e6b01e04ca011cec9de974
25 +DIST 4L-1.0-r6.i586.rpm 3603229 SHA256 7d6a04ed0ca5d129d992160ede24d59f992293f5cb003578e719a52a92530724 SHA512 29ee29520a843095b7fd8269f9f402c70a6c491739451efe4959e6fdfc8739bbed5286dd0ebaf72d5120350add6a31114d48c04be210dae81c87be3704543329 WHIRLPOOL 94c9820b584a2698305e896c708660e78913104a7deba9e7fa50895d84a0b813fe7c2274c2adc7c657c77f49766f8d870a6d12bc8b20bc6ec295ffc041dde104
26 +EBUILD lacie-lightscribe-labeler-1.0.6.ebuild 1779 SHA256 3461da1bc838992788c85dd273ded7b320ab242b262eaa9ad6d3bad9238e3a0f SHA512 5a138bbd76f5416855125d0b898ee2af92a934dc45a8e7ba32c4959cc893079b2b8b4f6b92d5a5f3532c6e988f770ef1ab254c0a971ed5f198460067e4d6e8b4 WHIRLPOOL f41673d8606944d8e6ab9b6243667d6c1dd1de87bb6b3be0cd91dc14a625456567eed465d1a1883a46adab4f56985b45ac5b5a3332d58c5e47a20994a4d790a7
27
28 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
29 new file mode 100644
30 index 0000000..70397c4
31 --- /dev/null
32 +++ b/app-cdr/lacie-lightscribe-labeler/files/digest-lacie-lightscribe-labeler-1.0.6
33 @@ -0,0 +1,3 @@
34 +MD5 11fc8b2daeaed2b61a567056413bdefd 4L-1.0-r6.i586.rpm 3603229
35 +RMD160 2ae0a33ae1051c793a623784a5abf04b149c5372 4L-1.0-r6.i586.rpm 3603229
36 +SHA256 7d6a04ed0ca5d129d992160ede24d59f992293f5cb003578e719a52a92530724 4L-1.0-r6.i586.rpm 3603229
37
38 diff --git a/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop b/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop
39 new file mode 100644
40 index 0000000..b2c57d4
41 --- /dev/null
42 +++ b/app-cdr/lacie-lightscribe-labeler/files/lacie-lightscribe-labeler.desktop
43 @@ -0,0 +1,9 @@
44 +[Desktop Entry]
45 +Name=LaCie LightScribe Labeler 4L
46 +Comment=LaCie LightScribe Optical Media Labeling Software
47 +Exec=4L-gui
48 +Icon=/usr/share/apps/k3b/icons/hicolor/48x48/actions/cdburn.png
49 +Type=Application
50 +Terminal=false
51 +Encoding=UTF-8
52 +Categories=Application;AudioVideo;DiscBurning;System
53
54 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
55 new file mode 100644
56 index 0000000..a4e3252
57 --- /dev/null
58 +++ b/app-cdr/lacie-lightscribe-labeler/lacie-lightscribe-labeler-1.0.6.ebuild
59 @@ -0,0 +1,74 @@
60 +# Copyright 1999-2007 Gentoo Foundation
61 +# Distributed under the terms of the GNU General Public License v2
62 +# $Header$
63 +
64 +inherit rpm
65 +
66 +DESCRIPTION="LaCie LightScribe Labeler 4L"
67 +HOMEPAGE="http://www.lacie.com/us/products/product.htm?pid=10803"
68 +SRC_URI="http://www.lacie.com/download/drivers/4L-1.0-r6.i586.rpm"
69 +LICENSE=""
70 +SLOT="0"
71 +KEYWORDS="~amd64 ~x86"
72 +IUSE=""
73 +RESTRICT="mirror strip"
74 +DEPEND=""
75 +RDEPEND="virtual/libc
76 + =virtual/libstdc++-3*
77 + sys-devel/gcc
78 + dev-libs/libxml2
79 + media-libs/freetype
80 + media-libs/fontconfig
81 + sys-libs/zlib
82 + || ( x11-libs/libX11 virtual/x11 )
83 + x11-libs/libXau
84 + x11-libs/libXcursor
85 + x11-libs/libXdmcp
86 + x11-libs/libXext
87 + x11-libs/libXfixes
88 + x11-libs/libXi
89 + x11-libs/libXinerama
90 + x11-libs/libXrender
91 + x11-libs/libXrandr
92 + app-cdr/lightscribe
93 + "
94 +
95 +src_unpack() {
96 + rpm_src_unpack
97 +}
98 +
99 +src_compile() { :; }
100 +
101 +src_install() {
102 + cd ${WORKDIR}
103 +
104 + # we don't like /usr/4L, binary
105 + # stuff shall go to /opt.
106 + dodir /opt/${PN}
107 + insinto /opt/${PN}
108 + exeinto /opt/${PN}
109 + doexe ./usr/4L/4L-cli
110 + doexe ./usr/4L/4L-gui
111 + # 4L-gui looks for translations in /usr/4L
112 + # and the current directory, so we use a
113 + # wrapper script for 4L-gui which changes
114 + # to the installation directory first, so
115 + # 4L-gui can find its translations
116 + {
117 + echo '#!/bin/sh';
118 + echo "cd /opt/${PN} && exec ./4L-gui"
119 + } >${T}/4L-gui-wrapper.sh
120 + doexe ${T}/4L-gui-wrapper.sh
121 + doexe ./usr/4L/lacie_website.sh
122 + dodir /opt/${PN}/templates
123 + insinto /opt/${PN}/templates
124 + doins ./usr/4L/templates/*
125 + dodir /opt/${PN}/translations
126 + insinto /opt/${PN}/translations
127 + doins ./usr/4L/translations/*
128 + dodoc ./usr/4L/doc/4L_User_Manual.pdf
129 + dosym /opt/${PN}/4L-cli /usr/bin/4L-cli
130 + dosym /opt/${PN}/4L-gui-wrapper.sh /usr/bin/4L-gui
131 + insinto /usr/share/applications/
132 + doins ${FILESDIR}/${PN}.desktop
133 +}
134
135 diff --git a/app-cdr/lightscribe/Manifest b/app-cdr/lightscribe/Manifest
136 new file mode 100644
137 index 0000000..2f81d93
138 --- /dev/null
139 +++ b/app-cdr/lightscribe/Manifest
140 @@ -0,0 +1,3 @@
141 +DIST lightscribe-1.18.27.10-linux-2.6-intel.rpm 825987 SHA256 069703c3b5a572191f53697fcccb83504bb1c2405382d02d952fe5d4f12f2643 SHA512 b13b90696014e82c2beb3fee5cdbb255ee24e43cd1391078cf76ae47bcef034a7039eee4ed96aae1599cadfd9bff53cef37dbcfbe7020caed0b3f7f6f82ccdd6 WHIRLPOOL 6e13eabe7b095304dc66c3cb8c6ed8b9d7912032a9ab9bb0a0340b747c540f171c39ce4fa55e3d82042df0f9a979348e28f7353a0f7cc7a6e2b04a405822b351
142 +DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf SHA512 e1264907e9bc690be99e125ec574f5233ed0c82c8e1651823d4b2629a5d2e31c0325c9e6c80c87090a9bd1cf4708d28ff33429281dffbfae931d7d2eab5a9f10 WHIRLPOOL 241232974a6e07214d4e57a5f68b3fb3d0827db2960a72d193b214980fb9ae16d1689f967ef5c5074eb98b0643160ddaa78c966e9467839ffc1095917fc562b9
143 +EBUILD lightscribe-1.18.27.10.ebuild 2188 SHA256 147242d46a91126466f9d6952d11e43ab2e7f72cee49e908f89d7a2c037301b4 SHA512 513ec8975ca8113255f160ae686ec14ce04079d0c753d8082f47d5d9120b90b4aa0d4af3725d6f19c54e185f722ed4b9111e19ea632dc93f478607dbe6ff9f31 WHIRLPOOL ca1500eb711d6f1138dea8e0b51a9c3b8ef8067d9fc7258f9be8f66d2e6f9eec2950a8bc57abb8573f4691480b3977744f4989fd7f89aa0e29e101436d8c75f6
144
145 diff --git a/app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild b/app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild
146 new file mode 100644
147 index 0000000..9fbc25d
148 --- /dev/null
149 +++ b/app-cdr/lightscribe/lightscribe-1.18.27.10.ebuild
150 @@ -0,0 +1,73 @@
151 +# Copyright 1999-2007 Gentoo Foundation
152 +# Distributed under the terms of the GNU General Public License v2
153 +# $Header$
154 +
155 +inherit rpm
156 +
157 +DESCRIPTION="LightScribe System Software by HP"
158 +HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/"
159 +LICENSE_URI_LSS="http://www.lightscribe.com/downloadSection/linux/lssLicense.html"
160 +LICENSE_URI_LPSDK="http://www.lightscribe.com/downloadSection/linux/lpsdkLicense.html"
161 +SRC_URI_LSS="http://download.lightscribe.com/ls/${P}-linux-2.6-intel.rpm"
162 +SRC_URI_LPSDK="http://download.lightscribe.com/ls/${PN}PublicSDK-1.18.6.1-linux-2.6-intel.rpm"
163 +SRC_URI="${SRC_URI_LSS} sdk? ( ${SRC_URI_LPSDK} )"
164 +LICENSE="LightScribe-LSS LightScribe-LPSDK"
165 +SLOT="0"
166 +KEYWORDS="~amd64 ~x86"
167 +IUSE="sdk"
168 +RESTRICT="fetch mirror strip"
169 +DEPEND=""
170 +RDEPEND="virtual/libc
171 + =virtual/libstdc++-3*
172 + sys-devel/gcc"
173 +
174 +pkg_nofetch() {
175 + einfo
176 + einfo "The following steps are necessary to install ${PN}:"
177 + einfo "1. Please agree to the ${PN} license at"
178 + einfo "\t${LICENSE_URI_LSS}"
179 + if useq sdk; then
180 + einfo " ...and to the ${PN} SDK license at"
181 + einfo "\t${LICENSE_URI_LPSDK}"
182 + fi
183 + einfo "2. Use the following URL to download the needed files into ${DISTDIR}"
184 + einfo "\t${SRC_URI_LSS}"
185 + if useq sdk; then
186 + einfo "\t${SRC_URI_LPSDK}"
187 + fi
188 + einfo "3. Re-run the command that brought you here."
189 + einfo
190 +}
191 +
192 +src_unpack() {
193 + rpm_src_unpack
194 +}
195 +
196 +src_compile() { :; }
197 +
198 +src_install() {
199 + cd ${WORKDIR}
200 +
201 + dodir /etc
202 + insinto /etc
203 + doins ./etc/lightscribe.rc
204 + dodir /usr/lib
205 + dolib.so ./usr/lib/liblightscribe.so.1
206 + dosym liblightscribe.so.1 /usr/lib/liblightscribe.so
207 + dodir /usr/lib/lightscribe/res
208 + insinto /usr/lib/lightscribe/res
209 + doins ./usr/lib/lightscribe/res/*
210 + dodir /usr/lib/lightscribe/updates
211 + insinto /usr/lib/lightscribe/updates
212 + doins ./usr/lib/lightscribe/updates/*
213 + dodoc ./usr/share/doc/lightscribeLicense.rtf
214 +
215 + if useq sdk; then
216 + dodir /usr/include
217 + insinto /usr/include
218 + doins ./usr/include/*
219 + DOCDESTTREE=sdk dodoc ./usr/share/doc/lightscribe-sdk/docs/*
220 + DOCDESTTREE=sdk dodoc ./usr/share/doc/lightscribe-sdk/linux_public_SDK_license.rtf
221 + DOCDESTTREE=sdk/sample/lsprint dodoc ./usr/share/doc/lightscribe-sdk/sample/lsprint/*
222 + fi
223 +}