diff options
author | Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com> | 2009-08-28 23:04:05 +0000 |
---|---|---|
committer | Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com> | 2009-08-28 23:04:05 +0000 |
commit | 1ce8a4843f66c37f769de3c5d6361b4ca81999f3 (patch) | |
tree | f05bce58b45e710ed4c691f36f0dc9d07c03b606 | |
parent | dev-db/mongodb: Version bump (diff) | |
download | sunrise-1ce8a4843f66c37f769de3c5d6361b4ca81999f3.tar.gz sunrise-1ce8a4843f66c37f769de3c5d6361b4ca81999f3.tar.bz2 sunrise-1ce8a4843f66c37f769de3c5d6361b4ca81999f3.zip |
gnome-extra/alarm-clock-applet: New Ebuild for bug 283022
svn path=/sunrise/; revision=9132
5 files changed, 112 insertions, 0 deletions
diff --git a/gnome-extra/alarm-clock-applet/ChangeLog b/gnome-extra/alarm-clock-applet/ChangeLog new file mode 100644 index 000000000..313085eb7 --- /dev/null +++ b/gnome-extra/alarm-clock-applet/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for gnome-extra/alarm-clock-applet +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 28 Aug 2009; Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com> + +files/0.2.6-configure.ac.patch, +alarm-clock-applet-0.2.6.ebuild, + +metadata.xml: + New Ebuild for bug 283022 + diff --git a/gnome-extra/alarm-clock-applet/Manifest b/gnome-extra/alarm-clock-applet/Manifest new file mode 100644 index 000000000..5bbe41dc5 --- /dev/null +++ b/gnome-extra/alarm-clock-applet/Manifest @@ -0,0 +1,5 @@ +AUX 0.2.6-configure.ac.patch 1246 RMD160 77e15d467e2c2ecebda881dadc3443ce1a20db24 SHA1 3a5ca4f9f633672fb54298ff51b0399b7e57cb42 SHA256 f036ac6b3c3115d45755ff7642e32b6763bc75c93019b81215ad7e511a65e372 +DIST alarm-clock-applet-0.2.6.tar.gz 205905 RMD160 c60f90fe396fb735889a8139bf16d714ebf3b994 SHA1 d293ffe8be03776e8f5c9a039630fad9ed64f07b SHA256 7b58a6722d0515c91134b4a3707738eabfb837eac12506e73d6f2d0589a05586 +EBUILD alarm-clock-applet-0.2.6.ebuild 1047 RMD160 573528e21dbabf3aa5788ea321d02bdcc69b3568 SHA1 33f73e9b7382fc834ea808077cd9cd59288ef0c2 SHA256 76cc140b12421a4e23dafa63e598b2d04c0d5711bcfed98ab72320e095c2c799 +MISC ChangeLog 323 RMD160 8b29eff1e2dfa220a8120049b74cc4c73b16ed89 SHA1 02f03dff432d8b8b5fd22980ed287bd58de617cf SHA256 2631875c768d3cdcdcd92af7794593b30d684cccc738375d6fea80b8b70b7bc4 +MISC metadata.xml 268 RMD160 7120604b3599fc2ae378832aebe144b9fe1317b4 SHA1 626e920cfeb326e15017a14794b8bdce69f618cc SHA256 44d222baa7ad3a9bf1476c0fdf4ea77b581b7f86d21a37e082d78a51aa4d563a diff --git a/gnome-extra/alarm-clock-applet/alarm-clock-applet-0.2.6.ebuild b/gnome-extra/alarm-clock-applet/alarm-clock-applet-0.2.6.ebuild new file mode 100644 index 000000000..ea52faea2 --- /dev/null +++ b/gnome-extra/alarm-clock-applet/alarm-clock-applet-0.2.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools eutils gnome2 versionator + +MY_PV=$(get_version_component_range 1-2) +DESCRIPTION="A fully-featured alarm clock for your GNOME panel" +HOMEPAGE="http://alarm-clock.pseudoberries.com/" +SRC_URI="http://launchpad.net/alarm-clock/trunk/${MY_PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libnotify" + +RDEPEND=" + >=dev-libs/glib-2.13 + >=x11-libs/gtk+-2.11.0 + >=gnome-base/gnome-panel-2 + >=gnome-base/gnome-vfs-2.15.4 + >=gnome-base/gconf-2.8.0 + >=gnome-base/libgnome-2.8 + >=gnome-base/libgnomeui-2.8 + >=x11-themes/gnome-icon-theme-2.15 + >=gnome-base/libglade-2.4.0 + >=media-libs/gstreamer-0.10.2 + libnotify? ( >=x11-libs/libnotify-0.3.2 ) +" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.12 + >=app-text/gnome-doc-utils-0.3.2 + dev-util/intltool +" + +src_prepare() { + epatch "${FILESDIR}/${PV}-configure.ac.patch" + eautoreconf +} + +pkg_setup() { + G2CONF="$(use_enable libnotify)" +} diff --git a/gnome-extra/alarm-clock-applet/files/0.2.6-configure.ac.patch b/gnome-extra/alarm-clock-applet/files/0.2.6-configure.ac.patch new file mode 100644 index 000000000..c7b09aec9 --- /dev/null +++ b/gnome-extra/alarm-clock-applet/files/0.2.6-configure.ac.patch @@ -0,0 +1,44 @@ +--- configure.ac 2009-08-28 21:12:22.000000000 +0200 ++++ configure.ac.new 2009-08-28 21:46:46.000000000 +0200 +@@ -50,18 +50,35 @@ + libgnome-2.0 >= $LIBGNOME_REQUIRED + libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED]) + +-# Check for libnotify (optional) ++# support for libnotify + LIBNOTIFY_CFLAGS= + LIBNOTIFY_LIBS= +-PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED, +- HAVE_LIBNOTIFY="yes", HAVE_LIBNOTIFY="no") + +-if test "x$HAVE_LIBNOTIFY" = "xyes"; then +- AC_DEFINE(HAVE_LIBNOTIFY, 1, [libnotify available]) ++# enable support even if not specifically asked for ++AC_ARG_ENABLE(libnotify, [ --enable-libnotify enable libnotify support], [ ++ enable_libnotify=$enableval], [ ++ enable_libnotify="yes" ++]) ++ ++if test "$enable_libnotify" = "no" ++then ++ HAVE_LIBNOTIFY="no" ++ echo "Disabling libnotify support" ++else ++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED, ++ HAVE_LIBNOTIFY="yes", HAVE_LIBNOTIFY="no") ++ ++ if test "x$HAVE_LIBNOTIFY" = "xyes" ++ then ++ AC_DEFINE(HAVE_LIBNOTIFY, 1, [libnotify available]) ++ fi + fi +- ++ ++AM_CONDITIONAL(LIBNOTIFY, test -n "$LIBNOTIFY_LIBS") ++ + AC_SUBST(LIBNOTIFY_CFLAGS) + AC_SUBST(LIBNOTIFY_LIBS) ++ + + # GConf + AC_PATH_PROG(GCONFTOOL, gconftool-2, no) diff --git a/gnome-extra/alarm-clock-applet/metadata.xml b/gnome-extra/alarm-clock-applet/metadata.xml new file mode 100644 index 000000000..47b44dfa5 --- /dev/null +++ b/gnome-extra/alarm-clock-applet/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>maintainer-wanted</herd> + <use> + <flag name='libnotify'>Enables support for libnotify notification system</flag> + </use> +</pkgmetadata> |