aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2014-01-15 12:23:16 -0600
committerDonnie Berkholz <dberkholz@gentoo.org>2014-01-15 12:23:16 -0600
commit412bf074069c33e7667f37945b5be3a69213ccb5 (patch)
tree22c30209199ced42fa8a3389ce785a4beb88953d
parenttweepy: bump to 2.1. (diff)
downloaddberkholz-412bf074069c33e7667f37945b5be3a69213ccb5.tar.gz
dberkholz-412bf074069c33e7667f37945b5be3a69213ccb5.tar.bz2
dberkholz-412bf074069c33e7667f37945b5be3a69213ccb5.zip
adobe-air-sdk-bin: import 1.5.3 from sunrise.
-rw-r--r--dev-util/adobe-air-sdk-bin/ChangeLog25
-rw-r--r--dev-util/adobe-air-sdk-bin/Manifest7
-rw-r--r--dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-1.5.3.ebuild73
-rw-r--r--dev-util/adobe-air-sdk-bin/files/adobe-air-sdk-bin.xml16
-rw-r--r--dev-util/adobe-air-sdk-bin/files/airstart34
-rw-r--r--dev-util/adobe-air-sdk-bin/files/airstart.desktop10
-rw-r--r--dev-util/adobe-air-sdk-bin/metadata.xml5
7 files changed, 170 insertions, 0 deletions
diff --git a/dev-util/adobe-air-sdk-bin/ChangeLog b/dev-util/adobe-air-sdk-bin/ChangeLog
new file mode 100644
index 0000000..e6b8917
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for dev-util/adobe-air-sdk-bin
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 29 Apr 2011; Justin Lecher <jlec@gentoo.org>
+ adobe-air-sdk-bin-1.5.3.ebuild:
+ Fix deps for gnome3
+
+ 05 Apr 2010; Piotr Szymaniak <lazy_bum@o2.pl>
+ adobe-air-sdk-bin-1.5.3.ebuild:
+ Updated again.
+
+ 05 Apr 2010; Piotr Szymaniak <lazy_bum@o2.pl>
+ adobe-air-sdk-bin-1.5.3.ebuild:
+ Fixed arch logic.
+
+ 31 Mar 2010; Piotr Szymaniak <lazy_bum@o2.pl>
+ adobe-air-sdk-bin-1.5.3.ebuild:
+ Updated for x86 support.
+
+ 08 Mar 2010; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
+ +adobe-air-sdk-bin-1.5.3.ebuild, +files/adobe-air-sdk-bin.xml,
+ +files/airstart, +files/airstart.desktop, +metadata.xml:
+ New ebuild for bug #267555.
+
diff --git a/dev-util/adobe-air-sdk-bin/Manifest b/dev-util/adobe-air-sdk-bin/Manifest
new file mode 100644
index 0000000..ee7baca
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/Manifest
@@ -0,0 +1,7 @@
+AUX adobe-air-sdk-bin.xml 733 RMD160 6eefe40d9609e229db418652036219e0f0f5d4b1 SHA1 5b5d0c9f56ad80407da13a69c3f7d8480f0ff19d SHA256 78ed2730fdae405e619c7ff56f9cb05b2d9542f86dfa1bd90a7ef1e334034011
+AUX airstart 545 RMD160 96b54f5fdc8ac2cc0814c5691847a0685a9a6205 SHA1 46b91c7c85f53c3e8c9b54914877241539997731 SHA256 668155a4751e99686c08823cea1d4b1c640f2d5adf80ffbd886322675ec61f2c
+AUX airstart.desktop 367 RMD160 120565cdbba01cb89c6f5d1433703f04bdd1d38d SHA1 70161b83e7e2e90005fdd947f1c020c5dcaa3686 SHA256 0b1670898b8dc5c295df88e5c84b486b5ad4ca3da99d8d918b39ce3418d331ed
+DIST AdobeAIRSDK-1.5.3.tbz2 19700568 RMD160 14d5b296c3cc87c1aa1149f30a4f9df39c1f10ab SHA1 0232a4ecf327fc8bcdfdf7fa14f5d81bddc6112c SHA256 aa33f9b38b57138d28403d5abf0654071bd972999cf8308ddec45b5866a81c8b
+EBUILD adobe-air-sdk-bin-1.5.3.ebuild 1964 RMD160 0b21bcae394c41799ad0b2971d54473774b35f9c SHA1 df7a2d0d55fdb0b2970e51c58597d5c9b36b13a5 SHA256 7a420983f4f122d61745ab896f1e5adc0036513a17755e0688d4ffd6c6a32cec
+MISC ChangeLog 763 RMD160 1ecde1d97c18fbb14d4dc170fce2983077c77182 SHA1 7e77811f6c8739cc185ec18b53f86349e4e5bfa7 SHA256 958e2aafc7b5a5866c696d672a84ce4cc09e7a4ae0157835737b78f2a870dd52
+MISC metadata.xml 209 RMD160 184537d7a401571abe0e5cbf9258ba3947d19382 SHA1 f2ea13baedca19e24be6ed7c3e6b765f7ff67cba SHA256 b0f0595f625235a62d9d40753827ae160e42156371fd9568bd2779042517f5e8
diff --git a/dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-1.5.3.ebuild b/dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-1.5.3.ebuild
new file mode 100644
index 0000000..17bbeba
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-1.5.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils fdo-mime multilib
+
+DESCRIPTION="Adobe AIR SDK"
+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=""
+
+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+:2 )
+ amd64? ( app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-gtklibs )"
+
+QA_PRESTRIPPED=".*\.so
+ /opt/Adobe/AirSDK/bin/adl"
+QA_EXECSTACK="*/libCore.so"
+
+src_install() {
+ local sdkdir=opt/Adobe/AirSDK
+ local rtdir='runtimes/air/linux/Adobe AIR/Versions/1.0'
+
+ # remove the broken symlinks
+ rm -r "${rtdir}"/Resources/nss3/{0d,1d,None} || die "removing cruft failed"
+ if use x86; then
+ rm "${rtdir}"/Resources/lib{curl,flashplayer}.so || die "removing cruft failed"
+ fi
+
+ insinto /${sdkdir}
+ doins -r * || die "doins failed"
+
+ cd "${D}"
+ fperms 0755 ${sdkdir}/bin/* ${sdkdir}/"${rtdir}"/{libCore.so,Resources/lib*.so*} \
+ || die "chmod failed"
+
+ use x86 && make_wrapper adl /${sdkdir}/bin/adl . /usr/lib/nss:/usr/lib/nspr:/opt/netscape/plugins /opt/bin
+ use amd64 && make_wrapper adl /${sdkdir}/bin/adl . /usr/lib32:/usr/lib32/nss:/usr/lib32/nspr /opt/bin
+
+ exeinto /opt/bin
+ doexe "${FILESDIR}"/airstart || die "doexe failed"
+
+ # install the file association
+ # (we can't use make_desktop_entry because we like to have NoDisplay)
+ domenu "${FILESDIR}"/airstart.desktop || die "domenu failed"
+
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/${PN}.xml || die "doins failed"
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/dev-util/adobe-air-sdk-bin/files/adobe-air-sdk-bin.xml b/dev-util/adobe-air-sdk-bin/files/adobe-air-sdk-bin.xml
new file mode 100644
index 0000000..e82a6f2
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/files/adobe-air-sdk-bin.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/vnd.adobe.air-application-installer-package+zip">
+ <comment>Adobe AIR application</comment>
+ <comment xml:lang="pl">Aplikacja Adobe AIR</comment>
+ <magic priority="50">
+ <match value="PK\003\004" type="string" offset="0">
+ <match value="mimetype" type="string" offset="30">
+ <match value="application/vnd.adobe.air-application-installer-package+zip" type="string" offset="38"/>
+ <match value="application/vnd.adobe.apollo-application-installer-package+zip" type="string" offset="38"/>
+ </match>
+ </match>
+ </magic>
+ <glob pattern="*.air"/>
+ </mime-type>
+</mime-info>
diff --git a/dev-util/adobe-air-sdk-bin/files/airstart b/dev-util/adobe-air-sdk-bin/files/airstart
new file mode 100644
index 0000000..db76d6c
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/files/airstart
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+synopsis() {
+ echo "Synopsis: $0 appl.air" >&2
+ exit 1
+}
+
+[ -z "$1" ] && synopsis
+
+tmpdir="$(mktemp -d /tmp/adobeair.XXXXXXXXXX)"
+
+cleanup() {
+ rm -rf "${tmpdir}"
+}
+
+runair() {
+ if [ ! -f "$1" ]; then
+ echo 'Specified application file not found:' "$1" >&2
+ cleanup
+ synopsis
+ return 1
+ fi
+
+ if ! unzip -q "$1" -d "${tmpdir}"; then
+ echo 'Unable to extract AIR application:' "$1" >&2
+ return 1
+ fi
+
+ /opt/bin/adl -nodebug "${tmpdir}"/META-INF/AIR/application.xml "${tmpdir}"
+}
+
+trap cleanup HUP INT QUIT TERM
+runair "$1"
+cleanup
diff --git a/dev-util/adobe-air-sdk-bin/files/airstart.desktop b/dev-util/adobe-air-sdk-bin/files/airstart.desktop
new file mode 100644
index 0000000..c4616ff
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/files/airstart.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Adobe AIR SDK application starter
+Comment=Start Adobe AIR applications using the SDK
+Exec=airstart %f
+NoDisplay=true
+Terminal=false
+Icon=/opt/Adobe/AirSDK/samples/icons/AIRApp_128.png
+MimeType=application/vnd.adobe.air-application-installer-package+zip;application/vnd.adobe.apollo-application-installer-package+zip;
diff --git a/dev-util/adobe-air-sdk-bin/metadata.xml b/dev-util/adobe-air-sdk-bin/metadata.xml
new file mode 100644
index 0000000..f9d4a98
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>