From e2fde4d8e1d2c652bda3564b4622406792c5d69d Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 27 Aug 2009 10:38:00 +0000 Subject: [PATCH] app-cdr/lightscribe-lacie: workaround for the need root privileges setUID git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@1512 6952d904-891a-0410-993b-d76249ca496b --- app-cdr/lightscribe-lacie/ChangeLog | 6 ++ app-cdr/lightscribe-lacie/Manifest | 3 +- .../lightscribe-lacie-1.0_p6-r4.ebuild | 67 +++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r4.ebuild diff --git a/app-cdr/lightscribe-lacie/ChangeLog b/app-cdr/lightscribe-lacie/ChangeLog index 2286e6b..822f865 100644 --- a/app-cdr/lightscribe-lacie/ChangeLog +++ b/app-cdr/lightscribe-lacie/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*lightscribe-lacie-1.0_p6-r4 (27 Aug 2009) + + 27 Aug 2009; Mario Fetka + +lightscribe-lacie-1.0_p6-r4.ebuild: + workaround for the need root privileges setUID + 22 Jul 2009; Mario Fetka lightscribe-lacie-1.0_p6-r3.ebuild: add blocker on sabayon package diff --git a/app-cdr/lightscribe-lacie/Manifest b/app-cdr/lightscribe-lacie/Manifest index 4bc2aef..8e27aec 100644 --- a/app-cdr/lightscribe-lacie/Manifest +++ b/app-cdr/lightscribe-lacie/Manifest @@ -3,5 +3,6 @@ DIST lacie.png 6678 RMD160 08fc48b2391832242ff9b32ea4a79be8fac39daa SHA1 fc5d67d 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 EBUILD lightscribe-lacie-1.0_p6-r3.ebuild 1716 RMD160 0ee359d7f74022881fb16a62810d3054037bfaf3 SHA1 7b949d97181aaeac7b6c3ce2eab343f4009c62e5 SHA256 8369bdbbebb6e68e437c86dc86c544f5f76f5fbb807211a4707f107c47a65f50 -MISC ChangeLog 1770 RMD160 e040328fe9cc8dc3f9f8f54cf128ebb79518e1a7 SHA1 f09010eabb4730fa0ca2c8a6470bd2be131c8f39 SHA256 839a9d66dd20c72d4882a8ccaec56fa6d9ebb7eca33f27755a6878520e4aa8f3 +EBUILD lightscribe-lacie-1.0_p6-r4.ebuild 1794 RMD160 7ffae86794306ec1d48086f0e3f738b97b53e9b5 SHA1 88da8ec055323545b4f91deebe0d5e3528d5b151 SHA256 a341b2f5cb33285505aab0ae0e57bb56a97ea0fd97c89c0321242fd2f1760f62 +MISC ChangeLog 1954 RMD160 12f873bfe78eb040d945381538a1f4feae984307 SHA1 04069284d5ed1096bb4883224964a2763c894873 SHA256 2db3aa4e32a39b62e3122da6cc15ac3ba9dfa787745e123d2abe082a56da6e35 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r4.ebuild b/app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r4.ebuild new file mode 100644 index 0000000..d51e429 --- /dev/null +++ b/app-cdr/lightscribe-lacie/lightscribe-lacie-1.0_p6-r4.ebuild @@ -0,0 +1,67 @@ +# 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;" +}