summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-08 02:50:56 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-08 02:56:08 -0400
commit8fea2bce55861fd767f49216a1911cf9082662f1 (patch)
treea022dc420540f3ab4177237a2b8977827fde5752 /media-gfx/sxiv
parentdev-scheme/guile: Bump subslot (#590710) (diff)
downloadgentoo-8fea2bce55861fd767f49216a1911cf9082662f1.tar.gz
gentoo-8fea2bce55861fd767f49216a1911cf9082662f1.tar.bz2
gentoo-8fea2bce55861fd767f49216a1911cf9082662f1.zip
media-gfx/sxiv: version bump to 1.3.2
Diffstat (limited to 'media-gfx/sxiv')
-rw-r--r--media-gfx/sxiv/Manifest1
-rw-r--r--media-gfx/sxiv/sxiv-1.3.2.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/sxiv/Manifest b/media-gfx/sxiv/Manifest
index d2db0a8d1d77..c262777bdccc 100644
--- a/media-gfx/sxiv/Manifest
+++ b/media-gfx/sxiv/Manifest
@@ -1,4 +1,5 @@
DIST sxiv-1.1.1.tar.gz 37251 SHA256 30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f SHA512 066264b3388114b022d11377c3dae5b04d5f4d6916c78276c478550f3194e0dc80cd8158a366689d4415cef94521ad018b5183dd2ae66c320770033b082094ad WHIRLPOOL 65e643a1f6aad84aa06bf7373ad74409dd552dbeb16ae961711341f8b5d7a1861d4142f8b80536e31f09c8a56130ea06c8ce501819cdfe9dd55af766ac925f6b
DIST sxiv-1.2.tar.gz 47775 SHA256 ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3 SHA512 6058a8f89c540083549d91fe469f8f9d1a4acf60a19dc1d7115b7fe9a807143c9f8c0e8320e7695f7b6afe8d9ae040e9daaa09a976219228afb929133c8a6957 WHIRLPOOL f610805192379c31bd682c32c41a04ccf5e15aee1604577810df0e6a4ef21283635da92ce6c20c6f063f9da3e96611947341ca8e4e33f4714a5142315fd41334
DIST sxiv-1.3.1.tar.gz 47171 SHA256 9a30a1b036e1c17212128554709da3f2d65d3beaef2e0a73097af5e35cf11d0e SHA512 a3ffeea7fb85188c844ec8fabf8a162aa6c4f695674b44db7c60a4608956051ff5963cb85aba86cd4f16ab63a0cf84cd2309c325e22075537175bf1b65327b77 WHIRLPOOL c38815c882a198152bde4c6b4a790ddcfb8a895a1cb1be20a2cb384d3c22a3bded2c50534a9ba9fc2633cc6f7d4ce3f153f1b6004b33725b3a40e3117070a425
+DIST sxiv-1.3.2.tar.gz 46560 SHA256 9f5368de8f0f57e78ebe02cb531a31107a993f2769cec51bcc8d70f5c668b653 SHA512 3bcf67a778a3e40cb6ae6b6fcc685cd57e303265df34c8a56d6ebb8ad0237e7136e738c44fee5c5504c73e4722d017f1e746691fac482568b2a960931f1ecdd5 WHIRLPOOL 8b02d693cbe8be31f81de8a0d69f218fbf2919f937fadc93657db4837bcb41e05c7b41ecbb24bfc559a1edda2d8b9f0ad14cb2118264ae52d14ac883e82dc56a
DIST sxiv-1.3.tar.gz 48995 SHA256 4c9d6dfa0c914ea20a80dff6cb376834ab1c765623496b8266f6a882a6b80708 SHA512 ca7ea9894808b1ba2752d7b53701cf2c6c8039eb170aa9e0ee6c2b90743f20870670d986a9a7465d230f6c1e6a05bc40bebd7f8b1151066cbabe8da1a937e828 WHIRLPOOL 5c4fc1d7628cdcaf205f626587975d7a14cc6379163fa3b13110f8ac8633ce0c8aa8939141b52fb212dfe24ef3875f9e94569eb624a245c3509984c3b2482a16
diff --git a/media-gfx/sxiv/sxiv-1.3.2.ebuild b/media-gfx/sxiv/sxiv-1.3.2.ebuild
new file mode 100644
index 000000000000..2a74cd536cfa
--- /dev/null
+++ b/media-gfx/sxiv/sxiv-1.3.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils gnome2-utils savedconfig toolchain-funcs
+
+DESCRIPTION="Simple (or small or suckless) X Image Viewer"
+HOMEPAGE="https://github.com/muennich/sxiv/"
+SRC_URI="https://github.com/muennich/sxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libexif
+ media-libs/giflib
+ media-libs/imlib2[X]
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i '/^LDFLAGS/d' Makefile || die
+ tc-export CC
+
+ restore_config config.h
+ default
+}
+
+src_install() {
+ emake DESTDIR="${ED}" PREFIX=/usr install
+ emake -C icon DESTDIR="${ED}" PREFIX=/usr install
+ dodoc README.md
+ domenu sxiv.desktop
+
+ save_config config.h
+}
+
+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
+}