summaryrefslogtreecommitdiff
path: root/media-gfx/crwinfo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/crwinfo
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/crwinfo')
-rw-r--r--media-gfx/crwinfo/Manifest6
-rw-r--r--media-gfx/crwinfo/crwinfo-0.2.ebuild30
-rw-r--r--media-gfx/crwinfo/files/crwinfo-0.2.patch17
-rw-r--r--media-gfx/crwinfo/metadata.xml12
4 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/crwinfo/Manifest b/media-gfx/crwinfo/Manifest
new file mode 100644
index 000000000000..b4e45420c0cd
--- /dev/null
+++ b/media-gfx/crwinfo/Manifest
@@ -0,0 +1,6 @@
+AUX crwinfo-0.2.patch 991 SHA256 14062a05b638d0713fd7b8d0064ed7ef82957364187dfa8529519b6279b31799 SHA512 b3ab95be8605d470258e16fece5b5a8fd70c7acc5dfc369f6dc4a6819a44f96c513319311198fb6a1e41b2a3e0bc931ddde2e66566568628f271f31ecc2872af WHIRLPOOL 263543eeb472c3c8bdbb9b437fa1f317c40b2f11606c238770dfd88222fa599b11f1182550bb0caba340b253ed5f1bf64d0ed4780b52c00f11e3765e3b4eb641
+DIST CRWInfo-0.2.tar.gz 10717 SHA256 a7b0572e96cfa895d2ca04c10618514f7c86c038332d900dcf5715463c851478 SHA512 54e386266570460dd43f5a6d4b0eea7d6c37d9327dca8ffc1fa10462f97e23fc080404159723ce6558c3dc6c77eccba6ede628097d95f699a47f57a114e1eb0a WHIRLPOOL 104d4e023e09bf67674461a278dbe408d283cd159256d416c504cc40f8adef376f44162e46826610d68f6ae23bfeb81f373e6b7a861e1ff21ea9c4a15de0f17f
+EBUILD crwinfo-0.2.ebuild 720 SHA256 760d4d44e731068b615a2f2a09e229386c5fa3752f68d03abd3e5d2d55efee8f SHA512 637d8308bdcd09bd842a49093e831a97219b469f6456c490759816b5582bc294d5d944171e84c73d14f8f8210afd880bbab55031220f4e929657e17f81d5b15b WHIRLPOOL 71798c0c6a5f4e7ee102514e6b4f9033748e81a6990f45f4f622e34ab24fe2789dbe2e2d31dbd80b68e3dce0645be870750c763daac48710d261962c750dd3d0
+MISC ChangeLog 2545 SHA256 8a8aac7b72d1c2db52cb26c49acaaaecbc063fabebf8e1f732c96a42d3696ad3 SHA512 d136ffe4ebae64d575f3f8ed72aa7c2ef63d5f8ac95bcd2691ac742e8163f9d2fbf1bc1b64fa5a6c40a1a0556074501de3aec51c8ee2c8ac287e0f51b828fac3 WHIRLPOOL 61701a390a2731978e6a57328f0ca392cbceac66591ca8d9cb017e96da57f71b9341ad116ea3712c6e7fb61d86b1d0a5499dde60098409539b4bf1a3fe56393b
+MISC ChangeLog-2015 831 SHA256 200ace02ad11d10d88c06e40e5f10e96800c0c8d54aab13acdeaefd4f6495279 SHA512 504aeb4af2164cc73b8298d184f7d9c1c3b7d84044c34c09e76f0e874f2b166b26f8146dc715592a0f7d72d28292049a52876301aa7598d8f6e426f2bf7fa76c WHIRLPOOL ea483d1a9f94ab1d97cc752e6540a43c23b5b668eb024e7398459aeb90998b1aa1da08d37d9cc40ed74dc2a7edc6408f93d75e004a628ad409107b5653a8647e
+MISC metadata.xml 369 SHA256 5276b8995c8701ea172b3ea1f60f11dad5743c263f1658d4a28f7094b8493342 SHA512 ee3b3a975b809e4433e7a6242a788f016abd75a969c6898ed07861d38b609d11d5cc1997c19165128760ed3f99022dac64f3f63cd2281ff86bc78023d7c40709 WHIRLPOOL 101efb389f9ce4da0e8e97e431c27933bfe48138f6034ba44808bd1e06e0d63672511a24fb43983913fe83c8dad7b88f1eecedede8cba3bfae797db96acd4206
diff --git a/media-gfx/crwinfo/crwinfo-0.2.ebuild b/media-gfx/crwinfo/crwinfo-0.2.ebuild
new file mode 100644
index 000000000000..e3c6aed17fe3
--- /dev/null
+++ b/media-gfx/crwinfo/crwinfo-0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Canon raw image (CRW) information and thumbnail extractor"
+HOMEPAGE="http://freshmeat.net/projects/crwinfo/"
+SRC_URI="http://neuemuenze.heim1.tu-clausthal.de/~sven/crwinfo/CRWInfo-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc amd64 alpha ia64 hppa ppc64"
+IUSE=""
+
+S="${WORKDIR}/CRWInfo-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}.patch
+ sed \
+ -e '/gcc/s:^.*$:\t$(CC) $(CFLAGS) -Wall -c crwinfo.c\n\t$(CC) $(LDFLAGS) -o crwinfo crwinfo.o:g' \
+ -i Makefile || die
+ tc-export CC
+}
+
+src_install() {
+ dobin crwinfo
+ dodoc README spec
+}
diff --git a/media-gfx/crwinfo/files/crwinfo-0.2.patch b/media-gfx/crwinfo/files/crwinfo-0.2.patch
new file mode 100644
index 000000000000..18170b10d71e
--- /dev/null
+++ b/media-gfx/crwinfo/files/crwinfo-0.2.patch
@@ -0,0 +1,17 @@
+--- crwinfo.c.orig 2002-07-30 11:17:03.000000000 -0600
++++ crwinfo.c 2005-01-21 15:24:54.256888228 -0700
+@@ -95,10 +95,10 @@
+ fprintf( stderr, "-m show misc. information (whitepoint, AF mode etc)\n" );
+ fprintf( stderr, "-f show flash information (flash mode etc)\n" );
+ fprintf( stderr, "-cf show custom function settings\n" );
+- fprintf( stderr, "-t extract the thumbnail to the optional filename.
+- If no filename for the thumbnail is given, the
+- name of the CRW-file is used with a .jpg
+- extension\n" );
++ fprintf( stderr, "-t extract the thumbnail to the optional filename. \n" );
++ fprintf( stderr, " If no filename for the thumbnail is given, the\n" );
++ fprintf( stderr, " name of the CRW-file is used with a .jpg\n" );
++ fprintf( stderr, " extension\n" );
+ fprintf( stderr, "-x show experimental information (don't rely on it)\n" );
+ exit(0);
+ }
diff --git a/media-gfx/crwinfo/metadata.xml b/media-gfx/crwinfo/metadata.xml
new file mode 100644
index 000000000000..4e06ffe952af
--- /dev/null
+++ b/media-gfx/crwinfo/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ Utility to extract thumbnails and information from Canon raw (CRW)
+ files.
+ </longdescription>
+ <upstream>
+ <remote-id type="freshmeat">crwinfo</remote-id>
+ </upstream>
+</pkgmetadata>