dev-libs/liblightscribe: cleanup old ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2679 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
c698ad8e1f
commit
c78d54a3cd
@ -2,6 +2,13 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
-liblightscribe-1.18.11.1-r1.ebuild, -liblightscribe-1.18.12.1.ebuild,
|
||||||
|
-liblightscribe-1.18.13.1.ebuild, -liblightscribe-1.18.14.1.ebuild,
|
||||||
|
-liblightscribe-1.18.15.1.ebuild, -liblightscribe-1.18.16.1.ebuild,
|
||||||
|
-liblightscribe-1.18.17.1.ebuild, -liblightscribe-1.18.18.1.ebuild:
|
||||||
|
cleanup old ebuilds
|
||||||
|
|
||||||
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
|
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
liblightscribe-1.18.19.1-r1.ebuild:
|
liblightscribe-1.18.19.1-r1.ebuild:
|
||||||
correct the desktop file creation
|
correct the desktop file creation
|
||||||
|
@ -1,22 +1,6 @@
|
|||||||
DIST LightScribe_logo_black.zip 299480 RMD160 9121e114c7a0434c317aafd192296bde18af2219 SHA1 36c45d4f1de9e36f71e9b486ef3962282b4e9f4e SHA256 d299f5adc9d1f5adb3b05e8a9f6da4922657bd13134ea20fdc8bf68ebd8566f1
|
DIST LightScribe_logo_black.zip 299480 RMD160 9121e114c7a0434c317aafd192296bde18af2219 SHA1 36c45d4f1de9e36f71e9b486ef3962282b4e9f4e SHA256 d299f5adc9d1f5adb3b05e8a9f6da4922657bd13134ea20fdc8bf68ebd8566f1
|
||||||
DIST lightscribe-1.18.11.1-linux-2.6-intel.rpm 817351 RMD160 eb2241a2f9643bbf797020e5db6899e888582450 SHA1 839cdd9c6f219747e9964f2d0f89023a66e9d24a SHA256 efecac85a70b32b12ab9bff1e2229de3bc8f5b1403eaf1ccb867b7ed6b2a5bee
|
|
||||||
DIST lightscribe-1.18.12.1-linux-2.6-intel.rpm 817931 RMD160 d12d04f9f9b03d9274d0ac7b5ec0c2bf14afca87 SHA1 48bc79fc2fc6f2f3b76f0c29a9cea2fbcad38ec3 SHA256 ec6a5878b68ddac16d568d5fd0c3ada10922110284a6cf31ad996df3ade54d3b
|
|
||||||
DIST lightscribe-1.18.13.1-linux-2.6-intel.rpm 819187 RMD160 a744689f1db73affd2f3da7098738b9e1e3e76f2 SHA1 b41c657923946b65c2b3439c3eec9c970925803b SHA256 5236ecc16fd592a90550528f529713742f1c2b95a84cbea163660b06f29a23e7
|
|
||||||
DIST lightscribe-1.18.14.1-linux-2.6-intel.rpm 820713 RMD160 0719f29435d07a1422f10bbc8c8bcea0a48afe40 SHA1 d024ddfd544d5684303b8c1c8bfb3db517133be7 SHA256 de474379f98046a59a76c7bd51830d3636daa4d877bcb442cc4c0a90cfed5f57
|
|
||||||
DIST lightscribe-1.18.15.1-linux-2.6-intel.rpm 820868 RMD160 6a4739c270866ad235f181d959aa501952d3db04 SHA1 fca586181e69b866929f5b7b0229e0a1b3f60344 SHA256 aeba0907b2cf013f36951173f23f02de4cfe9c201dc72dca46e7c3d252424bd7
|
|
||||||
DIST lightscribe-1.18.16.1-linux-2.6-intel.rpm 821516 RMD160 8566b286d55d7f07cb8b52045c1f6dec4eebcb67 SHA1 a5a5bfcedbe4f2faabe14254d570ad3ab8de075f SHA256 9a581898fbcc2103a2db7959e572684b2f3bd0fcbb950b3c5eaf8e24a8895e3e
|
|
||||||
DIST lightscribe-1.18.17.1-linux-2.6-intel.rpm 821966 RMD160 a688a7bdf7562e06f20ad220ba7a3f4a81cf3227 SHA1 e6acefcc352a2fa8e9a722091d4087097813f8ef SHA256 a0d8f57574d6e884a9855bc3a85392d69a8397fd16340c141514457647eb0615
|
|
||||||
DIST lightscribe-1.18.18.1-linux-2.6-intel.rpm 822755 RMD160 f75c54178ea90b358338c5dc89224f4d55e1bb51 SHA1 f6a48e1352c8cb127b1f294e13539d0e2092adb0 SHA256 ea59c69501ca65badb66da64a9c9d2f29d9740e3b3cf49158168bf55f0baf650
|
|
||||||
DIST lightscribe-1.18.19.1-linux-2.6-intel.rpm 823248 RMD160 d28c692d0df0d64cfc5ebb8718771d2a7f14dedc SHA1 1960968cfef209a0a12e280e46d1ae7819297239 SHA256 db4e8ebffcb82c61c5b784b6b289ea5f0a0bb05c9c09011fc9112922fd8e9161
|
DIST lightscribe-1.18.19.1-linux-2.6-intel.rpm 823248 RMD160 d28c692d0df0d64cfc5ebb8718771d2a7f14dedc SHA1 1960968cfef209a0a12e280e46d1ae7819297239 SHA256 db4e8ebffcb82c61c5b784b6b289ea5f0a0bb05c9c09011fc9112922fd8e9161
|
||||||
DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
|
DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
|
||||||
EBUILD liblightscribe-1.18.11.1-r1.ebuild 3222 RMD160 ca3efdfe4e6503c96c99ad072629dd027a0717a8 SHA1 87d67ccedd0d65875617f790e97e31a27f9128bf SHA256 1a465ea658e1ac23503a8a12aff6f35b696c314119ccf38bac99b99758eadbc1
|
|
||||||
EBUILD liblightscribe-1.18.12.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.13.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.14.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.15.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.16.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.17.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.18.1.ebuild 3216 RMD160 c8bedc7acd1e764efd2675037e378cf5156528a9 SHA1 d1afd94ad9371050dd12c39e9ede0fa52a4f2e2a SHA256 5ad2a75af7dff7a361dff478203fb85e625268797ef32a47e04c9463549ce248
|
|
||||||
EBUILD liblightscribe-1.18.19.1-r1.ebuild 3891 RMD160 0ec541ab531164bc540ac18ab163e028de8a690e SHA1 28856f6e0b320baef682aeb6c71497cfdca84a7d SHA256 9589d86acf807aa3d257b8aa6b1dd21b940d1be179b24f314e7eacfbabd4af83
|
EBUILD liblightscribe-1.18.19.1-r1.ebuild 3891 RMD160 0ec541ab531164bc540ac18ab163e028de8a690e SHA1 28856f6e0b320baef682aeb6c71497cfdca84a7d SHA256 9589d86acf807aa3d257b8aa6b1dd21b940d1be179b24f314e7eacfbabd4af83
|
||||||
MISC ChangeLog 8247 RMD160 a56044566c537d7307badc0a45d199d969072bc6 SHA1 2cc884cf3fd60529eba28244f146ed4ed62a359e SHA256 8e9781056f2397a59826ffa52e1474d4153bd6c09b7b3beb61ea1209aad14284
|
MISC ChangeLog 8604 RMD160 e23bfdb68d9801fc531806e31d530c0bee5fd215 SHA1 7d7ce8973950993bbcf5eb689b49744acd5b8812 SHA256 3c83f88b8b5deedb2326e8025392d4b353d1a44a85e38abab43d59b05bbc1f80
|
||||||
MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b
|
MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b
|
||||||
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!app-cdr/lightscribe
|
|
||||||
!app-cdr/liblightscribe"
|
|
||||||
|
|
||||||
RESTRICT="mirror fetch"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~x86"
|
|
||||||
IUSE="multilib"
|
|
||||||
|
|
||||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
|
||||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
|
||||||
!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"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
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 -i "s%/usr/lib%${ROOT}${LSDIR}%" "${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
|
|
||||||
}
|
|
||||||
|
|
||||||
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}"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user