summaryrefslogtreecommitdiff
path: root/media-gfx/postr
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/postr')
-rw-r--r--media-gfx/postr/Manifest5
-rw-r--r--media-gfx/postr/metadata.xml8
-rw-r--r--media-gfx/postr/postr-0.13.1.ebuild63
3 files changed, 76 insertions, 0 deletions
diff --git a/media-gfx/postr/Manifest b/media-gfx/postr/Manifest
new file mode 100644
index 000000000000..c3a938586dfc
--- /dev/null
+++ b/media-gfx/postr/Manifest
@@ -0,0 +1,5 @@
+DIST postr-0.13.1.tar.xz 384196 SHA256 8b004d108ebe18e0399f8a20282f129a3c8c9b6615322479d0e01918c6b42fbc SHA512 43486d6c19ccad86e44e00fd7e7aadbdc8268ada38cffe616c5b7c3b7280556222ae961036cd7c711b067948772acec92927d86d4c1d82a26ecf49011991f598 WHIRLPOOL 7f139f8fa1b4d88b7a9eae13d82d71ca822428fcce3d7f23a0e68940494cbbf067ea61c0dea69a11ffe1841eec05ad13657c5786ab8cecbb62d2678b99ff3a38
+EBUILD postr-0.13.1.ebuild 1453 SHA256 1cc8da812c16a55f9190d5dcd6860cfc19c9e149b24cfe86e8a0630828423c24 SHA512 004d9c69b56f34f57e2528102ec533b267bd13393a2cd25054c1cfa618bf7c0529b55b12bacb0f71dc07d2f3fe78336cf3812c9b998ebb2a4773905e880e4468 WHIRLPOOL 6f4aa38e194db1b9751c248e0ff53bb1e2530e1d7674485b33c2d39dce87050029fa82f0c4ae5a492fe16b0855a0cf0a7930e8a8db50163194651099da9b5905
+MISC ChangeLog 2424 SHA256 17e17cfacbadc9c4f9deedbf52d2188ecae7a3d6896275cae81c9f5c8d0f977c SHA512 c9a9d7ecd352097cc67fa4bba5b5f1ed226711d54841a3457706b8652c5b19f465602d92dd77e7c11423350d26d1e1d4d04110684bf5f0451352aeb2cb24c9ff WHIRLPOOL 186aaf1692a17d979738711083cddc2192ba1e082b252892657763eeab730eed41584c31faca8850973df3e7248ad49c38ba0d5b8933c3e5691727878da18deb
+MISC ChangeLog-2015 2106 SHA256 7b619c3351593d07937fb04c472fbd08e002c4be3c61e28f51abc7fb5cbb0834 SHA512 99424c036b4dd1312a52c8e2c22ade960d313f62536fc8035c232e4671d5a3d779cd423eac2e3660a50e8b43db75673066419288a3879d1c8a8620363e7502a5 WHIRLPOOL 78970219f6b668f4b0c8a2602f7d913cc139f57c8274fe4d8edb61c2ee096723457e82bca2b2d11733325e0a8ed002f7e9022c05e7878f88347455916f5df53b
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/media-gfx/postr/metadata.xml b/media-gfx/postr/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/media-gfx/postr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
diff --git a/media-gfx/postr/postr-0.13.1.ebuild b/media-gfx/postr/postr-0.13.1.ebuild
new file mode 100644
index 000000000000..0f140ae55826
--- /dev/null
+++ b/media-gfx/postr/postr-0.13.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit eutils gnome2 python-single-r1
+
+DESCRIPTION="Flickr uploader for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Postr"
+
+LICENSE="GPL-2+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-python/bsddb3[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/gconf-python[${PYTHON_USEDEP}]
+ dev-python/gtkspell-python[${PYTHON_USEDEP}]
+ dev-python/libgnome-python[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ || (
+ dev-python/twisted[${PYTHON_USEDEP}]
+ (
+ dev-python/twisted-core[${PYTHON_USEDEP}]
+ dev-python/twisted-web[${PYTHON_USEDEP}]
+ )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/gnome-doc-utils
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Don't check for nautilus-python if we aren't installing the nautilus-2 extension
+ sed -e 's:nautilus-python >= 0.6.1::' -i configure || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --with-nautilus-extension-dir="${EPREFIX}"/usr/share/nautilus-python/extensions
+}
+
+src_install() {
+ gnome2_src_install
+ python_fix_shebang "${ED}"
+
+ rm -r "${ED}usr/share/nautilus-python" || die
+}