From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: media-gfx/sxiv/files/, media-gfx/sxiv/
Date: Wed, 11 May 2011 22:40:01 +0000 (UTC) [thread overview]
Message-ID: <f14c0c7d46cec08670aa70bfcaab93a18273ad61.xmw@gentoo> (raw)
commit: f14c0c7d46cec08670aa70bfcaab93a18273ad61
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 22:39:51 2011 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed May 11 22:39:51 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=f14c0c7d
media-gfx/sxiv: initial import
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 62EEF090)
---
media-gfx/sxiv/ChangeLog | 10 ++++++++
media-gfx/sxiv/Manifest | 15 ++++++++++++
media-gfx/sxiv/files/sxiv-0.8.1-destdir.patch | 27 ++++++++++++++++++++++
media-gfx/sxiv/metadata.xml | 10 ++++++++
media-gfx/sxiv/sxiv-0.8.1.ebuild | 30 +++++++++++++++++++++++++
5 files changed, 92 insertions(+), 0 deletions(-)
diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog
new file mode 100644
index 0000000..0a6a3fe
--- /dev/null
+++ b/media-gfx/sxiv/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/sxiv
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*sxiv-0.8.1 (11 May 2011)
+
+ 11 May 2011; Michael Weber <xmw@gentoo.org> +sxiv-0.8.1.ebuild,
+ +files/sxiv-0.8.1-destdir.patch, +metadata.xml:
+ Initial import, thanks to Petr Sabata for the ebuild (bug 366871)
+
diff --git a/media-gfx/sxiv/Manifest b/media-gfx/sxiv/Manifest
new file mode 100644
index 0000000..7a3c153
--- /dev/null
+++ b/media-gfx/sxiv/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX sxiv-0.8.1-destdir.patch 814 RMD160 40034e6586950e045fd5198854b8a059e4505ffd SHA1 bd5d4235020c8b7ebd47e175e3e216ac49429820 SHA256 b0ca14a48e2e6226210acb7cc420d0515c97189e3572319a37153f7f00421d39
+DIST sxiv-0.8.1.tar.gz 25746 RMD160 0cb8e33ea8a7dca4cf4218e99efe29599171c19e SHA1 159f2e9a16cf3552c7dceff27c019f817453b072 SHA256 1237877df9c20fbc3e46131c598f6c0c74732e7b24f481ef275e0d8ab0fddab0
+EBUILD sxiv-0.8.1.ebuild 626 RMD160 dbce63230c7fc442bc548fd78b49f543506c2857 SHA1 0ed7809fe0aab59337770c7092fa89730f47a2b0 SHA256 97ab3e596623ad691885b75f2e4952e39e2503dece6f615f07dd95a89035965c
+MISC ChangeLog 327 RMD160 4929a987786045b6109802f181fbf82237615669 SHA1 fba6081957de252fa8610728c864fdb149253973 SHA256 c6702d1138ef7add8efd1265326addbb7ec45840a709fd6d04923317f4a14fdf
+MISC metadata.xml 245 RMD160 6b03982a4d5f32d9fa6b9259ae36f9fcb07c8404 SHA1 fb16c7b4c5ab071dd979f761b8bb075f5396b737 SHA256 375a1da02cd2c393ce2378a73c1ce08134bc030b3bb378c6a4d6ca9cd5be1f8d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk3LEDcACgkQknrdDGLu8JDDwwD/dMP7xXekin5U752iQJG4xWsn
+0E+0l0jc8j34jwghhmQA/RtqYq70fBfGzDuhiNhwM4Bhl487iY41417OT1uzMVYP
+=YISs
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/sxiv/files/sxiv-0.8.1-destdir.patch b/media-gfx/sxiv/files/sxiv-0.8.1-destdir.patch
new file mode 100644
index 0000000..a6cba4d
--- /dev/null
+++ b/media-gfx/sxiv/files/sxiv-0.8.1-destdir.patch
@@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index f7cde25..0cc621a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,6 +3,7 @@ all: sxiv
+ VERSION=0.8.1
+
+ CC?=gcc
++DESTDIR?=
+ PREFIX?=/usr/local
+ CFLAGS+= -Wall -pedantic -DVERSION=\"$(VERSION)\"
+ LDFLAGS+=
+@@ -18,10 +19,10 @@ sxiv: $(OBJFILES)
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+ install: all
+- install -D -m 755 -o root -g root sxiv $(PREFIX)/bin/sxiv
+- mkdir -p $(PREFIX)/share/man/man1
+- sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(PREFIX)/share/man/man1/sxiv.1
+- chmod 644 $(PREFIX)/share/man/man1/sxiv.1
++ install -D -m 755 -o root -g root sxiv ${DESTDIR}$(PREFIX)/bin/sxiv
++ mkdir -p ${DESTDIR}$(PREFIX)/share/man/man1
++ sed "s/VERSION/$(VERSION)/g" sxiv.1 > ${DESTDIR}$(PREFIX)/share/man/man1/sxiv.1
++ chmod 644 ${DESTDIR}$(PREFIX)/share/man/man1/sxiv.1
+
+ clean:
+ rm -f sxiv *.o
diff --git a/media-gfx/sxiv/metadata.xml b/media-gfx/sxiv/metadata.xml
new file mode 100644
index 0000000..02b909e
--- /dev/null
+++ b/media-gfx/sxiv/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/media-gfx/sxiv/sxiv-0.8.1.ebuild b/media-gfx/sxiv/sxiv-0.8.1.ebuild
new file mode 100644
index 0000000..54c668e
--- /dev/null
+++ b/media-gfx/sxiv/sxiv-0.8.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Simple (or small or suckless) X Image Viewer"
+HOMEPAGE="https://github.com/muennich/sxiv/"
+SRC_URI="https://github.com/downloads/muennich/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-destdir.patch
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die
+ dodoc README.md || die
+}
next reply other threads:[~2011-05-11 22:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 22:40 Michael Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-11 15:34 [gentoo-commits] dev/xmw:master commit in: media-gfx/sxiv/files/, media-gfx/sxiv/ Michael Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f14c0c7d46cec08670aa70bfcaab93a18273ad61.xmw@gentoo \
--to=xmw@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox