app-cdr/lightscribe-lacie: disable LDFLAGS warning
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2491 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
1c823d79f2
commit
d068b9ecb2
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
08 Oct 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+lightscribe-lacie-1.0_p6-r6.ebuild:
|
||||
disable LDFLAGS warning
|
||||
|
||||
03 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
lightscribe-lacie-1.0_p6-r5.ebuild:
|
||||
add die for do
|
||||
|
@ -1,5 +1,6 @@
|
||||
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
|
||||
MISC ChangeLog 2455 RMD160 63c2d5986901b94ca368e4e02b6ff2894d976145 SHA1 f4f15f85e22249705ced579c9fe238517a7b8079 SHA256 bea78c56fa0415d191797c7c6a9921a847614a06d81d55895a99f09b8787c512
|
||||
EBUILD lightscribe-lacie-1.0_p6-r6.ebuild 2546 RMD160 910b0774b8e35c32c113d7998922cab8590041ff SHA1 4346f7ade509afa15948ff74612e17917181a6d4 SHA256 f34537532b81c044c94a0cec86223ccb46712c0e1886d90ec1ce5d8e452943bd
|
||||
MISC ChangeLog 2572 RMD160 645a54f063f0a49d60a48f8b14bd23b2b6d50caa SHA1 0e02879a98d63f94304db93835e903b2f86345cd SHA256 d5d31b2f8de04e52ce7da257ca7f93c06168e86f5c08abe7bb9901927a3767f5
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
84
app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r6.ebuild
Normal file
84
app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r6.ebuild
Normal file
@ -0,0 +1,84 @@
|
||||
# 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"
|
||||
|
||||
QA_DT_HASH="
|
||||
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;"
|
||||
}
|
Loading…
Reference in New Issue
Block a user