app-cdr/liblightscribe: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@452 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-08-20 09:18:18 +00:00
parent 6596653669
commit 523dffee91
4 changed files with 82 additions and 3 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
liblightscribe-1.14.17.1.ebuild, +liblightscribe-1.14.19.1.ebuild:
Bump
30 Jul 2008; Mario Fetka <mario-fetka@gmx.at>
+files/liblightscribe-gcc43-1.patch, liblightscribe-1.14.17.1.ebuild:
gcc 4.3 patch

View File

@ -3,11 +3,14 @@ AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f154482
DIST lightscribe-1.12.29.2-linux-2.6-intel.rpm 561417 RMD160 fbae46b26953a2493846c70e257e78650bb25969 SHA1 eeaff4d0b138556a0a538267becb2966447e319d SHA256 3a5b482fa2450bb9e6dfe027920ee089d371bb2800afe1db5ed1215429dd605b
DIST lightscribe-1.12.37.1-linux-2.6-intel.rpm 505795 RMD160 d7edc72d82f0b58aeec765c60ac4292ea64409ab SHA1 d21af72066eb454f2a44c078426104817487d67d SHA256 f44a069347d7343e9b74a2f64112bbc65cb061c9a209f4f27dc861b12b3d9951
DIST lightscribe-1.14.17.1-linux-2.6-intel.rpm 506159 RMD160 ce5d90a2145fab4e11607548bc8610bafd46c164 SHA1 7162f3a12aa0736917b349539ff1e8177c168717 SHA256 510e023c96f318ce990537a4696aae174bd53a234ee0c7dbab58564e983215c7
DIST lightscribe-1.14.19.1-linux-2.6-intel.rpm 506688 RMD160 7d896f296c7a0dd7225d348ebc7c006e09ab160f SHA1 6a0f683e41a2f2ed0259cecf22ec6661fb4582ad SHA256 c2e1548fe2fe7eaccd60b1ee473815809822081a27ee2b152a34767a596a2615
DIST lightscribePublicSDK-1.12.29.2-linux-2.6-intel.rpm 622106 RMD160 00457e8901d9e63519a9ea12464e3f0d2da34e07 SHA1 c2a5d96f0f2acec1952ca567a1c001400710832b SHA256 51be2bb43c26005b92ec49c7dc92ad5c8237c571bfc285525d1e03b7634a5816
DIST lightscribePublicSDK-1.12.37.1-linux-2.6-intel.rpm 622098 RMD160 94f92226eef266a375c17de175a40009d512af3a SHA1 4ab2e219d99d4489489ac8d1bd744e19bb71b47f SHA256 5a4259e7feb709edbe9bb3533bce11f946c0889a252e2b6f8b15460f11741956
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
EBUILD liblightscribe-1.12.29.2.ebuild 2777 RMD160 6a408d085c3db9fd2305dc8ba5dbb45afd31dcfa SHA1 4d34d7a7f7a6b364e690b2b743b10294b1136bad SHA256 b2f3d2a6b363ad6fe0266ee369bc976a4bb1872ede8387abffc71b17f414575f
EBUILD liblightscribe-1.12.37.1.ebuild 2335 RMD160 d2edfe0c99e413c3d91e947405d73406dd00f97c SHA1 4ad7d757b6e9bfe8204d556f0dcc8a27f2bf3c5a SHA256 a7237ea91a1bf873eda3a5f855ccea9085882932a3a86efa1dffa4067094d1c9
EBUILD liblightscribe-1.14.17.1.ebuild 2384 RMD160 af605afd4c2ff02571aa088f805d491fd9f4a75c SHA1 17e80399ca9df84becef97c6ebb171c8472519ae SHA256 e654fea5d9d1cc4bc236ce472f1123a01ef73005d2d056420eafc147d197d346
MISC ChangeLog 2666 RMD160 8a00dd6e4721f115d40a13762745d3f8fc191bd8 SHA1 3ba4abf26dce0b8da867cced91e6abddd9a0feea SHA256 adfa6ef47ae70080f98faa9f281a9a19839b76e17d89826ac834454e54202ba3
EBUILD liblightscribe-1.14.17.1.ebuild 2377 RMD160 12c6bc3d9ab1bb69e9269ba06c7a134ebbfd7589 SHA1 0ae8ab7f7131de774928d948000a6120050c49e7 SHA256 00efc2bc441a7f2c41543b2e2721bed2d36482bbc4da0f80e75bc1dee0001cb4
EBUILD liblightscribe-1.14.19.1.ebuild 2377 RMD160 12c6bc3d9ab1bb69e9269ba06c7a134ebbfd7589 SHA1 0ae8ab7f7131de774928d948000a6120050c49e7 SHA256 00efc2bc441a7f2c41543b2e2721bed2d36482bbc4da0f80e75bc1dee0001cb4
MISC ChangeLog 2794 RMD160 8fcccb266e6cbcf3b0ef859a9a4b7ed993963d7e SHA1 89446ce43f5cd7c70084f07a7742c66b6be99f09 SHA256 e8a52514ceed2af07519be154fad588e167d1e7f6f0e2c945d4e5dd02d0c382f
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -31,7 +31,7 @@ src_compile() {
ln -sf ${WORKDIR}/usr/lib/liblightscribe.so.1 liblightscribe.so
append-flags -I${WORKDIR}/usr/include -pthread -m32
append-ldflags -L${WORKDIR} -lm -llightscribe
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
}

View File

@ -0,0 +1,72 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm multilib flag-o-matic toolchain-funcs
DESCRIPTION="LightScribe System Software (binary only library)."
HOMEPAGE="http://www.lightscribe.com/"
SRC_URI="http://download.lightscribe.com/ls/lightscribe-${PV}-linux-2.6-intel.rpm
http://download.lightscribe.com/ls/lightscribePublicSDK-${PV}-linux-2.6-intel.rpm"
LICENSE="HP-LightScribe"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="multilib"
DEPEND=""
RDEPEND="virtual/libc
x86? ( sys-libs/libstdc++-v3 )
amd64? ( app-emulation/emul-linux-x86-compat )"
RESTRICT="mirror strip"
src_unpack() {
rpm_src_unpack
epatch ${FILESDIR}/liblightscribe-gcc43-1.patch
}
src_compile() {
ln -sf ${WORKDIR}/usr/lib/liblightscribe.so.1 liblightscribe.so
append-flags -I${WORKDIR}/usr/include -pthread -m32
append-ldflags -L${WORKDIR} -lm -llightscribe
$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o lsprint \
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/bmlite.cpp \
${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp || die "lsprint compile failed"
}
src_install() {
has_multilib_profile && ABI="x86"
into /opt
dobin lsprint
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe/updates
doexe ${WORKDIR}/usr/lib/lightscribe/updates/fallback.sh
exeinto /opt/liblightscribe/$(get_libdir)/lightscribe
doexe ${WORKDIR}/usr/lib/lightscribe/elcu.sh
into /opt/liblightscribe
dolib.so ${WORKDIR}/usr/lib/liblightscribe.so.*
dosym liblightscribe.so.1 /opt/liblightscribe/$(get_libdir)/liblightscribe.so
insinto /usr/include/lightsribe
doins -r ${WORKDIR}/usr/include/*
insinto /etc
doins -r ${WORKDIR}/etc/*
dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /etc/lightscribe.rc
dodoc ${WORKDIR}/usr/share/doc/*.*
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/*.*
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/docs/*
docinto sample/lsprint
dodoc ${WORKDIR}/usr/share/doc/lightscribe-sdk/sample/lsprint/*
dodir /etc/env.d
echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > ${D}/etc/env.d/80liblightscribe
}
pkg_postinst() {
einfo
einfo "This version also support Enhanced Contrast"
einfo "You can activate it by running:"
einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh"
einfo
}