app-cdr/lightscribe-lacie: cleanup old ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2680 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-11-06 20:12:46 +00:00
parent c78d54a3cd
commit 783b795097
4 changed files with 16 additions and 86 deletions

View File

@ -2,6 +2,11 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
-lightscribe-lacie-1.0_p6-r5.ebuild, -lightscribe-lacie-1.0_p6-r6.ebuild,
+lightscribe-lacie-1.0_p6-r7.ebuild:
cleanup old ebuilds
08 Oct 2010; Mario Fetka <mario.fetka@gmail.com>
lightscribe-lacie-1.0_p6-r6.ebuild:
make it mirror restict

View File

@ -1,6 +1,5 @@
DIST 4L-1.0-r6.i586.rpm 3603229 RMD160 2ae0a33ae1051c793a623784a5abf04b149c5372 SHA1 929d62f53c208422a972f01c193720ce798f72c0 SHA256 7d6a04ed0ca5d129d992160ede24d59f992293f5cb003578e719a52a92530724
DIST lacie.png 6678 RMD160 08fc48b2391832242ff9b32ea4a79be8fac39daa SHA1 fc5d67d2ac3bdfb3c103eaded5b8dd40496db716 SHA256 e16129f00875563304c8dd41438783af10904569be9c54b077feeaa5941becc4
EBUILD lightscribe-lacie-1.0_p6-r5.ebuild 2477 RMD160 b16a1a53b05423ccb06b3bf78830f0ea8483a288 SHA1 aa2338fc1d19121779f267651031d9be311cd64a SHA256 6add89772573cd7319f38668559d1d94ae5767ef00eb138cc99637aeb84cca8c
EBUILD lightscribe-lacie-1.0_p6-r6.ebuild 2548 RMD160 bba3dcb802c48761299ea04d1ad20e60c0877322 SHA1 5942abf3985a4c3fa4c42082468a0cb656b39e87 SHA256 4e9cd1bb1289441aa7eaf905b8dfef06b286e17577b283a004255675d9d3fee8
MISC ChangeLog 2818 RMD160 9a621f5509402fe8695be4aa621bed0d2c36f2f8 SHA1 38a2df47b8a758f6d549922e2177f4f72b18ea95 SHA256 81633246e51e801b0d3590eb14936476f3ceb42b23e19e2b16a67dc52401e7a9
DIST LaCie-logo_2758.zip 308599 RMD160 26d03f1b54c29c227db6ee130dde1367446d0f71 SHA1 5cbc502f6f274df4bf9e6e57434a43b6d69934f5 SHA256 b21d6f0bccd5e17dbc68a70b9600b80e2fc8d56c09427047b49379f9cbf65d84
EBUILD lightscribe-lacie-1.0_p6-r7.ebuild 2681 RMD160 3a0b70239acd335ba64aea2410fce7939422da01 SHA1 300519f561f9dd8a2e62ce6ca4adf38b93a13389 SHA256 11499aabff5de7dfab90e043e821c8459587dc1152bb59e3c442d1e6462a49af
MISC ChangeLog 3007 RMD160 3b86abeb32cff54169b2808d99832da44daa28e6 SHA1 e69b0d7e70508e6e0658bd3dd405333161b27f63 SHA256 302e162b598b78168b5ced0b1eeb384ad20fdff1827f709033a85c4cda5f30e4
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,80 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit eutils rpm multilib
MY_PV="${PV/_p/-r}"
DESCRIPTION="LaCie LightScribe Labeler 4L (binary only GUI)"
HOMEPAGE="http://www.lacie.com/products/product.htm?pid=10803"
SRC_URI="http://www.lacie.com/download/drivers/4L-${MY_PV}.i586.rpm
http://eventi.vnunet.it/images/lacie.png"
# The official license of the rpm tag states "Commercial"
# such a license don't exist in gentoo so as-is was chosen
# also on Lacie's website aren't more information then
# Free To Use But Restricted
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="multilib linguas_ja linguas_it linguas_fr linguas_es linguas_de"
RESTRICT=""
RDEPEND=">=sys-devel/gcc-3.4
dev-libs/liblightscribe
x86? ( >=media-libs/fontconfig-2.3.2
>=media-libs/freetype-2.1.10
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender )
amd64? ( app-emulation/emul-linux-x86-xlibs )
!app-cdr/lacie-lightscribe-labeler"
QA_PRESTRIPPED="
opt/lightscribe/4L/4L-gui
opt/lightscribe/4L/4L-cli"
S="${WORKDIR}"
src_unpack() {
rpm_src_unpack
}
src_install() {
has_multilib_profile && ABI="x86"
exeinto /opt/lightscribe/4L
doexe usr/4L/4L-* || die "4L-* install failed"
doexe usr/4L/lacie* || die "lacie* install failed"
insinto /opt/lightscribe/4L/translations
for x in ja it fr es de
do
if use linguas_${x}
then
doins usr/4L/translations/4L-gui_${x}.qm || die "translation install failed"
fi
done
dodoc usr/4L/doc/* || die "doc install failed"
insinto /opt/lightscribe/template/Lacie
doins usr/4L/templates/* || die "template install failed"
into /opt
# Buggy binary software
# first run from the install dir otherwise it would not find the translations
# second change the binaries suexec bit (big security hole)
# yes they are written to only run with root rights
# http://www.lightscribe.com/discussionBoards/index.aspx?g=posts&t=4056
make_wrapper 4L-gui "./4L-gui" /opt/lightscribe/4L /usr/$(get_libdir)/libstdc++-v3
make_wrapper 4L-cli "./4L-cli" /opt/lightscribe/4L /usr/$(get_libdir)/libstdc++-v3
fperms u+s /opt/lightscribe/4L/4L-gui
fperms u+s /opt/lightscribe/4L/4L-cli
newicon "${DISTDIR}"/lacie.png ${PN}.png || die "icon install failed"
make_desktop_entry 4L-gui "Lacie LightScribe Labeler" ${PN}.png "Application;AudioVideo;DiscBurning;Recorder;"
}

View File

@ -11,7 +11,7 @@ MY_PV="${PV/_p/-r}"
DESCRIPTION="LaCie LightScribe Labeler 4L (binary only GUI)"
HOMEPAGE="http://www.lacie.com/products/product.htm?pid=10803"
SRC_URI="http://www.lacie.com/download/drivers/4L-${MY_PV}.i586.rpm
http://eventi.vnunet.it/images/lacie.png"
http://www.lacie.com/download/images/LaCie-logo_2758.zip"
# The official license of the rpm tag states "Commercial"
# such a license don't exist in gentoo so as-is was chosen
@ -23,6 +23,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="multilib linguas_ja linguas_it linguas_fr linguas_es linguas_de"
RESTRICT="mirror"
DEPEND="media-gfx/imagemagick"
RDEPEND=">=sys-devel/gcc-3.4
dev-libs/liblightscribe
x86? ( >=media-libs/fontconfig-2.3.2
@ -51,6 +53,10 @@ src_unpack() {
rpm_src_unpack
}
src_prepare() {
convert -size 48x48 "${WORKDIR}"/LaCie-logo_2758.eps "${WORKDIR}"/${PN}.png
}
src_install() {
has_multilib_profile && ABI="x86"
@ -79,6 +85,6 @@ src_install() {
fperms u+s /opt/lightscribe/4L/4L-gui
fperms u+s /opt/lightscribe/4L/4L-cli
newicon "${DISTDIR}"/lacie.png ${PN}.png || die "icon install failed"
doicon "${WORKDIR}"/${PN}.png || die "icon install failed"
make_desktop_entry 4L-gui "Lacie LightScribe Labeler" ${PN} "Application;AudioVideo;DiscBurning;Recorder;"
}