diff --git a/dev-libs/liblightscribe/ChangeLog b/dev-libs/liblightscribe/ChangeLog index 50c8e61..723ee0f 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.24.1 (30 Jul 2011) + + 30 Jul 2011; Mario Fetka + +liblightscribe-1.18.24.1.ebuild: + Bump to new version + *liblightscribe-1.18.23.1 (27 Apr 2011) 27 Apr 2011; Mario Fetka diff --git a/dev-libs/liblightscribe/Manifest b/dev-libs/liblightscribe/Manifest index 1d1b5a2..abbd31d 100644 --- a/dev-libs/liblightscribe/Manifest +++ b/dev-libs/liblightscribe/Manifest @@ -5,11 +5,13 @@ DIST lightscribe-1.18.20.1-linux-2.6-intel.rpm 823250 RMD160 3c6092af6752762419e 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 lightscribe-1.18.23.1-linux-2.6-intel.rpm 825980 RMD160 c2950e3291722790bea8f2653e77640cf6b7e27e SHA1 5b896bc503f6e236b262844e79ab0907330aa8e9 SHA256 148062b143975b1db2cc7908246df7f9feb419805d084029744481842fe80f1d +DIST lightscribe-1.18.24.1-linux-2.6-intel.rpm 825987 RMD160 e35caebb2ed6a237ec0d5a98cd438f103eec5896 SHA1 c619c7f78596ed3a8ad4c4968c137629ad0fb339 SHA256 8928a55c5aa0438cde4109c93a30ff2fb8fa62f71855b2df497dd5ef603febf5 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 EBUILD liblightscribe-1.18.22.2.ebuild 4138 RMD160 c180597999926476474b849adabb558aac2b9e89 SHA1 9035b40151fbefb22dd8408be36e4745c361d75d SHA256 a46aa8d029b21eb21eaacab45f2bea9f291e4ba1878fe9e937fac0db84afad3d EBUILD liblightscribe-1.18.23.1.ebuild 4138 RMD160 c180597999926476474b849adabb558aac2b9e89 SHA1 9035b40151fbefb22dd8408be36e4745c361d75d SHA256 a46aa8d029b21eb21eaacab45f2bea9f291e4ba1878fe9e937fac0db84afad3d -MISC ChangeLog 9432 RMD160 7e3f0dc75e93bfdffd5ab9609783adfe2ba9fa33 SHA1 fceae5ef98085fa1b0073533f70a281f97deecdf SHA256 3535a81e32021b36335c99ee403c7cdfc93893cb59be221f9a833ae73d6716ff +EBUILD liblightscribe-1.18.24.1.ebuild 4138 RMD160 c180597999926476474b849adabb558aac2b9e89 SHA1 9035b40151fbefb22dd8408be36e4745c361d75d SHA256 a46aa8d029b21eb21eaacab45f2bea9f291e4ba1878fe9e937fac0db84afad3d +MISC ChangeLog 9583 RMD160 fe0c374f3aca2ed9f9daf2f8d15343c5b99b775c SHA1 229f0f583688af6959429f47fcbbde13a897d129 SHA256 fff42620186ead3cdfae6fcfb98d8a7cb84058797d2943a4d0fa6cc98d963ed1 MISC metadata.xml 315 RMD160 59574e4157ca5d0702b536819905d9e122a54b3d SHA1 bf24311d30d19902c59c94772d6fb6183c9ffa62 SHA256 b598c3e668ff158c63ca6676fe4b18b43a0bb762a8fb98627de907f18b8b46df diff --git a/dev-libs/liblightscribe/liblightscribe-1.18.24.1.ebuild b/dev-libs/liblightscribe/liblightscribe-1.18.24.1.ebuild new file mode 100644 index 0000000..b1181c4 --- /dev/null +++ b/dev-libs/liblightscribe/liblightscribe-1.18.24.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}" +}