* [gentoo-user] android-notifier
@ 2010-10-18 17:06 Stefan G. Weichinger
2010-10-18 17:31 ` Justin
0 siblings, 1 reply; 3+ messages in thread
From: Stefan G. Weichinger @ 2010-10-18 17:06 UTC (permalink / raw
To: gentoo-user
Anyone interested?
Hacked a small ebuild for
http://code.google.com/p/android-notifier-desktop/
I am not very good at writing ebuilds, it works so far but isn't really
done yet (DEPEND etc).
If anyone wants to continue or have a look:
http://bugs.gentoo.org/show_bug.cgi?id=341659
Thanks, Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] android-notifier
2010-10-18 17:06 [gentoo-user] android-notifier Stefan G. Weichinger
@ 2010-10-18 17:31 ` Justin
2010-10-18 19:53 ` Stefan G. Weichinger
0 siblings, 1 reply; 3+ messages in thread
From: Justin @ 2010-10-18 17:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]
On 18/10/10 19:06, Stefan G. Weichinger wrote:
> # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-0.6.9-r1.ebuild,v 1.2
2010/06/23 08:56:57 ssuominen Exp $
EAPI="2"
inherit eutils multilib
DESCRIPTION="Desktop event notifier for Android devices"
HOMEPAGE="http://code.google.com/p/android-notifier/"
SRC_URI="amd64? (
http://android-notifier.googlecode.com/files/${PN}-desktop-${PV}-linux-amd64.zip
)
x86? (
http://android-notifier.googlecode.com/files/${PN}-desktop-${PV}-linux-i386.zip
)"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
You can leave this away when empty.
get_home() {
echo "/usr/share/android-notifier-desktop"
}
Unnecessary.
src_install() {
dodir "$(get_home)" || die "mkdir failed"
Not needed, it is included in insinto()
insinto "$(get_home)"
cp -R ${WORKDIR}/android-notifier-desktop/* "$D/$(get_home)" || die
use doins() instead
make_wrapper android-notifier ./run.sh "$(get_home)"
doicon "$D/$(get_home)"/icons/$PN-desktop.png \
|| die "newicon failed"
make_desktop_entry android-notifier "AndroidNotifier" \
/usr/share/pixmaps/${PN}-desktop.png "Utility" || die
"make_desktop_entry failed"
}
Indent your code.
justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] android-notifier
2010-10-18 17:31 ` Justin
@ 2010-10-18 19:53 ` Stefan G. Weichinger
0 siblings, 0 replies; 3+ messages in thread
From: Stefan G. Weichinger @ 2010-10-18 19:53 UTC (permalink / raw
To: gentoo-user
Am 18.10.2010 19:31, schrieb Justin:
> RDEPEND=""
> DEPEND="${RDEPEND}"
>
> You can leave this away when empty.
yes, sure, but I want to point out that it should not be empty ...
> get_home() {
> echo "/usr/share/android-notifier-desktop"
> }
>
> Unnecessary.
>
> src_install() {
> dodir "$(get_home)" || die "mkdir failed"
> Not needed, it is included in insinto()
> insinto "$(get_home)"
> cp -R ${WORKDIR}/android-notifier-desktop/* "$D/$(get_home)" || die
> use doins() instead
>
> make_wrapper android-notifier ./run.sh "$(get_home)"
>
> doicon "$D/$(get_home)"/icons/$PN-desktop.png \
> || die "newicon failed"
>
> make_desktop_entry android-notifier "AndroidNotifier" \
> /usr/share/pixmaps/${PN}-desktop.png "Utility" || die
> "make_desktop_entry failed"
> }
>
> Indent your code.
Thanks for your help, see my current draft at bugzilla.
They point me at sunrise-overlay, will see how to do that ...
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-18 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 17:06 [gentoo-user] android-notifier Stefan G. Weichinger
2010-10-18 17:31 ` Justin
2010-10-18 19:53 ` Stefan G. Weichinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox