move liblightscribe to its new location
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@1926 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
c091b90ebf
commit
466df71ad5
@ -2,10 +2,10 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
EAPI=2
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="OS lightScribe labeler for Linux"
|
||||
DESCRIPTION="OS lightScribe labeler"
|
||||
HOMEPAGE="http://sourceforge.net/projects/qlscribe/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/qt-gui:4[dbus]
|
||||
app-cdr/liblightscribe
|
||||
dev-libs/liblightscribe
|
||||
amd64? ( app-emulation/emul-linux-x86-baselibs )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
|
215
dev-libs/liblightscribe/ChangeLog
Normal file
215
dev-libs/liblightscribe/ChangeLog
Normal file
@ -0,0 +1,215 @@
|
||||
# ChangeLog for app-cdr/liblightscribe
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
01 Feb 2010; Mario Fetka <mario.fetka@gmail.com> Manifest:
|
||||
update manifest
|
||||
|
||||
01 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.18.11.1.ebuild, metadata.xml:
|
||||
update manifest
|
||||
|
||||
01 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.18.11.1.ebuild:
|
||||
use newlib.so for install
|
||||
|
||||
01 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.18.11.1.ebuild:
|
||||
remove useless depend
|
||||
|
||||
01 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.18.10.2-r1.ebuild, +liblightscribe-1.18.11.1.ebuild:
|
||||
bump
|
||||
|
||||
05 Jan 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.10.2-r1.ebuild:
|
||||
properly split prepare and install section
|
||||
|
||||
08 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
-liblightscribe-1.14.17.1.ebuild, -liblightscribe-1.14.19.1.ebuild,
|
||||
-liblightscribe-1.14.32.1.ebuild, -liblightscribe-1.18.1.1.ebuild,
|
||||
-liblightscribe-1.18.1.1-r1.ebuild, -liblightscribe-1.18.2.1.ebuild,
|
||||
-liblightscribe-1.18.3.2.ebuild, -liblightscribe-1.18.4.1.ebuild,
|
||||
-liblightscribe-1.18.4.1-r1.ebuild, -liblightscribe-1.18.4.1-r2.ebuild,
|
||||
-liblightscribe-1.18.6.1.ebuild, -liblightscribe-1.18.6.1-r1.ebuild,
|
||||
-files/liblightscribe-gcc43-1.patch, -files/80liblightscribe:
|
||||
cleanup
|
||||
|
||||
*liblightscribe-1.18.8.1 (01 Sep 2009)
|
||||
*liblightscribe-1.18.6.1-r2 (01 Sep 2009)
|
||||
|
||||
01 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.6.1-r2.ebuild, +liblightscribe-1.18.8.1.ebuild:
|
||||
Bump upstraem
|
||||
|
||||
*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
|
||||
|
||||
*liblightscribe-1.18.6.1 (30 Jun 2009)
|
||||
|
||||
30 Jun 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.6.1.ebuild:
|
||||
Bump Upstream
|
||||
|
||||
*liblightscribe-1.18.5.1 (22 Jun 2009)
|
||||
|
||||
22 Jun 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.5.1.ebuild:
|
||||
Bump upstream
|
||||
|
||||
*liblightscribe-1.18.4.1-r2 (15 May 2009)
|
||||
|
||||
15 May 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.4.1-r2.ebuild:
|
||||
rename lib to make revdep-rebuild happy
|
||||
|
||||
* liblightscribe-1.18.4.1-r1 (25 Apr 2009)
|
||||
* liblightscribe-1.18.4.1 (25 Apr 2009)
|
||||
|
||||
25 Apr 2009; Mario Fetka <mario.fetka@gmail.com> liblightscribe-1.18.4.1,
|
||||
liblightscribe-1.18.4.1-r1:
|
||||
Correct 2 year old typo
|
||||
|
||||
17 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.3.2.ebuild:
|
||||
die on all do*
|
||||
|
||||
16 Mar 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.2.1.ebuild:
|
||||
now EAPI=2
|
||||
|
||||
24 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.1.1-r1.ebuild:
|
||||
fix libstdc++.so.5: no version information available
|
||||
|
||||
24 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.18.1.1.ebuild:
|
||||
fix broken /opt/liblightscribe/lib32/liblightscribe.so.1
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=152031#c74
|
||||
|
||||
16 Feb 2009; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
Bump
|
||||
|
||||
13 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.18.1.1.ebuild:
|
||||
Bump
|
||||
|
||||
15 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.14.32.1.ebuild:
|
||||
remve unneeded eclass
|
||||
|
||||
14 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.14.32.1.ebuild:
|
||||
don't build lsprint move to own package
|
||||
|
||||
14 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
liblightscribe-1.14.32.1.ebuild:
|
||||
fetch restict package
|
||||
|
||||
01 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
+liblightscribe-1.14.32.1.ebuild:
|
||||
Bump
|
||||
|
||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
-liblightscribe-1.12.29.2.ebuild, -liblightscribe-1.12.37.1.ebuild,
|
||||
liblightscribe-1.14.17.1.ebuild, liblightscribe-1.14.19.1.ebuild:
|
||||
Repoman Cleanup
|
||||
|
||||
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
|
||||
|
||||
30 Jul 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
-liblightscribe-1.4.113.1.ebuild, -liblightscribe-1.4.142.1.ebuild,
|
||||
-liblightscribe-1.8.15.1.ebuild, -liblightscribe-1.10.13.1.ebuild,
|
||||
-liblightscribe-1.10.19.1.ebuild, -liblightscribe-1.10.23.1.ebuild,
|
||||
-liblightscribe-1.10.27.1.ebuild, +liblightscribe-1.14.17.1.ebuild:
|
||||
Bump
|
||||
|
||||
18 Apr 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+liblightscribe-1.12.37.1.ebuild:
|
||||
Bump
|
||||
|
||||
06 Feb 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.12.29.2.ebuild:
|
||||
correct typo
|
||||
|
||||
06 Feb 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.12.29.2.ebuild:
|
||||
1.12.29.2 dont provide res files so no need for install
|
||||
|
||||
06 Feb 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+liblightscribe-1.12.29.2.ebuild:
|
||||
Bump
|
||||
|
||||
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+liblightscribe-1.10.27.1.ebuild:
|
||||
Bump
|
||||
|
||||
08 Dec 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+liblightscribe-1.10.23.1.ebuild:
|
||||
Bump
|
||||
|
||||
23 Nov 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+liblightscribe-1.10.19.1.ebuild:
|
||||
Bump & build/install sample lsprint
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
correct info about elcu.sh
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
add info about elcu.sh
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
finish amd64 support
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
create env.d file with echo
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
add support for xres
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
correct install
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
correct install
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
correct install
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
correct install
|
||||
|
||||
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
liblightscribe-1.10.13.1.ebuild:
|
||||
correct install
|
||||
|
||||
05 Oct 2007; Mario Fetka <mario-fetka@gmx.at> +metadata.xml,
|
||||
+liblightscribe-1.10.13.1.ebuild:
|
||||
bump lightscribe
|
||||
|
||||
19 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +files/80liblightscribe,
|
||||
+liblightscribe-1.4.113.1.ebuild, +liblightscribe-1.4.142.1.ebuild:
|
||||
Inital ebuild
|
||||
|
17
dev-libs/liblightscribe/Manifest
Normal file
17
dev-libs/liblightscribe/Manifest
Normal file
@ -0,0 +1,17 @@
|
||||
DIST lightscribe-1.18.10.2-linux-2.6-intel.rpm 817003 RMD160 89baff6015609c41af2e1aa4310a6cd1917d0dfd SHA1 285a7efdfb3b1358e0b28a82ca72d3d43ecc9450 SHA256 e1e7f5d98bc20715b382f156ecb46daa1a26c3a0b760757f045aeb55424842a4
|
||||
DIST lightscribe-1.18.11.1-linux-2.6-intel.rpm 817351 RMD160 eb2241a2f9643bbf797020e5db6899e888582450 SHA1 839cdd9c6f219747e9964f2d0f89023a66e9d24a SHA256 efecac85a70b32b12ab9bff1e2229de3bc8f5b1403eaf1ccb867b7ed6b2a5bee
|
||||
DIST lightscribe-1.18.5.1-linux-2.6-intel.rpm 815047 RMD160 48212d5108b0afaae0caefa47dea27a83184b4f7 SHA1 e9cf5856b26565c71d56dde243cfa47a29b990c4 SHA256 77f8240b8edb8c5de5b507c9382c53b689ecd7db7ecf37606dbb959f109e665c
|
||||
DIST lightscribe-1.18.6.1-linux-2.6-intel.rpm 815788 RMD160 edbcbff934e550f60fe7b92f87eb0528ea0b8fd9 SHA1 ff32dd0b8f005ebb53d70f6ff2771fe48a1ecc27 SHA256 7f5b8cdca7406865aaaaa0920f01085b1bc1ba75699b89ec7b94d2b1de9a578f
|
||||
DIST lightscribe-1.18.8.1-linux-2.6-intel.rpm 816331 RMD160 57e808451666d73e9f77a18ff688b894e9d7b15d SHA1 0bb830913379ad4a79761a6e588b8ee5a587af7a SHA256 60a242e8e9867b85f596e596a87d07c0bb5e84035bf2b4db127d017ccfdf4ffb
|
||||
DIST lightscribe-1.18.9.1-linux-2.6-intel.rpm 816566 RMD160 a513fc676f5becb8affeeefcbafc80fc94e5bade SHA1 27fd66983fdca1e92d8c8e9fa8242747b171c258 SHA256 47151be4748ac27c79534004485077c8f3da5e9c82724057aa109810c2d617a2
|
||||
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.18.10.2-r1.ebuild 3252 RMD160 f420b038a5b16da4e6d877a34b92bbe2d8f05a16 SHA1 f4cad16206842dd65f083ca7997cc44cbce12903 SHA256 619bd5fcdbb5b413686cacb10e7a97f63c3fdc2aeeffba698b36722890025b99
|
||||
EBUILD liblightscribe-1.18.10.2.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
EBUILD liblightscribe-1.18.11.1.ebuild 3197 RMD160 14a87540e0bd22aaa4779620efac170da63cbf7f SHA1 43ad1f7f1f2850de7bf5638f333965b2c9c9f6f2 SHA256 b3c110c8038ca4a27a78d13b847bd957eaaa5ce4fc15aef887bcf5e841783766
|
||||
EBUILD liblightscribe-1.18.5.1.ebuild 3164 RMD160 127d47865b995ca8c81dce7dd742a1d79addd15d SHA1 1d5db7f6787adc39e3204f52ec6bac9dd87217f6 SHA256 d97b04408583ff6f297fe5143fc94911cd5e9e01d50c647162f2279cd683c7d2
|
||||
EBUILD liblightscribe-1.18.6.1-r2.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
EBUILD liblightscribe-1.18.8.1.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
EBUILD liblightscribe-1.18.9.1.ebuild 3172 RMD160 ffdfe42ad9c125eeaf5a3392290fa2b893d2e79b SHA1 d82c7abee83d81d1ca2adc58bd403c1bb40ce80a SHA256 427c496dbd6823a4ee402d7c7879aece237dbdb5572c8fdb91edfb52d5a107b7
|
||||
MISC ChangeLog 6587 RMD160 b47583be26808350ea151ed407883149a13a37d6 SHA1 eb2a1f0b64ebfb3274bb168c3b1e51d228d0d36f SHA256 c19e81bc47e3bfa92d5185198b3387e065c8043a96f056255c92e05f94ab7ea4
|
||||
MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b
|
93
dev-libs/liblightscribe/liblightscribe-1.18.10.2-r1.ebuild
Normal file
93
dev-libs/liblightscribe/liblightscribe-1.18.10.2-r1.ebuild
Normal file
@ -0,0 +1,93 @@
|
||||
# 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"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="x86? ( sys-libs/libstdc++-v3 )
|
||||
amd64? ( sys-libs/libstdc++-v3[multilib] )
|
||||
!app-cdr/lightscribe"
|
||||
|
||||
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() {
|
||||
# make revdep-rebuild happy Bug 152031 comment 74
|
||||
mv usr/lib/liblightscribe.so.1 usr/lib/liblightscribe.so.0.0.1
|
||||
|
||||
# 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
|
||||
mv usr/lib/lightscribe/libstdc++.so.5.0.7 usr/lib/lightscribe/libstdcv3.so.5.0.7
|
||||
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/liblightscribe.so.0.0.1
|
||||
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/lightscribe/libstdcv3.so.5.0.7
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare 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
|
||||
dolib.so usr/lib/liblightscribe.so.* || die "liblightscribe.so.* install failed"
|
||||
dolib.so usr/lib/lightscribe/libstdcv3.so.* || 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
|
||||
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}"
|
||||
}
|
85
dev-libs/liblightscribe/liblightscribe-1.18.10.2.ebuild
Normal file
85
dev-libs/liblightscribe/liblightscribe-1.18.10.2.ebuild
Normal 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}"
|
||||
}
|
88
dev-libs/liblightscribe/liblightscribe-1.18.11.1.ebuild
Normal file
88
dev-libs/liblightscribe/liblightscribe-1.18.11.1.ebuild
Normal file
@ -0,0 +1,88 @@
|
||||
# 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"
|
||||
|
||||
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}"
|
||||
}
|
84
dev-libs/liblightscribe/liblightscribe-1.18.5.1.ebuild
Normal file
84
dev-libs/liblightscribe/liblightscribe-1.18.5.1.ebuild
Normal file
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils rpm multilib flag-o-matic
|
||||
|
||||
SDK_PV=1.14.32.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] )"
|
||||
|
||||
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}"
|
||||
}
|
85
dev-libs/liblightscribe/liblightscribe-1.18.6.1-r2.ebuild
Normal file
85
dev-libs/liblightscribe/liblightscribe-1.18.6.1-r2.ebuild
Normal 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}"
|
||||
}
|
85
dev-libs/liblightscribe/liblightscribe-1.18.8.1.ebuild
Normal file
85
dev-libs/liblightscribe/liblightscribe-1.18.8.1.ebuild
Normal 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}"
|
||||
}
|
85
dev-libs/liblightscribe/liblightscribe-1.18.9.1.ebuild
Normal file
85
dev-libs/liblightscribe/liblightscribe-1.18.9.1.ebuild
Normal 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}"
|
||||
}
|
8
dev-libs/liblightscribe/metadata.xml
Normal file
8
dev-libs/liblightscribe/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
<use>
|
||||
<flag name='multilib'>Installs the lib into the right dir on amd64</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user