summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Elsner <open@mindrunner.de>2015-11-14 20:45:41 +0100
committerLukas Elsner <open@mindrunner.de>2015-11-14 20:45:41 +0100
commit98bde8d2868ff1712bf21aea70a1fe7ae375b407 (patch)
treed1b85863df862bd1ca925c9651a24d60298f2e46 /dev-util/adobe-air-runtime
parent tvheadend fix (diff)
downloadluman-98bde8d2868ff1712bf21aea70a1fe7ae375b407.tar.gz
luman-98bde8d2868ff1712bf21aea70a1fe7ae375b407.tar.bz2
luman-98bde8d2868ff1712bf21aea70a1fe7ae375b407.zip
add adobe air runtime from steam-overlay as dependency for devolo-dlan-cockpit
Diffstat (limited to 'dev-util/adobe-air-runtime')
-rw-r--r--dev-util/adobe-air-runtime/Manifest2
-rw-r--r--dev-util/adobe-air-runtime/adobe-air-runtime-2.6-r1.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/adobe-air-runtime/Manifest b/dev-util/adobe-air-runtime/Manifest
new file mode 100644
index 0000000..4078a42
--- /dev/null
+++ b/dev-util/adobe-air-runtime/Manifest
@@ -0,0 +1,2 @@
+DIST AdobeAIRSDK-2.6.tbz2 37489410 SHA256 58912fc6797bcbab49de1f4accb4743a72e7b20384bae1babf9242ac88007501 SHA512 8185db9749f05bd60f3e52bf12de779c9f22da73142aca41326f57e24ef9b62c8f4bd9b7ba28cd110c7c4288d61870a8a9b8806bd51ae5cfd860aa57745d4527 WHIRLPOOL 38ae4dc5c74352224f8f20d6bf1f1c741e648cb6c3f66849487fd1f392bbad8bfdacb9765761db40e1ad0da6ff1bbc6e8103c3a5ba2eb7594e5bf5ca6c1d884d
+EBUILD adobe-air-runtime-2.6-r1.ebuild 2240 SHA256 11c8c38ccf5f43961284434b60eb4b3516218eda8c58584c218921d71220d6e9 SHA512 a2ed38794ed37126cae2c01fa239e368cc8b624f72f6056c01663c5288a48353b91147fb71552ccd2cd0aa058e928be10c9a51d93589eebbc2ad30853d102ec9 WHIRLPOOL 2a4cdab076a3b3eebf35c4cd79a2c372ec547f6add5522fef106f6ceb2d3b8d35a2e190c606e7ca6323ffb8d6e6f2568843f01ea668e12e62ae851cce0e3421c
diff --git a/dev-util/adobe-air-runtime/adobe-air-runtime-2.6-r1.ebuild b/dev-util/adobe-air-runtime/adobe-air-runtime-2.6-r1.ebuild
new file mode 100644
index 0000000..9f23763
--- /dev/null
+++ b/dev-util/adobe-air-runtime/adobe-air-runtime-2.6-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime multilib
+
+DESCRIPTION="Adobe AIR runtime"
+HOMEPAGE="http://www.adobe.com/products/air/tools/sdk/"
+SRC_URI="http://airdownload.adobe.com/air/lin/download/${PV}/AdobeAIRSDK.tbz2 -> AdobeAIRSDK-${PV}.tbz2"
+
+LICENSE="AdobeAIRSDK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="strip mirror"
+
+DEPEND=""
+RDEPEND="app-arch/unzip
+ x86? ( dev-libs/libxml2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/libpng
+ net-misc/curl
+ www-plugins/adobe-flash
+ x11-libs/cairo
+ x11-libs/gtk+ )
+ amd64? (
+ dev-libs/glib[abi_x86_32]
+ dev-libs/libxml2[abi_x86_32]
+ dev-libs/nspr[abi_x86_32]
+ dev-libs/nss[abi_x86_32]
+ gnome-base/gconf:2[abi_x86_32]
+ net-misc/curl[abi_x86_32]
+ sys-libs/zlib[abi_x86_32]
+ x11-libs/gtk+:2[abi_x86_32,cups]
+ x11-libs/gdk-pixbuf[abi_x86_32]
+ x11-libs/pango[abi_x86_32]
+ )"
+
+QA_PRESTRIPPED=".*\.so"
+QA_EXECSTACK="*/libCore.so */libcurl.so */libadobecertstore.so */libadobecp.so"
+QA_TEXTRELS="*/libcurl.so */libadobecertstore.so"
+QA_PREBUILT=".*\.so */Resources/rpmbuilder */Resources/appentry"
+
+S=${WORKDIR}
+
+src_install() {
+ local SDKDIR="opt/Adobe AIR/"
+ local RTDIR="runtimes/air/linux/Adobe AIR/Versions/1.0"
+
+ # fix QA, see https://bugs.gentoo.org/show_bug.cgi?id=542796
+ patchelf --set-rpath "$(patchelf --print-rpath "${RTDIR}"/Resources/libcurl.so | sed "s,\\$\\$,$,g")" "${RTDIR}"/Resources/libcurl.so
+ patchelf --set-rpath "$(patchelf --print-rpath "${RTDIR}"/Resources/libpacparser.so | sed "s,\\$\\$,$,g")" "${RTDIR}"/Resources/libpacparser.so
+
+ # remove the broken symlinks
+ rm -fr "${RTDIR}"/Resources/nss3/{0d,1d}
+ use x86 && rm -rf "${RTDIR}"/Resources/lib{curl,flashplayer}.so
+
+ insinto "/${SDKDIR}"
+ doins -r "runtimes/air/linux/Adobe AIR/"*
+
+ cd "${D}"
+ fperms 0755 "${SDKDIR}"/Versions/1.0/{libCore.so,Resources/lib*.so*}
+}
+
+pkg_postinst() {
+ ewarn "Adobe AIR is officially unsupported on Linux."
+ ewarn "Use it on your own risk."
+ ewarn ""
+
+ elog "To run AIR apps, you have to accept the EULA."
+ elog "If you do, execute the following commands as user:"
+ elog " mkdir -p ~/.appdata/Adobe/AIR"
+ elog " echo 2 > ~/.appdata/Adobe/AIR/eulaAccepted"
+}