From d7f39ffc8e86ce3de15d3f004556815933b5ec6a Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 30 Nov 2010 09:15:23 +0000 Subject: [PATCH] dev-libs/liblightscribe: Bump (Portage version: 2.2.0_alpha6/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2757 6952d904-891a-0410-993b-d76249ca496b --- dev-libs/liblightscribe/ChangeLog | 6 + dev-libs/liblightscribe/Manifest | 4 +- .../liblightscribe-1.18.20.1.ebuild | 112 ++++++++++++++++++ 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 dev-libs/liblightscribe/liblightscribe-1.18.20.1.ebuild diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog index a4e35a4..4c49c71 100644 --- a/dev-libs/liblightscribe/ChangeLog +++ b/dev-libs/liblightscribe/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*liblightscribe-1.18.20.1 (30 Nov 2010) + + 30 Nov 2010; Mario Fetka + +liblightscribe-1.18.20.1.ebuild: + Bump + 09 Nov 2010; Mario Fetka liblightscribe-1.18.19.1-r1.ebuild: correct image generation diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index 6f426f5..edaa1f7 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -1,7 +1,9 @@ AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f15448239ab SHA1 8e64ad6c7522b11c62b6ee1fbea7800f531c96c3 SHA256 832c4f2ae472c308499af7dcee11afb42a7a241b5f1133847105fc36303d806a DIST LightScribe_logo_black.zip 299480 RMD160 9121e114c7a0434c317aafd192296bde18af2219 SHA1 36c45d4f1de9e36f71e9b486ef3962282b4e9f4e SHA256 d299f5adc9d1f5adb3b05e8a9f6da4922657bd13134ea20fdc8bf68ebd8566f1 DIST lightscribe-1.18.19.1-linux-2.6-intel.rpm 823248 RMD160 d28c692d0df0d64cfc5ebb8718771d2a7f14dedc SHA1 1960968cfef209a0a12e280e46d1ae7819297239 SHA256 db4e8ebffcb82c61c5b784b6b289ea5f0a0bb05c9c09011fc9112922fd8e9161 +DIST lightscribe-1.18.20.1-linux-2.6-intel.rpm 823250 RMD160 3c6092af6752762419e6b336101146cb9abcf49e SHA1 fa63cb3f721d36e837211bab81779f75cc2a154c SHA256 3101d6cd0922f9c0d4cd446518939b48bc4c37311976aac0a8b64b0cab488fca DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf EBUILD liblightscribe-1.18.19.1-r1.ebuild 4138 RMD160 e48692c113fad7133063414663f2d3825596d0f0 SHA1 e033ac67a393136f912600e228405faf7bf760ae SHA256 41fcaac7ee53a884e80167f7b273c9b99d30868b9f6c234c529385154a0ccd60 -MISC ChangeLog 8888 RMD160 67fcd07d040e4acd8512cf2908844582b24be1cb SHA1 33683d9446bd44fe3561d7f16c1b886ff8d5fa85 SHA256 09ea4db77a01ce31e5631468e67b4aa6fbb3ce4ea44ba629aa259053f476b019 +EBUILD liblightscribe-1.18.20.1.ebuild 4138 RMD160 e48692c113fad7133063414663f2d3825596d0f0 SHA1 e033ac67a393136f912600e228405faf7bf760ae SHA256 41fcaac7ee53a884e80167f7b273c9b99d30868b9f6c234c529385154a0ccd60 +MISC ChangeLog 9024 RMD160 adae27e6d69c0883c68ea856078a3ea7d33046f0 SHA1 80ca1a3a5005be9eaecbddd2f198e071a57ab298 SHA256 681d21b1f0271400636089a806111a4aebe820735e3e8e9e4460779bb49afb5d MISC metadata.xml 315 RMD160 59574e4157ca5d0702b536819905d9e122a54b3d SHA1 bf24311d30d19902c59c94772d6fb6183c9ffa62 SHA256 b598c3e668ff158c63ca6676fe4b18b43a0bb762a8fb98627de907f18b8b46df diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.20.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.20.1.ebuild new file mode 100644 index 0000000..74ed90f --- /dev/null +++ b/dev-libs/liblightscribe/liblightscribe-1.18.20.1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils rpm multilib + +SDK_PV=1.18.6.1 + +DESCRIPTION="LightScribe System Software (binary only library)" +HOMEPAGE="http://www.lightscribe.com/downloadSection/linux/index.aspx" +SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm + http://download.lightscribe.com/ls/lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm + http://www.lacie.com/download/images/LightScribe_logo_black.zip" + +LICENSE="lightscribe lightscribeSDK" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib" + +DEPEND="media-gfx/imagemagick" + +RDEPEND="x86? ( sys-libs/libstdc++-v3 ) + amd64? ( sys-libs/libstdc++-v3[multilib] ) + x11-apps/menu + x11-terms/xterm + !app-cdr/lightscribe + !app-cdr/liblightscribe" + +RESTRICT="mirror" + +S="${WORKDIR}" + +QA_PRESTRIPPED=" + opt/lightscribe/lib32/liblightscribe.so.0.0.1 + opt/lightscribe/lib32/libstdcv3.so.5.0.7 + opt/lightscribe/lib/liblightscribe.so.0.0.1 + opt/lightscribe/lib/libstdcv3.so.5.0.7" + +QA_DT_HASH=" + opt/lightscribe/lib32/liblightscribe.so.0.0.1 + opt/lightscribe/lib32/libstdcv3.so.5.0.7 + opt/lightscribe/lib/liblightscribe.so.0.0.1 + opt/lightscribe/lib/libstdcv3.so.5.0.7" + +pkg_setup() { + # This is a binary x86 package => ABI=x86 + # Please keep this in future versions + has_multilib_profile && ABI="x86" +} + +src_prepare() { + # hack in to use provided libstdc++ rename it to libstdcv3 + # can't add an rpath or a LD_PRELOAD to a already build lib to work around + # the libstdc++ "no version information available" problem Bug 152031 comment 66 + sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/liblightscribe.so.1 || die "sed failed" + sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/lightscribe/libstdc++.so.5.0.7 || die "sed failed" + + # create a desktop icon + convert -colorspace rgb "${WORKDIR}"/LightScribe_logo_black.eps -transparent white -background transparent -resize 128x128\> \ + -size 128x128 xc:transparent +swap -gravity center -composite "${WORKDIR}"/${PN}.png + + # correct compile with gcc >=4.3 + epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch +} + +src_install() { + local LSDIR="opt/lightscribe/$(get_libdir)" + + exeinto /${LSDIR}/lightscribe/updates + doexe usr/lib/lightscribe/updates/fallback.sh || die "fallback.sh install failed" + exeinto /${LSDIR}/lightscribe + doexe usr/lib/lightscribe/elcu.sh || die "elcu.sh install failed" + into /opt/lightscribe + # make revdep-rebuild happy Bug 152031 comment 74 + newlib.so usr/lib/liblightscribe.so.1 liblightscribe.so.0.0.1 || die "liblightscribe.so.* install failed" + newlib.so usr/lib/lightscribe/libstdc++.so.5.0.7 libstdcv3.so.5.0.7 || die "libstdcv3.so.* install failed" + dosym liblightscribe.so.0.0.1 /${LSDIR}/liblightscribe.so + insinto /usr/include/lightscribe + doins -r usr/include/* || die "includes install failed" + insinto /etc + doins -r etc/* || die "config install failed" + sed -e "s%/usr/lib%${ROOT}${LSDIR}%" \ + -e"s%update%updates%" -i "${D}"/etc/lightscribe.rc || die "sed failed" + dodoc usr/share/doc/*.* \ + usr/share/doc/lightscribe-sdk/*.* \ + usr/share/doc/lightscribe-sdk/docs/* || die "doc install failed" + docinto sample/lsprint + dodoc usr/share/doc/lightscribe-sdk/sample/lsprint/* || die "lsprint sample install failed" + dodir /etc/env.d + echo "LDPATH=${ROOT}${LSDIR}" > "${D}"/etc/env.d/80lightscribe + doicon "${WORKDIR}"/${PN}.png + make_desktop_entry "su-to-root -X -c \"xterm -C ${ROOT}opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh\"" \ + "LightScribe System Software Contrast Changer" ${PN} "Application;AudioVideo;DiscBurning;Recorder;" + +} + +pkg_postinst() { + elog "This version also support Enhanced Contrast" + elog "You can activate it by running:" + elog "${ROOT}opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh" +} + +pkg_nofetch() { + einfo "Please download the appropriate Lightscribe System Software & Linux Public SDK archive's" + einfo "( lightscribe-${PV}-linux-2.6-intel.rpm" + einfo " lightscribePublicSDK-${SDK_PV}-linux-2.6-intel.rpm )" + einfo "from ${HOMEPAGE} (requires to accept license)" + einfo + einfo "Then put the files in ${DISTDIR}" +}