From 030e2ad256bdd60bd30972b5ce74ffb430b264d3 Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 7 Oct 2010 06:34:01 +0000 Subject: [PATCH] dev-libs/liblightscribe: Bump git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2487 6952d904-891a-0410-993b-d76249ca496b --- dev-libs/liblightscribe/ChangeLog | 4 + dev-libs/liblightscribe/Manifest | 4 +- .../liblightscribe-1.18.19.1.ebuild | 89 +++++++++++++++++++ 3 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog index baa19a1..c3eeea1 100644 --- a/dev-libs/liblightscribe/ChangeLog +++ b/dev-libs/liblightscribe/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Oct 2010; Mario Fetka + +liblightscribe-1.18.19.1.ebuild: + Bump + 24 Aug 2010; Mario Fetka +liblightscribe-1.18.18.1.ebuild: Bump diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index d967029..7e530e6 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -6,6 +6,7 @@ DIST lightscribe-1.18.15.1-linux-2.6-intel.rpm 820868 RMD160 6a4739c270866ad235f DIST lightscribe-1.18.16.1-linux-2.6-intel.rpm 821516 RMD160 8566b286d55d7f07cb8b52045c1f6dec4eebcb67 SHA1 a5a5bfcedbe4f2faabe14254d570ad3ab8de075f SHA256 9a581898fbcc2103a2db7959e572684b2f3bd0fcbb950b3c5eaf8e24a8895e3e DIST lightscribe-1.18.17.1-linux-2.6-intel.rpm 821966 RMD160 a688a7bdf7562e06f20ad220ba7a3f4a81cf3227 SHA1 e6acefcc352a2fa8e9a722091d4087097813f8ef SHA256 a0d8f57574d6e884a9855bc3a85392d69a8397fd16340c141514457647eb0615 DIST lightscribe-1.18.18.1-linux-2.6-intel.rpm 822755 RMD160 f75c54178ea90b358338c5dc89224f4d55e1bb51 SHA1 f6a48e1352c8cb127b1f294e13539d0e2092adb0 SHA256 ea59c69501ca65badb66da64a9c9d2f29d9740e3b3cf49158168bf55f0baf650 +DIST lightscribe-1.18.19.1-linux-2.6-intel.rpm 823248 RMD160 d28c692d0df0d64cfc5ebb8718771d2a7f14dedc SHA1 1960968cfef209a0a12e280e46d1ae7819297239 SHA256 db4e8ebffcb82c61c5b784b6b289ea5f0a0bb05c9c09011fc9112922fd8e9161 DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf EBUILD liblightscribe-1.18.11.1-r1.ebuild 3222 RMD160 ca3efdfe4e6503c96c99ad072629dd027a0717a8 SHA1 87d67ccedd0d65875617f790e97e31a27f9128bf SHA256 1a465ea658e1ac23503a8a12aff6f35b696c314119ccf38bac99b99758eadbc1 EBUILD liblightscribe-1.18.12.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 @@ -15,5 +16,6 @@ EBUILD liblightscribe-1.18.15.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378 EBUILD liblightscribe-1.18.16.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 EBUILD liblightscribe-1.18.17.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 EBUILD liblightscribe-1.18.18.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 -MISC ChangeLog 7552 RMD160 7b982c8bd42887eb74a45e975e0a08369e70094c SHA1 926792261e61e557a66b0ab223e6f8178ad16f3c SHA256 a469ad478a59d7dab620ba192731fdd871a768ded9fb35335d5c3b0a1db4eb4a +EBUILD liblightscribe-1.18.19.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 +MISC ChangeLog 7647 RMD160 af5a234fe8dc6be3d33ddd9c1d2c7554bf12d4a6 SHA1 1809758e2431bfebb4ee531500ccc62f390ef3f0 SHA256 64c2461505915b9d8bb4fe955e86d27eaaf9c5c556bd53c19402afc1e5422df6 MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild new file mode 100644 index 0000000..26d8bd5 --- /dev/null +++ b/dev-libs/liblightscribe/liblightscribe-1.18.19.1.ebuild @@ -0,0 +1,89 @@ +# 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" + +LICENSE="lightscribe lightscribeSDK" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib" + +RDEPEND="x86? ( sys-libs/libstdc++-v3 ) + amd64? ( sys-libs/libstdc++-v3[multilib] ) + !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" + +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" +} + +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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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 +} + +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}" +}