summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-06 05:17:14 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-06 05:17:14 +0000
commitb159e3bb324375b87d065687ebfc89484a14b2a2 (patch)
tree43730425beb4aaf391eb4f1a5487e20a1eebfdf4 /app-pda/qtopia-desktop-bin
parentVersion bump <http://my.opera.com/desktopteam/blog/2008/09/05/9-60-beta-1-rc>. (diff)
downloadgentoo-2-b159e3bb324375b87d065687ebfc89484a14b2a2.tar.gz
gentoo-2-b159e3bb324375b87d065687ebfc89484a14b2a2.tar.bz2
gentoo-2-b159e3bb324375b87d065687ebfc89484a14b2a2.zip
Cleanup install and ebuild.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'app-pda/qtopia-desktop-bin')
-rw-r--r--app-pda/qtopia-desktop-bin/ChangeLog8
-rw-r--r--app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild66
2 files changed, 73 insertions, 1 deletions
diff --git a/app-pda/qtopia-desktop-bin/ChangeLog b/app-pda/qtopia-desktop-bin/ChangeLog
index 68770fdb2d18..d471796b197d 100644
--- a/app-pda/qtopia-desktop-bin/ChangeLog
+++ b/app-pda/qtopia-desktop-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-pda/qtopia-desktop-bin
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/ChangeLog,v 1.16 2008/04/27 19:31:46 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/ChangeLog,v 1.17 2008/09/06 05:17:14 vapier Exp $
+
+*qtopia-desktop-bin-2.2.0-r1 (06 Sep 2008)
+
+ 06 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+ +qtopia-desktop-bin-2.2.0-r1.ebuild:
+ Cleanup install and ebuild.
27 Apr 2008; Steve Arnold <nerdboy@gentoo.org>
qtopia-desktop-bin-2.2.0.ebuild:
diff --git a/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild b/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..fb31ffbcc1ba
--- /dev/null
+++ b/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/qtopia-desktop-bin/qtopia-desktop-bin-2.2.0-r1.ebuild,v 1.1 2008/09/06 05:17:14 vapier Exp $
+
+inherit eutils fdo-mime rpm
+
+REV="1"
+QD="/opt/QtopiaDesktop"
+
+DESCRIPTION="Qtopia Deskyop sync application (for use with Qtopia 2)"
+HOMEPAGE="http://www.trolltech.com/developer/downloads/qtopia/desktopdownloads"
+SRC_URI="ftp://ftp.trolltech.com/qtopia/desktop/RedHat9.0/qtopia-desktop-${PV}-${REV}-redhat9.i386.rpm"
+
+LICENSE="trolltech_PUL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+
+DEPEND=""
+RDEPEND="sys-libs/glibc
+ x11-libs/libX11
+ amd64? ( app-emulation/emul-linux-x86-xlibs )"
+
+S=${WORKDIR}
+
+src_compile() { :; }
+
+src_install() {
+ # keep before `into ${QD}` below
+ make_wrapper qtopiadesktop "${QD}/bin/qtopiadesktop"
+ make_desktop_entry \
+ "qtopiadesktop" \
+ "Qtopia Desktop" \
+ "/opt/QtopiaDesktop/qtopiadesktop/pics/qtopia.png" \
+ "Application;Office;ContactManagement;"
+
+ dodir ${QD}
+ # Too many subdirs and files for individual ebuild commands
+ # Isn't there a better way?
+ cp -a "${S}/${QD}"/qtopiadesktop "${D}${QD}" || die
+
+ into ${QD}
+ dolib.so "${S}/${QD}"/lib/lib* || die
+ rm -f "${S}/${QD}"/lib/*.prl
+
+ dobin "${S}/${QD}"/bin/* || die
+
+ dohtml "${S}/${QD}"/README.html
+ dodoc "${FILESDIR}"/usb0.conf
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+
+ elog "See the usb0.conf file for a static network configuration for the"
+ elog "Zaurus cradle interface (it works with an SL-5x00). Note the old"
+ elog "way of adding a config script to /etc/hotplug/usb also works, but"
+ elog "depends on the desktop kernel version and module name, since the"
+ elog "latest 2.6.16 module is cdc_ether for older models of the Zaurus"
+ elog "(such as above) running OZ with kernel 2.4.x."
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}