app-cdr/lightscribe-lacie: now EAPI=2

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@885 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-03-16 22:19:01 +00:00
parent 84b9dcf7c0
commit 7e3fdcf0f1
3 changed files with 70 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
16 Mar 2009; Mario Fetka <mario.fetka@gmail.com>
+lightscribe-lacie-1.0_p6-r3.ebuild:
now EAPI=2
24 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
+lightscribe-lacie-1.0_p6-r2.ebuild:
fix libstdc++.so.5: no version information available

View File

@ -2,5 +2,6 @@ DIST 4L-1.0-r6.i586.rpm 3603229 RMD160 2ae0a33ae1051c793a623784a5abf04b149c5372
DIST lacie.png 6678 RMD160 08fc48b2391832242ff9b32ea4a79be8fac39daa SHA1 fc5d67d2ac3bdfb3c103eaded5b8dd40496db716 SHA256 e16129f00875563304c8dd41438783af10904569be9c54b077feeaa5941becc4
EBUILD lightscribe-lacie-1.0_p6-r1.ebuild 1509 RMD160 18e6108e2901decf466c79a21b5ed097c6f978da SHA1 a79efba0c4b5e5b7660846093f824228ca5ae998 SHA256 8c4f4f6f4564534574990f3f3b8678dab8ff2f6724c9f059c95d1044c80883ff
EBUILD lightscribe-lacie-1.0_p6-r2.ebuild 1642 RMD160 467f1371eb3753e8a2f62908f9439db8d38cf5e3 SHA1 d3d8588d11f1ca987214bfd722ccdb188a804976 SHA256 6db5f48e995ead597ddf0615a302f4a0472ad401fdf0967a77f0eea61c8d4767
MISC ChangeLog 1543 RMD160 d3109f2ee27c91044cefb827992166e32c0c7a2e SHA1 17168264888551c36b6a17b0cfcd89189c63b3e0 SHA256 2ccfefffed3b491f0d68758a3e07c5c1d48f6038de7465d1e2e4ca95bfb2862a
EBUILD lightscribe-lacie-1.0_p6-r3.ebuild 1680 RMD160 89b8bc3bba834da12f658d3240a21d8a6c94bfc1 SHA1 4e689535122f10f542cdccb35e3e7677e1520de8 SHA256 4f9098b4f911abbc47cabb8378610ec57b3917d42b13edba281d120022c6888d
MISC ChangeLog 1647 RMD160 28cb6ece03cb031c0bd2e02ac118aa487ca84e92 SHA1 e3a7e26e385e6c664dab4d012a888eda9d0ad4d3 SHA256 4ef9213a102bd9939dbc013fe8ddc040ed78ce7d1dbb827226174f886cb147e6
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,64 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils rpm
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"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="multilib"
DEPEND=""
RDEPEND="virtual/libc
>=sys-devel/gcc-3.4
>=app-cdr/liblightscribe-1.4.113.1
x86? ( sys-libs/libstdc++-v3
>=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
sys-libs/libstdc++-v3[multilib] )"
RESTRICT="mirror strip"
src_unpack() {
rpm_src_unpack
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
exeinto /opt/lightscribe/4L
doexe "${WORKDIR}"/usr/4L/4L-*
doexe "${WORKDIR}"/usr/4L/lacie*
insinto /opt/lightscribe/4L/translations
doins -r "${WORKDIR}"/usr/4L/translations/*
dodoc "${WORKDIR}"/usr/4L/doc/*
docinto templates
dodoc "${WORKDIR}"/usr/4L/templates/*
into /opt
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
newicon "${DISTDIR}"/lacie.png ${PN}.png
make_desktop_entry 4L-gui "Lacie LightScribe Labeler" ${PN}.png "Application;AudioVideo;DiscBurning;Recorder;"
}