From 66f33fec30385c9bbb5fc3a1451bb6d0ad31c3e2 Mon Sep 17 00:00:00 2001 From: "Dean Matzkov (bapa)" Date: Tue, 8 Feb 2011 00:19:15 +0000 Subject: x11-plugins/imgur-integration: Version bump. Also updated SRC_URI. svn path=/sunrise/; revision=11759 --- .../imgur-integration-0.5.1.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 x11-plugins/imgur-integration/imgur-integration-0.5.1.ebuild (limited to 'x11-plugins/imgur-integration/imgur-integration-0.5.1.ebuild') diff --git a/x11-plugins/imgur-integration/imgur-integration-0.5.1.ebuild b/x11-plugins/imgur-integration/imgur-integration-0.5.1.ebuild new file mode 100644 index 000000000..1a6113fd8 --- /dev/null +++ b/x11-plugins/imgur-integration/imgur-integration-0.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +MY_P=imgur-${PV} + +DESCRIPTION="A command-line utility and media-gfx/eog plugin for uploading to imgur.com" +HOMEPAGE="https://github.com/tthurman/imgur-integration" +SRC_URI="http://www.chiark.greenend.org.uk/~tthurman/imgur/${MY_P}.tar.gz" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="eog" + +RDEPEND="sys-apps/dbus + dev-libs/dbus-glib + >=dev-libs/glib-2.24 + net-misc/curl + eog? ( media-gfx/eog )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf \ + --disable-libsocialweb \ + --disable-libsharing \ + $(use_enable eog) +} + +src_install() { + emake install DESTDIR="${D}" || die "emake failed" + dodoc AUTHORS NEWS README || die "dodoc failed" +} + +pkg_postinst() { + if use eog; then + elog "Please note that in order to use the eog plugin, you have" + elog "to first enable it in [Edit -> Preferences -> Plugins]." + fi +} -- cgit v1.2.3-65-gdbad