blob: aff1db8c66fb95b7b21229614982454a75a2a1c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit fdo-mime gnome2-utils autotools
MY_PN=Viewnior
DESCRIPTION="Fast and simple image viewer"
HOMEPAGE="http://siyanpanayotov.com/project/viewnior/ https://github.com/xsisqox/Viewnior"
SRC_URI="https://github.com/xsisqox/${MY_PN}/archive/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-libs/glib:2
media-gfx/exiv2
>=x11-libs/gtk+-2.20:2
x11-misc/shared-mime-info"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_PN}-${P}
src_prepare() {
# fix for bug #454230
sed -r -i "s:(PKG_CHECK_MODULES):AC_CHECK_LIB([m],[cos])\n\n\1:" configure.ac
eautoreconf
default
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}
|