app-cdr/lightscribe-lacie: update ebuild
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@1931 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
258b7acda2
commit
0c14d1439c
@ -1,7 +1,11 @@
|
||||
# ChangeLog for app-cdr/lightscribe-lacie
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
03 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
-lightscribe-lacie-1.0_p6-r4.ebuild, +lightscribe-lacie-1.0_p6-r5.ebuild:
|
||||
update ebuild
|
||||
|
||||
08 Sep 2009; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
cleanup
|
||||
|
||||
|
@ -1,5 +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-r4.ebuild 1794 RMD160 7ffae86794306ec1d48086f0e3f738b97b53e9b5 SHA1 88da8ec055323545b4f91deebe0d5e3528d5b151 SHA256 a341b2f5cb33285505aab0ae0e57bb56a97ea0fd97c89c0321242fd2f1760f62
|
||||
MISC ChangeLog 2204 RMD160 af42ea72e49401f5b9c9ac9d6ba3a4c3b3dafa49 SHA1 33dc16fa2036cfb6f1bdfa2c1a6261c535c0f36c SHA256 364c482f86bc4797524552aa2097bb679ff8854ea8a62bf5aad7745dbac0f317
|
||||
EBUILD lightscribe-lacie-1.0_p6-r5.ebuild 2286 RMD160 b8acd11762416b51acf724daca0facdf9dee54fb SHA1 e058a30e71d6c24839295a099d5605b3d68df402 SHA256 3c0ea727566c1778418bc8de5fa588c1b1a86e933def44160d9faac6be16cc57
|
||||
MISC ChangeLog 2348 RMD160 20d93a05bddbe3d0a8153005ff3652235911e6d3 SHA1 8ffe6ad482e56998533eded9cd3833e45a351350 SHA256 c26f3a2880fe8669113284487dc5bc3fefa927abbf861a405121cb556018ff25
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -1,67 +0,0 @@
|
||||
# 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] )
|
||||
!app-cdr/lacie-lightscribe-labeler"
|
||||
|
||||
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
|
||||
fperms u+s /opt/lightscribe/4L/4L-gui
|
||||
fperms u+s /opt/lightscribe/4L/4L-cli
|
||||
|
||||
newicon "${DISTDIR}"/lacie.png ${PN}.png
|
||||
make_desktop_entry 4L-gui "Lacie LightScribe Labeler" ${PN}.png "Application;AudioVideo;DiscBurning;Recorder;"
|
||||
}
|
80
app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r5.ebuild
Normal file
80
app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r5.ebuild
Normal file
@ -0,0 +1,80 @@
|
||||
# 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
|
||||
# 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-*
|
||||
doexe usr/4L/lacie*
|
||||
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
|
||||
fi
|
||||
done
|
||||
dodoc usr/4L/doc/*
|
||||
insinto /opt/lightscribe/template/Lacie
|
||||
doins usr/4L/templates/*
|
||||
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
|
||||
make_desktop_entry 4L-gui "Lacie LightScribe Labeler" ${PN}.png "Application;AudioVideo;DiscBurning;Recorder;"
|
||||
}
|
Loading…
Reference in New Issue
Block a user