From 1807dff478e5b158af84be7fab4ebbc5ee15de75 Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 9 Mar 2011 20:50:41 +0000 Subject: [PATCH] dev-libs/liblightscribe: Bump (Portage version: 2.2.0_alpha26-r1/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2853 6952d904-891a-0410-993b-d76249ca496b --- dev-libs/liblightscribe/ChangeLog | 6 + dev-libs/liblightscribe/Manifest | 4 +- .../liblightscribe-1.18.22.2.ebuild | 112 ++++++++++++++++++ 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 dev-libs/liblightscribe/liblightscribe-1.18.22.2.ebuild diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog index 094ba5a..05970b2 100644 --- a/dev-libs/liblightscribe/ChangeLog +++ b/dev-libs/liblightscribe/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*liblightscribe-1.18.22.2 (09 Mar 2011) + + 09 Mar 2011; Mario Fetka + +liblightscribe-1.18.22.2.ebuild: + Bump + *liblightscribe-1.18.21.1 (28 Jan 2011) 28 Jan 2011; Mario Fetka diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index ad95e57..92907e9 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -3,9 +3,11 @@ DIST LightScribe_logo_black.zip 299480 RMD160 9121e114c7a0434c317aafd192296bde18 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 lightscribe-1.18.21.1-linux-2.6-intel.rpm 823836 RMD160 0c6eb72b96dadd9af50d13c32018e3a7a1b05e57 SHA1 e48ee2495545ad83326fae2d726ba8d68dde6527 SHA256 ce2e0aa8fcad49f70679eaa2ea64ed7fafef4ac476d325197be1b239a5732130 +DIST lightscribe-1.18.22.2-linux-2.6-intel.rpm 824895 RMD160 ce397c6374d1b06782b8f0ec41945746e75505a2 SHA1 008dd836e211111750713865b6a5910a8785ea9e SHA256 4583d0296edd6a27a393c9cab9a7e8ab4e1e39541d9dafed658a44b6a289b0ff 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 EBUILD liblightscribe-1.18.20.1.ebuild 4138 RMD160 e48692c113fad7133063414663f2d3825596d0f0 SHA1 e033ac67a393136f912600e228405faf7bf760ae SHA256 41fcaac7ee53a884e80167f7b273c9b99d30868b9f6c234c529385154a0ccd60 EBUILD liblightscribe-1.18.21.1.ebuild 4138 RMD160 c180597999926476474b849adabb558aac2b9e89 SHA1 9035b40151fbefb22dd8408be36e4745c361d75d SHA256 a46aa8d029b21eb21eaacab45f2bea9f291e4ba1878fe9e937fac0db84afad3d -MISC ChangeLog 9160 RMD160 0c0b7319416faadc9b22ea51227aab7469e3b338 SHA1 ce8d0adf15e30d0389dc6330e63c1959f1915b1e SHA256 b53fec0545542a7694270fc22d431a812770a3c81c27868ea5eb266b047e82d2 +EBUILD liblightscribe-1.18.22.2.ebuild 4138 RMD160 c180597999926476474b849adabb558aac2b9e89 SHA1 9035b40151fbefb22dd8408be36e4745c361d75d SHA256 a46aa8d029b21eb21eaacab45f2bea9f291e4ba1878fe9e937fac0db84afad3d +MISC ChangeLog 9296 RMD160 db2e253d0e8022d90d048ff8124edcb041fbca1f SHA1 f9197b980e6105d059f0cc9e913dcdf27ac5d8d0 SHA256 73a877383c454542c9599176a83268263612b00f590be8a1c1264409bab40fba MISC metadata.xml 315 RMD160 59574e4157ca5d0702b536819905d9e122a54b3d SHA1 bf24311d30d19902c59c94772d6fb6183c9ffa62 SHA256 b598c3e668ff158c63ca6676fe4b18b43a0bb762a8fb98627de907f18b8b46df diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.22.2.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.22.2.ebuild new file mode 100644 index 0000000..b1181c4 --- /dev/null +++ b/dev-libs/liblightscribe/liblightscribe-1.18.22.2.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2011 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}" +}