/[gentoo-x86]/media-gfx/pornview/pornview-0.2.1.ebuild
Gentoo

Contents of /media-gfx/pornview/pornview-0.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Oct 31 19:08:39 2012 UTC (2 years ago) by hasufell
Branch: MAIN
version bump, fixes bug 440358

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild,v 1.8 2012/05/05 07:00:24 jdhore Exp $
4
5 EAPI=4
6 inherit gnome2-utils
7
8 DESCRIPTION="Image viewer/manager with optional support for MPEG movies"
9 HOMEPAGE="http://pornview.sourceforge.net"
10 SRC_URI="mirror://github/gentoo/${PN}/${P}.tar.xz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 -hppa ~ppc ~x86"
15 IUSE="exif nls"
16
17 RDEPEND="
18 dev-libs/glib:2
19 media-libs/libpng:0
20 virtual/jpeg
21 x11-libs/gdk-pixbuf:2
22 x11-libs/gtk+:2
23 x11-libs/libX11
24 exif? ( media-gfx/exiv2 )"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 src_configure() {
30 econf \
31 $(use_enable exif) \
32 $(use_enable nls)
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" desktopdir="/usr/share/applications" \
37 install || die "emake install failed."
38 dodoc AUTHORS NEWS README
39 }
40
41 pkg_preinst() {
42 gnome2_icon_savelist
43 }
44
45 pkg_postinst() {
46 gnome2_icon_cache_update
47 }
48
49 pkg_postrm() {
50 gnome2_icon_cache_update
51 }

  ViewVC Help
Powered by ViewVC 1.1.20