diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog index 4c49c71..094ba5a 100644 --- a/dev-libs/liblightscribe/ChangeLog +++ b/dev-libs/liblightscribe/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for dev-libs/liblightscribe -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*liblightscribe-1.18.21.1 (28 Jan 2011) + + 28 Jan 2011; Mario Fetka + +liblightscribe-1.18.21.1.ebuild: + Bump + *liblightscribe-1.18.20.1 (30 Nov 2010) 30 Nov 2010; Mario Fetka diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index edaa1f7..ad95e57 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -2,8 +2,10 @@ AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f154482 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 lightscribe-1.18.21.1-linux-2.6-intel.rpm 823836 RMD160 0c6eb72b96dadd9af50d13c32018e3a7a1b05e57 SHA1 e48ee2495545ad83326fae2d726ba8d68dde6527 SHA256 ce2e0aa8fcad49f70679eaa2ea64ed7fafef4ac476d325197be1b239a5732130 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 -MISC ChangeLog 9024 RMD160 adae27e6d69c0883c68ea856078a3ea7d33046f0 SHA1 80ca1a3a5005be9eaecbddd2f198e071a57ab298 SHA256 681d21b1f0271400636089a806111a4aebe820735e3e8e9e4460779bb49afb5d +EBUILD liblightscribe-1.18.21.1.ebuild 4138 RMD160 c180597999926476474b849adabb558aac2b9e89 SHA1 9035b40151fbefb22dd8408be36e4745c361d75d SHA256 a46aa8d029b21eb21eaacab45f2bea9f291e4ba1878fe9e937fac0db84afad3d +MISC ChangeLog 9160 RMD160 0c0b7319416faadc9b22ea51227aab7469e3b338 SHA1 ce8d0adf15e30d0389dc6330e63c1959f1915b1e SHA256 b53fec0545542a7694270fc22d431a812770a3c81c27868ea5eb266b047e82d2 MISC metadata.xml 315 RMD160 59574e4157ca5d0702b536819905d9e122a54b3d SHA1 bf24311d30d19902c59c94772d6fb6183c9ffa62 SHA256 b598c3e668ff158c63ca6676fe4b18b43a0bb762a8fb98627de907f18b8b46df diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.21.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.21.1.ebuild new file mode 100644 index 0000000..b1181c4 --- /dev/null +++ b/dev-libs/liblightscribe/liblightscribe-1.18.21.1.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}" +}