app-cdr/liblightscribe: Update the sdk part of the package

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1498 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-08-24 17:31:59 +00:00
parent 7123689476
commit 0597e0adf9
3 changed files with 94 additions and 1 deletions

View File

@ -2,6 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*liblightscribe-1.18.6.1-r1 (24 Aug 2009)
24 Aug 2009; Mario Fetka <mario.fetka@gmail.com>
+liblightscribe-1.18.6.1-r1.ebuild:
Update the sdk part of the package
22 Jul 2009; Mario Fetka <mario.fetka@gmail.com>
liblightscribe-1.18.6.1.ebuild:
add blocker on sabayon package

View File

@ -12,6 +12,7 @@ DIST lightscribe-1.18.6.1-linux-2.6-intel.rpm 815788 RMD160 edbcbff934e550f60fe7
DIST lightscribePublicSDK-1.14.17.1-linux-2.6-intel.rpm 622100 RMD160 91c9f28da8d385fbe153b292e442c174eda0d0ee SHA1 0c060938e4362298b496f79c3467f9bad8fc9f7d SHA256 fdc19599d016db36eb8346d41f144c5d9c5f593f901a27d3b0256331f046b4b2
DIST lightscribePublicSDK-1.14.19.1-linux-2.6-intel.rpm 622098 RMD160 6891a018438e0e2713f428768eb94ed26984c33f SHA1 eac5b66e2e69e52c83aa1a02a349ed288f6374e5 SHA256 d3ae9402d6b0083f7972b6c9fbb316c483ea662d1899acf7e7789f7193256556
DIST lightscribePublicSDK-1.14.32.1-linux-2.6-intel.rpm 622100 RMD160 42ee805c828e2d4302a889c4f73fe7c225eaca05 SHA1 8645933eefdc84dc4d775601da94253cf0519e6e SHA256 34aea8ce43dc2887e9c99c995e2af1d16d82f773fccd3fa7f674ac05600828e8
DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
EBUILD liblightscribe-1.14.17.1.ebuild 2383 RMD160 9f4c439d6f674fa307b23fc6f23d3f8d045abf47 SHA1 2a48cf643bcab283267bf80b342a6ff57e32abdd SHA256 859c08837ee128a04a869053a020b93a86b3c39bde0f034a1933cb748756c1a9
EBUILD liblightscribe-1.14.19.1.ebuild 2383 RMD160 9f4c439d6f674fa307b23fc6f23d3f8d045abf47 SHA1 2a48cf643bcab283267bf80b342a6ff57e32abdd SHA256 859c08837ee128a04a869053a020b93a86b3c39bde0f034a1933cb748756c1a9
EBUILD liblightscribe-1.14.32.1.ebuild 2255 RMD160 981b4723773f87595e7237f7e678de5722f90e4f SHA1 e6c4f4569da102b1235cbd39e83f97b599423bdd SHA256 ed9bb6fb2f64c55e858420060c6423c932199ec5e2b8d57600f11dc582f45355
@ -23,6 +24,7 @@ EBUILD liblightscribe-1.18.4.1-r1.ebuild 3028 RMD160 c50f66c8eb846edbd0f37802f05
EBUILD liblightscribe-1.18.4.1-r2.ebuild 3164 RMD160 127d47865b995ca8c81dce7dd742a1d79addd15d SHA1 1d5db7f6787adc39e3204f52ec6bac9dd87217f6 SHA256 d97b04408583ff6f297fe5143fc94911cd5e9e01d50c647162f2279cd683c7d2
EBUILD liblightscribe-1.18.4.1.ebuild 3028 RMD160 c50f66c8eb846edbd0f37802f05d22684d364541 SHA1 71bcff1339a926d9a4225179bf8ae0da4b12382f SHA256 ec80064543bf8d8a74dc7cbe65a27e3a6c9be217bb351c19b047c43b148cba61
EBUILD liblightscribe-1.18.5.1.ebuild 3164 RMD160 127d47865b995ca8c81dce7dd742a1d79addd15d SHA1 1d5db7f6787adc39e3204f52ec6bac9dd87217f6 SHA256 d97b04408583ff6f297fe5143fc94911cd5e9e01d50c647162f2279cd683c7d2
EBUILD liblightscribe-1.18.6.1-r1.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
EBUILD liblightscribe-1.18.6.1.ebuild 3186 RMD160 9ef05242cbdb5d8b459994f25d1cae332834a63a SHA1 f7e455ea95a695237a9f06a96ae8c1ae0d64fb64 SHA256 6c25c2f454fc4f78882adcd0b836dcb54859c3ea883ee0e7f2a12e2def873b3f
MISC ChangeLog 4955 RMD160 254a722350b1f4a6d07824ff94b57e8795a98fec SHA1 e979a0b2432a63ccc4bd6dafcfb3aef8580917f6 SHA256 4ca58a307312ec86598c0989876ac1b51a3831bd0ebcfb498f462d78b74647f5
MISC ChangeLog 5125 RMD160 d5f661f6289026489e2b02ca7a90b9bebe5b6f5d SHA1 09d65f7679833ea3e79fcfc9cd303c9de425b7e0 SHA256 9e7eacee4382bfd59ced3a1a6d909580453507a6ed5e9f8083a4c0ada6d0d8e0
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,85 @@
# Copyright 1999-2009 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="~x86 ~amd64"
IUSE="multilib -hardened"
DEPEND=""
RDEPEND="virtual/libc
x86? ( sys-libs/libstdc++-v3 )
amd64? ( sys-libs/libstdc++-v3[multilib] )
!app-cdr/lightscribe"
RESTRICT="mirror strip fetch"
src_unpack() {
rpm_src_unpack
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
# make revdep-rebuild happy
mv "${WORKDIR}"/usr/lib/liblightscribe.so.1 "${WORKDIR}"/usr/lib/liblightscribe.so.0.0.1
# hack in to use provided libstdc++ rename it to libstdcv3
mv "${WORKDIR}"/usr/lib/lightscribe/libstdc++.so.5.0.7 "${WORKDIR}"/usr/lib/lightscribe/libstdcv3.so.5.0.7
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" "${WORKDIR}"/usr/lib/liblightscribe.so.0.0.1
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" "${WORKDIR}"/usr/lib/lightscribe/libstdcv3.so.5.0.7
exeinto /opt/lightscribe/$(get_libdir)/lightscribe/updates
doexe "${WORKDIR}"/usr/lib/lightscribe/updates/fallback.sh || die "fallback.sh install failed"
exeinto /opt/lightscribe/$(get_libdir)/lightscribe
doexe "${WORKDIR}"/usr/lib/lightscribe/elcu.sh || die "elcu.sh install failed"
into /opt/lightscribe
dolib.so "${WORKDIR}"/usr/lib/liblightscribe.so.* || die "liblightscribe.so.* install failed"
dolib.so "${WORKDIR}"/usr/lib/lightscribe/libstdcv3.so.* || die "libstdcv3.so.* install failed"
dosym liblightscribe.so.0.0.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so.1
dosym liblightscribe.so.0.0.1 /opt/lightscribe/$(get_libdir)/liblightscribe.so
insinto /usr/include/lightscribe
doins -r "${WORKDIR}"/usr/include/* || die "includes install failed"
insinto /etc
doins -r "${WORKDIR}"/etc/* || die "config install failed"
dosed "s%/usr/lib%/opt/lightscribe/$(get_libdir)%" /etc/lightscribe.rc
dodoc "${WORKDIR}"/usr/share/doc/*.* \
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/*.* \
"${WORKDIR}"/usr/share/doc/lightscribe-sdk/docs/* || die "doc install failed"
docinto sample/lsprint
dodoc "${WORKDIR}"/usr/share/doc/lightscribe-sdk/sample/lsprint/* || die "lsprint sample install failed"
dodir /etc/env.d
echo "LDPATH=/opt/lightscribe/$(get_libdir)" > "${D}"/etc/env.d/80lightscribe
}
pkg_postinst() {
einfo
einfo "This version also support Enhanced Contrast"
einfo "You can activate it by running:"
einfo "/opt/lightscribe/$(get_libdir)/lightscribe/elcu.sh"
einfo
}
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 file in ${DISTDIR}"
}