summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2010-09-15 21:06:09 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2010-09-15 21:06:09 +0000
commitc1825ce011ba23c0458f1a30610389a51c71ceaa (patch)
treee039bfff249c6ee4066be093a3e0b8a8510684ef /dev-util
parentInitial set for kde 4.5 (diff)
downloadpauldv-c1825ce011ba23c0458f1a30610389a51c71ceaa.tar.gz
pauldv-c1825ce011ba23c0458f1a30610389a51c71ceaa.tar.bz2
pauldv-c1825ce011ba23c0458f1a30610389a51c71ceaa.zip
Get adobe air ebuild from sunrise
svn path=/trunk/overlay/; revision=120
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/adobe-air-sdk-bin/ChangeLog21
-rw-r--r--dev-util/adobe-air-sdk-bin/Manifest7
-rw-r--r--dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-2.0.2.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.xml6
7 files changed, 167 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..9fd383f
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for dev-util/adobe-air-sdk-bin
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 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..ae446e4
--- /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-2.0.2.tbz2 22033011 RMD160 611d93804910acf36ca58caf08b915a360269ca3 SHA1 6fe09e05423693b3967f148689583bd40a96bc12 SHA256 443c3b69e351fcbefb6ffd47da4312fa6f20e70589cc5856a05f4f94f396bada
+EBUILD adobe-air-sdk-bin-2.0.2.ebuild 1957 RMD160 2f66e57ec705bbb4ad508960705eb606ae296e0c SHA1 469bcaf98fbc8a67785f29dc201d7137a11d6871 SHA256 efc6527f0ad3129edd5db293912a8c993153534e51f5bafc12b3d705b57c7810
+MISC ChangeLog 659 RMD160 513bfed13002a11feee80de3bf00a3e136646fd5 SHA1 8e2bbf674b55f0d38724bba94971c1097b6b6d70 SHA256 9b79d90bc39cf08f63122b9d633598244ef286e88a68a9fc916cbcf6764ff0d9
+MISC metadata.xml 231 RMD160 6aebfea93d789d2b96ea6d8259dc842dd1fdacd3 SHA1 e10a04c4c18a66af326abc1f40c61b28cc610fae SHA256 48054ea190d00518c1e035fc6663b2368854cdea5ff69a94830e4f9a38260987
diff --git a/dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-2.0.2.ebuild b/dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-2.0.2.ebuild
new file mode 100644
index 0000000..9525f3e
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/adobe-air-sdk-bin-2.0.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2010 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+ )
+ 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} || 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..c6be580
--- /dev/null
+++ b/dev-util/adobe-air-sdk-bin/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>