From fd8ea83f8f5d50c58950981aba822ad40c2419c4 Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 23 Nov 2007 13:25:04 +0000 Subject: [PATCH] app-cdr/liblightscribe: Bump & build/install sample lsprint git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@312 6952d904-891a-0410-993b-d76249ca496b --- app-cdr/liblightscribe/ChangeLog | 4 + app-cdr/liblightscribe/Manifest | 17 +++- .../files/digest-liblightscribe-1.10.19.1 | 6 ++ .../liblightscribe-1.10.19.1.ebuild | 78 +++++++++++++++++++ 4 files changed, 101 insertions(+), 4 deletions(-) create mode 100644 app-cdr/liblightscribe/files/digest-liblightscribe-1.10.19.1 create mode 100644 app-cdr/liblightscribe/liblightscribe-1.10.19.1.ebuild diff --git a/app-cdr/liblightscribe/ChangeLog b/app-cdr/liblightscribe/ChangeLog index 2a72aafd..64fea00e 100644 --- a/app-cdr/liblightscribe/ChangeLog +++ b/app-cdr/liblightscribe/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 23 Nov 2007; Mario Fetka + +liblightscribe-1.10.19.1.ebuild: + Bump & build/install sample lsprint + 21 Oct 2007; Mario Fetka liblightscribe-1.10.13.1.ebuild: correct info about elcu.sh diff --git a/app-cdr/liblightscribe/Manifest b/app-cdr/liblightscribe/Manifest index 98b5c095..77de7baa 100644 --- a/app-cdr/liblightscribe/Manifest +++ b/app-cdr/liblightscribe/Manifest @@ -3,16 +3,22 @@ MD5 6f9eb8bc141413ae6fe73fd302f8b400 files/80liblightscribe 30 RMD160 9c63f02504848d22ceccf37d261315682d6847da files/80liblightscribe 30 SHA256 ec396642c57e39565e5bcf8bbec587789a3c40450a241e366b417f2f17b4c9e8 files/80liblightscribe 30 DIST lightscribe-1.10.13.1-linux-2.6-intel.rpm 603042 RMD160 312166d47673eb2544446ad024e0642016f41d87 SHA1 529de8513fbe84c334d17a9aee57a579d196aabb SHA256 96672ca6dc8e7c444a332614eb88433b1cced146bf7f9c5b45ece33b55c4ac9c +DIST lightscribe-1.10.19.1-linux-2.6-intel.rpm 617707 RMD160 fe503d6999d09e42897c3a3e42cdba550ea706ca SHA1 9463d7f0fe7d1785bb615f3430f954eeee2dacbb SHA256 d2ffd6ccbe1e670e23b9ec6cab658acfa2ea217b05b998f4389873c0ddca8f3b DIST lightscribe-1.4.113.1-linux-2.6-intel.rpm 481410 RMD160 b4b60e81700f30a9aee4bdb31d17f76c594a0ddc SHA1 79855e36bff6ceb15eb5558ce0f358045182c5ac SHA256 af3d4620bb15a2026e243ccb915481688c6636b85cbeaf6a9b275a2ad4fbce56 DIST lightscribe-1.4.142.1-linux-2.6-intel.rpm 497525 RMD160 e803fe21d79ef9478a6b7fab01718b44b77f5617 SHA1 8fa4d951e7af8dee2e983f03191d8d73dcb052a5 SHA256 7924c646e5d03989ca39c958d0cff5d2a0b2d8b6db86a9d81f504f7780cb9572 DIST lightscribe-1.8.15.1-linux-2.6-intel.rpm 598634 RMD160 a939f050d709cdd3a0b3d6457d5cd69248a0f01e SHA1 85080159e380a405c9c3c52b00daf89b24c7f928 SHA256 9bbfd65766131884b859128907d21ca887156dd9d0834c25dc388a7eadb4f4f6 DIST lightscribePublicSDK-1.10.13.1-linux-2.6-intel.rpm 619749 RMD160 265b98cfc9db912c518555b305aa6e54bbc876f9 SHA1 bd5ce637035f91c574632ebce92eb69a24956ec7 SHA256 9bddbe9d3d81ffe7705eade0455bfc0ca0e95cc19d178939cc1068d0ea071b36 +DIST lightscribePublicSDK-1.10.19.1-linux-2.6-intel.rpm 619747 RMD160 6fe63fd957eea72fdcf7d01a859eff5b41dbaf4e SHA1 4562299ab53853b59cea734c23bc0f98f0b8b012 SHA256 247ae6a153571cfd4f382013b0a2190d3ba11af81116e21f2ac98e533920c828 DIST lightscribePublicSDK-1.4.142.1-linux-2.6-intel.rpm 619747 RMD160 8d92f0da78effe85d3c896780208522151fda930 SHA1 c652fcfb33472322b9e008108736b2bd2bb91ad4 SHA256 56f63b4e26bf566cd1b352970c074c0a1853b49a358fa7488fad13456eea3217 DIST lightscribePublicSDK-1.8.15.1-linux-2.6-intel.rpm 619750 RMD160 03797dc087679c72ee6c062d6d26ba026ac7f63b SHA1 d75a348fe65c1313da671a2f36fc1df9a070c260 SHA256 115477bf2c7ba5179ecd2532b67f36cfe111580b63fb67622dc5cc7aebe18467 EBUILD liblightscribe-1.10.13.1.ebuild 2301 RMD160 65b424211fb7841ecb5c20dc93bc0b54d2db2bd5 SHA1 1babc632f038f07d4672e1caa523b82dbcf92c2f SHA256 d1b68a2e1f3b334f161a87716b20459dc412d71a8de113c458bd9b1ae3d1f735 MD5 e9c36795774d10df954c11dabd901f64 liblightscribe-1.10.13.1.ebuild 2301 RMD160 65b424211fb7841ecb5c20dc93bc0b54d2db2bd5 liblightscribe-1.10.13.1.ebuild 2301 SHA256 d1b68a2e1f3b334f161a87716b20459dc412d71a8de113c458bd9b1ae3d1f735 liblightscribe-1.10.13.1.ebuild 2301 +EBUILD liblightscribe-1.10.19.1.ebuild 2771 RMD160 7fe747d194f60b464f1c46b8b0227b4931f7fe13 SHA1 261cb062a38a4c3129bf607ee88ae701c7a92e58 SHA256 9fc8a509f43e7149eeb257b592ad150655876ba83ceaf1b4020be345878d1119 +MD5 75f27737fa51ac865f4698ec736ae8d9 liblightscribe-1.10.19.1.ebuild 2771 +RMD160 7fe747d194f60b464f1c46b8b0227b4931f7fe13 liblightscribe-1.10.19.1.ebuild 2771 +SHA256 9fc8a509f43e7149eeb257b592ad150655876ba83ceaf1b4020be345878d1119 liblightscribe-1.10.19.1.ebuild 2771 EBUILD liblightscribe-1.4.113.1.ebuild 982 RMD160 b24085ebe128b6e38d74ca6bf035df775faf2944 SHA1 5a4385592feb1bf87ff24aad0403964068c93859 SHA256 b840ced3434888c07e8f57e901062ecbbd0d1cca9bd70126275b2cb2a64cf7f4 MD5 aca96f3ba9acc84defc5cf1a2c47c31a liblightscribe-1.4.113.1.ebuild 982 RMD160 b24085ebe128b6e38d74ca6bf035df775faf2944 liblightscribe-1.4.113.1.ebuild 982 @@ -25,10 +31,10 @@ EBUILD liblightscribe-1.8.15.1.ebuild 1294 RMD160 04bb79e35b95b58deb867b2692f4c3 MD5 4f625375bedfa4855bd7fd389f9485a0 liblightscribe-1.8.15.1.ebuild 1294 RMD160 04bb79e35b95b58deb867b2692f4c3c9c5146e5d liblightscribe-1.8.15.1.ebuild 1294 SHA256 8acbdfc74c7165dca1f4487836e8ef655e19f155f8a4dd0225d713697dc8cadd liblightscribe-1.8.15.1.ebuild 1294 -MISC ChangeLog 1462 RMD160 273b8dda8be388e47635af2854b843f9ca69ba7e SHA1 2799c5571146bb917b0c0d3b6a2eaf3969f0edda SHA256 418811ff2c8d408def8d2aafc6c34a3f254190ba97cb573f3d4bdd5f65927af7 -MD5 17f55a98fed29ffca906609149f89ae3 ChangeLog 1462 -RMD160 273b8dda8be388e47635af2854b843f9ca69ba7e ChangeLog 1462 -SHA256 418811ff2c8d408def8d2aafc6c34a3f254190ba97cb573f3d4bdd5f65927af7 ChangeLog 1462 +MISC ChangeLog 1585 RMD160 63e86adeb67c13c96fdc5808e1896df0a905a779 SHA1 bc6c152cd8368301f5f5dd60ad2d7205fbd6dfce SHA256 ffef33e8083c1d38607198f20f735a7029c995dd538078f1c7728f4c810bf195 +MD5 8ff2881244a1579c2001193f4efc5c54 ChangeLog 1585 +RMD160 63e86adeb67c13c96fdc5808e1896df0a905a779 ChangeLog 1585 +SHA256 ffef33e8083c1d38607198f20f735a7029c995dd538078f1c7728f4c810bf195 ChangeLog 1585 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -36,6 +42,9 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 99d88fc64ca4d074503264455406aa9d files/digest-liblightscribe-1.10.13.1 635 RMD160 2d7cb923e7042ee779d75a2da442234ac388e13c files/digest-liblightscribe-1.10.13.1 635 SHA256 ed84275cce07a4ec540f619e644b28abb73971753cb477f62324219ce5fec5ab files/digest-liblightscribe-1.10.13.1 635 +MD5 a7c918c14fc82d6f4c9eecf49556c185 files/digest-liblightscribe-1.10.19.1 635 +RMD160 2a02d6951e6473b5e818ed85c8b4da22d4dfcf05 files/digest-liblightscribe-1.10.19.1 635 +SHA256 3aecdde3df933e1fb983f51493b206d7ac9ec55020402cad23b66897f9342346 files/digest-liblightscribe-1.10.19.1 635 MD5 ce4d7945e8f2398e0d7ade239057268e files/digest-liblightscribe-1.4.113.1 304 RMD160 21ca2dc16da3b6c26b3f531668d22fa33989a0f7 files/digest-liblightscribe-1.4.113.1 304 SHA256 186e0175c3a18bec56dec204701b72bc46e448dbc84a9bcd3cf65aacd11b5a5d files/digest-liblightscribe-1.4.113.1 304 diff --git a/app-cdr/liblightscribe/files/digest-liblightscribe-1.10.19.1 b/app-cdr/liblightscribe/files/digest-liblightscribe-1.10.19.1 new file mode 100644 index 00000000..5e313c2a --- /dev/null +++ b/app-cdr/liblightscribe/files/digest-liblightscribe-1.10.19.1 @@ -0,0 +1,6 @@ +MD5 170bce0f23b439a84e9b4e9f348778a1 lightscribe-1.10.19.1-linux-2.6-intel.rpm 617707 +RMD160 fe503d6999d09e42897c3a3e42cdba550ea706ca lightscribe-1.10.19.1-linux-2.6-intel.rpm 617707 +SHA256 d2ffd6ccbe1e670e23b9ec6cab658acfa2ea217b05b998f4389873c0ddca8f3b lightscribe-1.10.19.1-linux-2.6-intel.rpm 617707 +MD5 6a2c20327c82316359b694921cd31690 lightscribePublicSDK-1.10.19.1-linux-2.6-intel.rpm 619747 +RMD160 6fe63fd957eea72fdcf7d01a859eff5b41dbaf4e lightscribePublicSDK-1.10.19.1-linux-2.6-intel.rpm 619747 +SHA256 247ae6a153571cfd4f382013b0a2190d3ba11af81116e21f2ac98e533920c828 lightscribePublicSDK-1.10.19.1-linux-2.6-intel.rpm 619747 diff --git a/app-cdr/liblightscribe/liblightscribe-1.10.19.1.ebuild b/app-cdr/liblightscribe/liblightscribe-1.10.19.1.ebuild new file mode 100644 index 00000000..f1e2e25a --- /dev/null +++ b/app-cdr/liblightscribe/liblightscribe-1.10.19.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 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 +} + +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 + insinto /opt/liblightscribe/$(get_libdir)/lightscribe/xres + doins ${WORKDIR}/usr/lib/lightscribe/xres/* + insinto /opt/liblightscribe/$(get_libdir)/lightscribe/sres + doins ${WORKDIR}/usr/lib/lightscribe/res/* + dosym sres /opt/liblightscribe/$(get_libdir)/lightscribe/res + 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 + dosed "s%/usr/lib%/opt/liblightscribe/$(get_libdir)%" /opt/liblightscribe/$(get_libdir)/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/* + # cope with libraries being in /opt/liblightscribe/lib + dodir /etc/env.d + echo "LDPATH=/opt/liblightscribe/$(get_libdir)" > ${D}/etc/env.d/80liblightscribe + +} + +pkg_postinst() { + einfo + einfo "This version olso support Enhanced Contrast" + einfo "You can activate it by running:" + einfo "/opt/liblightscribe/$(get_libdir)/lightscribe/elcu.sh" + einfo +}