Added air sdk ebuild
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@9946 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
parent
6457aad6c8
commit
7a8a2ada23
3
media-gfx/air-sdk/Manifest
Normal file
3
media-gfx/air-sdk/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
AUX air-run 166 RMD160 e6ebecb9d547ed2d5028e410bb98df168e968893 SHA1 18da63dd629c8e687f04c1bd38b1f61bfc551c6e SHA256 98b38d465f83b849557b8eb3b4af53b5c8bd2f221b7641e4bf282b9f3cb28f8a
|
||||||
|
DIST air_1.5_sdk.tbz2 19403150 RMD160 28f27a4c99a84029210e8f97a5e1001cffad02ce SHA1 0a5dc95685103c81d25b559b15e3858034a58128 SHA256 9ab4f653471b2896880d09ca61af870fc8e159c6cd032b9c79d0a72e5d1a0ea8
|
||||||
|
EBUILD air-sdk-1.5.ebuild 1159 RMD160 2c5775ed2febe569f856a9a9800c5559a68340c0 SHA1 bcb73c9b92aaf75a45d7bf646403c5f9f1344493 SHA256 ea26f453e1df69fbe741f22f4479b94bb1c8780118da2d426b1bdb21ee8d3c96
|
38
media-gfx/air-sdk/air-sdk-1.5.ebuild
Normal file
38
media-gfx/air-sdk/air-sdk-1.5.ebuild
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
MY_PN="air-sdk"
|
||||||
|
MY_PV=1.5
|
||||||
|
MY_P=${MY_PN}-${PV}
|
||||||
|
DESCRIPTION="Adobe AIR runtime and development kit for Linux"
|
||||||
|
HOMEPAGE="http://labs.adobe.com/technologies/air/"
|
||||||
|
SRC_URI="http://airdownload.adobe.com/air/lin/download/latest/air_1.5_sdk.tbz2"
|
||||||
|
|
||||||
|
LICENSE="AdobeAIR"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
DEPEND="dev-libs/nspr
|
||||||
|
dev-libs/nss"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
virtual/jre"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
rm runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/0d/*.so
|
||||||
|
rm runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/1d/*.so
|
||||||
|
rm runtimes/air/linux/Adobe\ AIR/Versions/1.0/Resources/nss3/None/*.so
|
||||||
|
sed -i -e "s|^here=.*|here=/opt/${P}/bin|" bin/adt
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /opt/${P} insinto /opt/${P}
|
||||||
|
doins -r frameworks lib runtimes AIR\ SDK\ Readme.txt samples SDK\ license.pdf templates || die "doins failed."
|
||||||
|
dodir /opt/${P}/bin || die "dodir bin failed."
|
||||||
|
exeinto /opt/${P}/bin
|
||||||
|
doexe bin/adl || die "doexe failed."
|
||||||
|
doexe bin/adt || die "doexe failed."
|
||||||
|
dosym /opt/${P}/bin/adl /usr/bin/ || die "dosym failed."
|
||||||
|
dosym /opt/${P}/bin/adt /usr/bin/ || die "dosym failed."
|
||||||
|
dobin ${FILESDIR}/air-run
|
||||||
|
}
|
6
media-gfx/air-sdk/files/air-run
Normal file
6
media-gfx/air-sdk/files/air-run
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
AIRDIR=$(mktemp -d /tmp/air-run.XXXXXX)
|
||||||
|
unzip "${1}" -d "${AIRDIR}"
|
||||||
|
adl -nodebug "${AIRDIR}/META-INF/AIR/application.xml" "${AIRDIR}"
|
||||||
|
rm -fr "${AIRDIR}"
|
Loading…
Reference in New Issue
Block a user