summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-07-07 13:48:35 -0500
committerAustin English <wizardedit@gentoo.org>2016-07-07 13:48:48 -0500
commitb107563f185456afb22a7f67aba6b262c1779d59 (patch)
tree594b30c397f4bd48b05b5ebc4487cb2b8460dd45 /media-gfx
parentvirtual/pager: add maintainer-needed (diff)
downloadgentoo-b107563f185456afb22a7f67aba6b262c1779d59.tar.gz
gentoo-b107563f185456afb22a7f67aba6b262c1779d59.tar.bz2
gentoo-b107563f185456afb22a7f67aba6b262c1779d59.zip
media-gfx/pornview: bump to EAPI 6, add maintainer-needed
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pornview/metadata.xml1
-rw-r--r--media-gfx/pornview/pornview-0.2.2-r1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/media-gfx/pornview/metadata.xml b/media-gfx/pornview/metadata.xml
index 9038d47d4bcd..bf356604c7a4 100644
--- a/media-gfx/pornview/metadata.xml
+++ b/media-gfx/pornview/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">pornview</remote-id>
</upstream>
diff --git a/media-gfx/pornview/pornview-0.2.2-r1.ebuild b/media-gfx/pornview/pornview-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..d206aa58803c
--- /dev/null
+++ b/media-gfx/pornview/pornview-0.2.2-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2-utils
+
+DESCRIPTION="Image viewer/manager with optional support for MPEG movies"
+HOMEPAGE="http://pornview.sourceforge.net"
+SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz
+ mirror://github/gentoo/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 -hppa ~ppc ~x86"
+IUSE="exif nls"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/libpng:0
+ virtual/jpeg:*
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXinerama
+ exif? ( media-gfx/exiv2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ econf \
+ $(use_enable exif) \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" desktopdir="/usr/share/applications" install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}