diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog index fef49a8..c61c6fe 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: $ + 19 Mar 2010; Mario Fetka + +liblightscribe-1.18.12.1.ebuild: + bump + 03 Feb 2010; Mario Fetka -liblightscribe-1.18.5.1.ebuild, -liblightscribe-1.18.6.1-r2.ebuild, -liblightscribe-1.18.8.1.ebuild, -liblightscribe-1.18.9.1.ebuild, diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index 2a38077..5e91f81 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -1,5 +1,7 @@ DIST lightscribe-1.18.11.1-linux-2.6-intel.rpm 817351 RMD160 eb2241a2f9643bbf797020e5db6899e888582450 SHA1 839cdd9c6f219747e9964f2d0f89023a66e9d24a SHA256 efecac85a70b32b12ab9bff1e2229de3bc8f5b1403eaf1ccb867b7ed6b2a5bee +DIST lightscribe-1.18.12.1-linux-2.6-intel.rpm 817931 RMD160 d12d04f9f9b03d9274d0ac7b5ec0c2bf14afca87 SHA1 48bc79fc2fc6f2f3b76f0c29a9cea2fbcad38ec3 SHA256 ec6a5878b68ddac16d568d5fd0c3ada10922110284a6cf31ad996df3ade54d3b 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 -MISC ChangeLog 6948 RMD160 5522b72d609df0c2fe8f97a9d35bfc99bee97097 SHA1 4a6e8ef5d9cc11364ebafed92892a4330d5f98d6 SHA256 b1b1ca937a7b5fc06e6b854f61b3cb3548f18671eea79a0f6781c7050371e4e6 +EBUILD liblightscribe-1.18.12.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248 +MISC ChangeLog 7043 RMD160 52f48873512b307f2c3cd399de70ce47e25cfe47 SHA1 253ef0bcd5047c87ed314f12c83038f42296bc66 SHA256 53fcfdf28d025b56941901e154558567d35321bdff67376b5b47b5945a0c6b7e MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.12.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.12.1.ebuild new file mode 100644 index 0000000..26d8bd5 --- /dev/null +++ b/dev-libs/liblightscribe/liblightscribe-1.18.12.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}" +}