summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-09-29 11:14:23 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-09-29 11:14:23 +0000
commitbf3f9f363f3b15ad45b2da0d9bf72cfa690a9873 (patch)
treea9c69d53ff382a385a7c76d7b3bebd7d07dd0484 /media-video/spcaview
parentAllow using heirloom-doctools instead of groff. (diff)
downloadhistorical-bf3f9f363f3b15ad45b2da0d9bf72cfa690a9873.tar.gz
historical-bf3f9f363f3b15ad45b2da0d9bf72cfa690a9873.tar.bz2
historical-bf3f9f363f3b15ad45b2da0d9bf72cfa690a9873.zip
Version bump.
Package-Manager: portage-2.2_rc42/cvs/Linux x86_64
Diffstat (limited to 'media-video/spcaview')
-rw-r--r--media-video/spcaview/ChangeLog10
-rw-r--r--media-video/spcaview/Manifest5
-rw-r--r--media-video/spcaview/files/spcaview-20071224-Makefile.patch122
-rw-r--r--media-video/spcaview/spcaview-20071224.ebuild32
4 files changed, 166 insertions, 3 deletions
diff --git a/media-video/spcaview/ChangeLog b/media-video/spcaview/ChangeLog
index bf8667b2fe18..df0a6d1e44c0 100644
--- a/media-video/spcaview/ChangeLog
+++ b/media-video/spcaview/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/spcaview
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/spcaview/ChangeLog,v 1.10 2007/07/13 22:04:15 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/spcaview/ChangeLog,v 1.11 2009/09/29 11:14:22 ssuominen Exp $
+
+*spcaview-20071224 (29 Sep 2009)
+
+ 29 Sep 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +spcaview-20071224.ebuild, +files/spcaview-20071224-Makefile.patch:
+ Version bump.
13 Jul 2007; Mike Frysinger <vapier@gentoo.org>
+files/spcaview-20061208-build.patch, spcaview-20061208.ebuild:
diff --git a/media-video/spcaview/Manifest b/media-video/spcaview/Manifest
index 50241ec197c1..5c3242fcb502 100644
--- a/media-video/spcaview/Manifest
+++ b/media-video/spcaview/Manifest
@@ -1,5 +1,8 @@
AUX spcaview-20061208-build.patch 3775 RMD160 fe7ca6d68ec928f6b64ba308be16b1348f2c814b SHA1 09e7348de82d9b02d8e6fe3177a2108b863ff9b8 SHA256 ffb12f33f4d604123c265dbcafd050ff795010acbc94e8b1423e64fe754bfd99
+AUX spcaview-20071224-Makefile.patch 3582 RMD160 4189c242e10267f9b6937db65b2cd59564f91d1a SHA1 faa7b77f38f32655464ae230fe180beec2231a30 SHA256 52f03f89d2230815887411218b9a754ceb0fcd48e40413c2d455e12c6e5439fc
DIST spcaview-20061208.tar.gz 103896 RMD160 2f1808829b60b1282fa38d112d3a4da82e53e721 SHA1 39059c20d7e3b07c552ee9a9a662db7dbc742363 SHA256 10e3975a1965c27fadf672bcbfccdc43191e97b5a089e99c9fe099d4b44e3b30
+DIST spcaview-20071224.tar.gz 104307 RMD160 f54cafc5d6f4de6867d0b2f68e5f149cee6251d5 SHA1 e659a9c098fa0906dbdf4bd8b84bbe5fa8929291 SHA256 fa59a62fb53f180b5cfafde1b3660405c384f0caf9a4f721dfdf4a013fcb8650
EBUILD spcaview-20061208.ebuild 722 RMD160 9175db306fdec84c9b3a094f79595f0247a74593 SHA1 97678e2069702b0f8df3abd71775b6b5b71f5fde SHA256 b00c5dfb8c373ba2b854c2fd0543779f7acb9dd04e4b5f7f1667fa41ce080a9a
-MISC ChangeLog 1376 RMD160 ad644db2eedbe797f7f03fa9fff10a51408b4503 SHA1 523c8be9f511cafdb7fa6ab25b338efe2dba11ce SHA256 188fe42bb093675fa1568ba7b1af81cf9c509ab2174e0706f2a9d8f20d1b828a
+EBUILD spcaview-20071224.ebuild 733 RMD160 10d0f8888da2a2dd3bcbb7b7892202745765d94b SHA1 2297f96b2d5e459648e910cd61fbcf487fce1582 SHA256 ab46604a4998a8565dbf127acaf97b0c8c74ee273ab90a59e2058ae89c55e163
+MISC ChangeLog 1554 RMD160 79fa333728c4615b38850430a5be46a1404f2c0d SHA1 95f35f5917635efd9ba3e80faa8a0ed91e6cf303 SHA256 67cc3587565d95d8d0a98595e827c47b6eedf7694385520e831676ad1178e97e
MISC metadata.xml 375 RMD160 6f1608823576c9b42b26173ba0b3a81a01f8db75 SHA1 fea13dba329853b71884ec55e406e3ef80338c09 SHA256 da2c5c4f65721e6f442ece0bab0934e2e2999a806bdc4e7096bd4914b00ddf1a
diff --git a/media-video/spcaview/files/spcaview-20071224-Makefile.patch b/media-video/spcaview/files/spcaview-20071224-Makefile.patch
new file mode 100644
index 000000000000..4ef289f2cbe0
--- /dev/null
+++ b/media-video/spcaview/files/spcaview-20071224-Makefile.patch
@@ -0,0 +1,122 @@
+diff -ur spcaview-20071224.orig/Makefile spcaview-20071224/Makefile
+--- spcaview-20071224.orig/Makefile 2005-09-24 23:57:52.000000000 +0300
++++ spcaview-20071224/Makefile 2009-09-29 14:18:00.000000000 +0300
+@@ -2,33 +2,18 @@
+ # spcaview Makefile
+ ##############################
+
+-INSTALLROOT=$(PWD)
++CC ?= gcc
++CFLAGS += $(shell sdl-config --cflags)
++CPPFLAGS += -DUSE_SDL -DLINUX
+
+-CC=gcc
+-CPP=g++
+ INSTALL=install
+ APP_BINARY=spcaview
+ BIN=/usr/local/bin
+ #SDLLIBS= -lSDL -lpthread -lSDL_image
+ SDLLIBS = $(shell sdl-config --libs)
+-SDLFLAGS = $(shell sdl-config --cflags)
+-
+-SERVFLAGS= -O2 -DLINUX $(WARNINGS)
+ MATH_LIB=-lm
+ SERVLIBS= $(MATH_LIB) -lpthread
+
+-#WARNINGS = -Wall \
+-# -Wundef -Wpointer-arith -Wbad-function-cast \
+-# -Wcast-align -Wwrite-strings -Wstrict-prototypes \
+-# -Wmissing-prototypes -Wmissing-declarations \
+-# -Wnested-externs -Winline -Wcast-qual -W \
+-# -Wno-unused
+-# -Wunused
+-
+-CFLAGS = -DUSE_SDL -O2 -DLINUX $(SDLFLAGS) $(WARNINGS)
+-CPPFLAGS = $(CFLAGS)
+-SHCFLAGS= -O2 -ffast-math -fforce-addr -fstrict-aliasing -fomit-frame-pointer
+-#CLIBFLAGS= -O9 -falign-functions=4 -march=athlon
+ #LIB_ENCODE = libjpgenc.a
+ #LIB_ENCODE_OBJECTS = encoder.o huffman.o marker.o quant.o
+
+@@ -52,63 +37,63 @@
+
+ # Applications:
+ spcaview: $(OBJECTS)
+- $(CC) $(CFLAGS) $(OBJECTS) $(X11_LIB) $(XPM_LIB)\
++ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJECTS) $(X11_LIB) $(XPM_LIB)\
+ $(MATH_LIB) \
+ $(SDLLIBS)\
+ -o $(APP_BINARY)
+ chmod 755 $(APP_BINARY)
+
+ spcaserv: $(OBJSERVER)
+- gcc $(SERVFLAGS) -o spcaserv $(OBJSERVER) $(SERVLIBS)
++ $(CC) $(LDFLAGS) $(CFLAGS) -o spcaserv $(OBJSERVER) $(SERVLIBS)
+
+ spcacat: $(OBJCAT)
+- gcc $(SERVFLAGS) -o spcacat $(OBJCAT) $(SERVLIBS)
++ $(CC) $(LDFLAGS) $(CFLAGS) -o spcacat $(OBJCAT) $(SERVLIBS)
+
+ spcaview.o: spcaview.c jconfig.h dpsh.h utils.h SDL_audioin.h
+
+
+ shc.o : shc.c shc.h
+- $(CC) $(SHCFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+ shclib.o: shclib.c shclib.h
+- $(CC) $(SHCFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+ dpsh.o: dpsh.c dpsh.h
+- $(CC) $(SHCFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ avilib.o: avilib.c avilib.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ server.o: server.c
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ spcacat.o: spcacat.c
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ spcav4l.o: spcav4l.c spcav4l.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ utils.o: utils.c utils.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ picture.o: picture.c picture.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ pargpio.o: pargpio.c pargpio.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ tcputils.o: tcputils.c tcputils.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ encoder.o: encoder.c encoder.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ huffman.o: huffman.c huffman.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ marker.o: marker.c marker.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ quant.o: quant.c quant.h
+- $(CC) $(SERVFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+
+ install_spcaserv: spcaserv
+ $(INSTALL) -s -m 755 -g root -o root spcaserv $(BIN)
diff --git a/media-video/spcaview/spcaview-20071224.ebuild b/media-video/spcaview/spcaview-20071224.ebuild
new file mode 100644
index 000000000000..38f312d1e653
--- /dev/null
+++ b/media-video/spcaview/spcaview-20071224.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/spcaview/spcaview-20071224.ebuild,v 1.1 2009/09/29 11:14:22 ssuominen Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A webcam viewer for the spca5xx driver"
+HOMEPAGE="http://mxhaard.free.fr/sview.html"
+SRC_URI="http://mxhaard.free.fr/spca50x/Download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ dobin spca{view,serv,cat} || die
+ dodoc Changelog README
+}