summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2009-09-08 18:49:04 +0000
committerIan Stakenvicius <axs@gentoo.org>2009-09-08 18:49:04 +0000
commit07d7519e95d13a1f08ac02e61dca98dc50b1299d (patch)
tree41e7e2815327534057dd66c9bc69a66e2c473f68 /app-misc
parentdev-python/greenlet: Add a patch that avoids ez_setup behavior (diff)
downloadsunrise-07d7519e95d13a1f08ac02e61dca98dc50b1299d.tar.gz
sunrise-07d7519e95d13a1f08ac02e61dca98dc50b1299d.tar.bz2
sunrise-07d7519e95d13a1f08ac02e61dca98dc50b1299d.zip
app-misc/mswinurl_launcher: New package for bug #283698 - thanks to ssuominen for the ebuild help
svn path=/sunrise/; revision=9198
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mswinurl_launcher/ChangeLog9
-rw-r--r--app-misc/mswinurl_launcher/Manifest5
-rw-r--r--app-misc/mswinurl_launcher/files/mswinurl_launcher.desktop11
-rw-r--r--app-misc/mswinurl_launcher/metadata.xml5
-rw-r--r--app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild36
5 files changed, 66 insertions, 0 deletions
diff --git a/app-misc/mswinurl_launcher/ChangeLog b/app-misc/mswinurl_launcher/ChangeLog
new file mode 100644
index 000000000..305f0bfc0
--- /dev/null
+++ b/app-misc/mswinurl_launcher/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-misc/mswinurl_launcher
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Sep 2009; Ian Stakenvicius (_AxS_) <ian@aerobiology.ca>
+ +mswinurl_launcher-1.0.ebuild, +files/mswinurl_launcher.desktop,
+ +metadata.xml:
+ New package for bug #283698 - thanks to ssuominen for the ebuild help
+
diff --git a/app-misc/mswinurl_launcher/Manifest b/app-misc/mswinurl_launcher/Manifest
new file mode 100644
index 000000000..bf9b496d9
--- /dev/null
+++ b/app-misc/mswinurl_launcher/Manifest
@@ -0,0 +1,5 @@
+AUX mswinurl_launcher.desktop 285 RMD160 dc05aca770f62f0176b4f6704dfbe5a0828bb4d2 SHA1 f72fd007f9cd7ec3c28a20a4b3e0ec3edc7b4bdd SHA256 1fbb6a1442363d51ad3395d658d12734c97d4d608f1a47d97d52fb3a890de688
+DIST mswinurl_launcher.py 2029 RMD160 320776481e86312afbb121b1c5676322289211c3 SHA1 b64872b18ea67520f703aa76921d690b261edf7c SHA256 17d864f66ef34e9ff73a924b1cf463691acddbcb4b5f84ab58143b511a749e46
+EBUILD mswinurl_launcher-1.0.ebuild 911 RMD160 ddb90d33b828dd34641c61ae246f9f1c70179c6b SHA1 e1da8234bee4a80eda64de3239f60457b689a754 SHA256 5839f7a6f6fdec20036e7d143a62fb93838e73758ea1e3c284fac44984cea31c
+MISC ChangeLog 345 RMD160 a21c38d1d16e0982590ca35396452b7ffeb7a48a SHA1 e0d7a28d0cf93f6cba753cd393cee6e2ca1f22de SHA256 d5419f3390ae89ca552d73e1613d03e820059a8c80b793755da5442c904a67f0
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-misc/mswinurl_launcher/files/mswinurl_launcher.desktop b/app-misc/mswinurl_launcher/files/mswinurl_launcher.desktop
new file mode 100644
index 000000000..1b66e9780
--- /dev/null
+++ b/app-misc/mswinurl_launcher/files/mswinurl_launcher.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=MS Windows URL file launcher
+Comment=Python script to parse and launch .url files (html links) from MS Windows
+NoDisplay=true
+Terminal=false
+TryExec=mswinurl_launcher.py
+Exec=mswinurl_launcher.py %F
+Icon=text-html
+MimeType=text/x-uri;
diff --git a/app-misc/mswinurl_launcher/metadata.xml b/app-misc/mswinurl_launcher/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/app-misc/mswinurl_launcher/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild b/app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild
new file mode 100644
index 000000000..c094f4cbd
--- /dev/null
+++ b/app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.7.0_rc1.ebuild,v 1.1 2009/03/17 01:22:09 omp Exp $
+
+inherit eutils fdo-mime
+
+DESCRIPTION="A launcher and desktop association for Microsoft Windows *.URL (text/x-uri) files"
+HOMEPAGE="http://bugs.launchpad.net/ubuntu/+source/mime-support/+bug/185165/comments/12"
+SRC_URI="http://launchpadlibrarian.net/20406796/mswinurl_launcher.py"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-util/desktop-file-utils"
+RDEPEND="dev-lang/python"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}/${A}" "${S}" || die "could not copy ${A} to ${S}"
+}
+
+src_install() {
+ dobin ${PN}.py || die
+ domenu "${FILESDIR}/${PN}.desktop" || die
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}