diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-06 13:05:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-10-06 13:05:41 +0000 |
commit | 4ca3b32e683e0390a8fe7560427ffaae9c9a33d5 (patch) | |
tree | 898254bcea2839f02b0e721153ab435fc59b177b /media-video | |
parent | Marked stable on amd64. (diff) | |
download | historical-4ca3b32e683e0390a8fe7560427ffaae9c9a33d5.tar.gz historical-4ca3b32e683e0390a8fe7560427ffaae9c9a33d5.tar.bz2 historical-4ca3b32e683e0390a8fe7560427ffaae9c9a33d5.zip |
Version bump #188475 by Leong Seh Hui.
Package-Manager: portage-2.1.3.11
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/SDLcam/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/SDLcam/Manifest | 28 | ||||
-rw-r--r-- | media-video/SDLcam/SDLcam-0.8.0.ebuild | 53 | ||||
-rw-r--r-- | media-video/SDLcam/files/SDLcam-0.8.0-build.patch | 70 | ||||
-rw-r--r-- | media-video/SDLcam/files/digest-SDLcam-0.8.0 | 3 |
5 files changed, 154 insertions, 10 deletions
diff --git a/media-video/SDLcam/ChangeLog b/media-video/SDLcam/ChangeLog index dd19b3662d7e..cd87536426f0 100644 --- a/media-video/SDLcam/ChangeLog +++ b/media-video/SDLcam/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/SDLcam -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/ChangeLog,v 1.8 2006/10/22 05:36:10 vapier Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/ChangeLog,v 1.9 2007/10/06 13:05:41 vapier Exp $ + +*SDLcam-0.8.0 (06 Oct 2007) + + 06 Oct 2007; Mike Frysinger <vapier@gentoo.org> + +files/SDLcam-0.8.0-build.patch, +SDLcam-0.8.0.ebuild: + Version bump #188475 by Leong Seh Hui. 22 Oct 2006; Mike Frysinger <vapier@gentoo.org> files/SDLcam-0.7.3-build.patch, +files/SDLcam-0.7.3-jpeg.patch, diff --git a/media-video/SDLcam/Manifest b/media-video/SDLcam/Manifest index 4046ea429182..61ec5e0a13e0 100644 --- a/media-video/SDLcam/Manifest +++ b/media-video/SDLcam/Manifest @@ -29,15 +29,24 @@ AUX SDLcam-0.7.3-tsc.patch 1172 RMD160 2b8afa3ae671ab81cb05f0d8b846da7ae0bbaed5 MD5 6a6efe94d07cda44c908c7cf8fcfcc2a files/SDLcam-0.7.3-tsc.patch 1172 RMD160 2b8afa3ae671ab81cb05f0d8b846da7ae0bbaed5 files/SDLcam-0.7.3-tsc.patch 1172 SHA256 69be7e9576f289ff0c8107d9ea6574c1361412668c4910f25533a8fb4524578c files/SDLcam-0.7.3-tsc.patch 1172 +AUX SDLcam-0.8.0-build.patch 2557 RMD160 c2cae27b06c9690936cddbb505bb7782c788b3f1 SHA1 2405811983dde3cbfff3b9f928f2975cda2f8ad0 SHA256 24946a8d22488679c4e627c0b8bda860fcb1ff8555bef0afd8dd8fd4337c9f5d +MD5 c1c384d12ae535152276969e7fe05fb7 files/SDLcam-0.8.0-build.patch 2557 +RMD160 c2cae27b06c9690936cddbb505bb7782c788b3f1 files/SDLcam-0.8.0-build.patch 2557 +SHA256 24946a8d22488679c4e627c0b8bda860fcb1ff8555bef0afd8dd8fd4337c9f5d files/SDLcam-0.8.0-build.patch 2557 DIST SDLcam-0.7.3.tar.gz 299421 RMD160 bb59dadae8a2ac4f5f86b16abb298a498e25a5eb SHA1 d6c3945f51bb1c5a6701652a06fe752f273b2ef9 SHA256 227e44ab23fd3081e170a61fac81f8920cf8f4c34d92ea57ce61fd056674c6a4 +DIST sdlcam-0.8.0.tar.gz 347284 RMD160 550a7170bba30fab1266610ba828b76a12ccdfcb SHA1 6bebd1e33ba3d9326056a0287f45d8e7122d8ed1 SHA256 7d227c042bf91b026ed0a585c378d34a2d50ad50061107f77adc8f367e21455a EBUILD SDLcam-0.7.3-r2.ebuild 1588 RMD160 b7d3cb4cf7c36c22637b026015a59b22d36e8eb1 SHA1 7ae5b5194274aa69c03455ce32c991b36b67bfb9 SHA256 0886d67a3b0c475d440f95576f3d0ba9d51d3ef98d34f742c21c33ecac95e164 MD5 a8c73d66427e5a78c9bf15028eeec17a SDLcam-0.7.3-r2.ebuild 1588 RMD160 b7d3cb4cf7c36c22637b026015a59b22d36e8eb1 SDLcam-0.7.3-r2.ebuild 1588 SHA256 0886d67a3b0c475d440f95576f3d0ba9d51d3ef98d34f742c21c33ecac95e164 SDLcam-0.7.3-r2.ebuild 1588 -MISC ChangeLog 1551 RMD160 30df955eaf24a6d20bfbd9177d14eb2e760cdf27 SHA1 0a9ae5207fc2a3f991032290849aba683930adff SHA256 cf8551df69006ab7647d6c5d68678d256d451b5e25334c5daa7f3302d910e193 -MD5 2b3fd9e3f4c702a04ce0c3ab8d78ec5d ChangeLog 1551 -RMD160 30df955eaf24a6d20bfbd9177d14eb2e760cdf27 ChangeLog 1551 -SHA256 cf8551df69006ab7647d6c5d68678d256d451b5e25334c5daa7f3302d910e193 ChangeLog 1551 +EBUILD SDLcam-0.8.0.ebuild 1551 RMD160 ea58dfadfc44bdac72ef1ce6d6d6ada54f063de3 SHA1 bf21b0c67fd467238b44f58dbcb40cc25938bae3 SHA256 d8c5a042db2cfa7abc99c8e1c66c0b7a390d6ebcb95e3ddd235c8c6cf3dc8602 +MD5 2a4791d1897ae7fca7e42195fe28e6e8 SDLcam-0.8.0.ebuild 1551 +RMD160 ea58dfadfc44bdac72ef1ce6d6d6ada54f063de3 SDLcam-0.8.0.ebuild 1551 +SHA256 d8c5a042db2cfa7abc99c8e1c66c0b7a390d6ebcb95e3ddd235c8c6cf3dc8602 SDLcam-0.8.0.ebuild 1551 +MISC ChangeLog 1729 RMD160 8b91e3c055c4500f3e42c87d854a044b5c1c89a8 SHA1 02a6c12368f855a32bac3038cb0372772f119d6d SHA256 95663e0b7b220aca5f0e6908a78093e7fd61310f6787051017d0d10beed1727b +MD5 3e9980723e8f27e08ac39ff5c102b421 ChangeLog 1729 +RMD160 8b91e3c055c4500f3e42c87d854a044b5c1c89a8 ChangeLog 1729 +SHA256 95663e0b7b220aca5f0e6908a78093e7fd61310f6787051017d0d10beed1727b ChangeLog 1729 MISC metadata.xml 579 RMD160 6e275c3fac48efbd4b422f2d3ea85500e20c9157 SHA1 09a520db73ada60d7f641107e2d6701b4e09ecd3 SHA256 3107244e2ed520c02b9958babf40e125e379af93997c10c812f1037a2feb6f67 MD5 9c86830b089cab3e08a1f927b14d78b9 metadata.xml 579 RMD160 6e275c3fac48efbd4b422f2d3ea85500e20c9157 metadata.xml 579 @@ -45,10 +54,13 @@ SHA256 3107244e2ed520c02b9958babf40e125e379af93997c10c812f1037a2feb6f67 metadata MD5 dc3fce4f940f7484e2b73c11ae7f3911 files/digest-SDLcam-0.7.3-r2 238 RMD160 ad2abc43311635ad8aab584722540bd7d41cd58f files/digest-SDLcam-0.7.3-r2 238 SHA256 a56fff67a8837d64c109b33ad4cf37d36dcf0647dfddb2ccdfbfe5816ff51c6b files/digest-SDLcam-0.7.3-r2 238 +MD5 e5f6b552c5bc7bc58e7ff1f285968010 files/digest-SDLcam-0.8.0 238 +RMD160 a44cc157129754aa840fbc68cf04d2dade664b4a files/digest-SDLcam-0.8.0 238 +SHA256 61fc40ac69bb7f2145cd674489a17f32f72bfc128667c58e8712fce5f5991f02 files/digest-SDLcam-0.8.0 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFFRU20amhnQswr0vIRAkX8AJ9+bKHzFVIYP1jPeC2nlaAitTSQaACgqJy6 -gBQ93rzMn41uC1R/ENtd1Z8= -=zZ9D +iD8DBQFHB4gqp/wUKkr7RBoRAl63AJ9uBXg4mZyEPlwCVgUuXwx5YnmVPwCdFojV +d/bHaks3D1vOxJbKLbCnjM4= +=gVp6 -----END PGP SIGNATURE----- diff --git a/media-video/SDLcam/SDLcam-0.8.0.ebuild b/media-video/SDLcam/SDLcam-0.8.0.ebuild new file mode 100644 index 000000000000..d5e58892b6a4 --- /dev/null +++ b/media-video/SDLcam/SDLcam-0.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/SDLcam-0.8.0.ebuild,v 1.1 2007/10/06 13:05:41 vapier Exp $ + +inherit eutils multilib + +DESCRIPTION="webcam application that uses the SDL library" +HOMEPAGE="http://sdlcam.raphnet.net/" +SRC_URI="http://sdlcam.raphnet.net/downloads/sdlcam-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-libs/libxml2 + media-libs/jpeg + media-libs/libpng + media-libs/libfame + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-ttf" + +S=${WORKDIR}/sdlcam-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + rm config.log config.status Makefile config.h || die + epatch "${FILESDIR}"/${PN}-0.7.3-tsc.patch #109161 + epatch "${FILESDIR}"/${PN}-0.7.3-prototypes.patch + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${PN}-0.7.3-jpeg.patch + + # Don't you love hardcoded vars? + sed -i \ + -e 's:/usr/local/share/SDLcam/:/usr/share/SDLcam/:' \ + -e 's:/usr/local/lib/SDLcam:/usr/$(get_libdir)/SDLcam:' \ + -e 's:sources/:/usr/$(get_libdir)/SDLcam/sources/:' \ + configuration.h interface.cpp SDL_v4l_filters.c main.cpp +} + +src_install() { + dobin SDLcam || die + insinto /usr/share/SDLcam + doins LucidaSansRegular.ttf LucidaTypewriterRegular.ttf SDLcam.xml SDLcam.cfg || die + exeinto /usr/$(get_libdir)/SDLcam/filters + doexe filter/*.so || die + exeinto /usr/$(get_libdir)/SDLcam/capture + doexe capture/*.so || die + exeinto /usr/$(get_libdir)/SDLcam/sources + doexe sources/*.so || die +} diff --git a/media-video/SDLcam/files/SDLcam-0.8.0-build.patch b/media-video/SDLcam/files/SDLcam-0.8.0-build.patch new file mode 100644 index 000000000000..2ae4c5b3cd37 --- /dev/null +++ b/media-video/SDLcam/files/SDLcam-0.8.0-build.patch @@ -0,0 +1,70 @@ +--- Makefile.in.orig ++++ Makefile.in +@@ -1,16 +1,18 @@ + CC = @CC@ +-CPP = @CXX@ +-LD = $(CPP) +-LDFLAGS = `sdl-config --libs` `xml2-config --libs` -lSDL_image -lSDL_ttf -lm -lxml2 -rdynamic -ljpeg -ldl ++CXX = @CXX@ ++LD = $(CXX) ++LDFLAGS = @LDFLAGS@ ++LDLIBS = $(shell sdl-config --libs) $(shell xml2-config --libs) -lSDL_image -lSDL_ttf -lm -lxml2 -rdynamic -ljpeg -ldl + PROG = SDLcam + + prefix=@prefix@ + datadir=@datadir@ + +-FEATURES = -DMMX -DTIMER ++CPPFLAGS = @CPPFLAGS@ -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -DDATADIR="$(datadir)/SDLcam" + +-MMXFLAGS = -Wshadow -Wall -Wstrict-prototypes `sdl-config --cflags` `xml2-config --cflags` -DPROG_VERSION=\"0.7.3\" $(FEATURES) +-CFLAGS = $(MMXFLAGS) -g -DDATADIR="$(datadir)/SDLcam" ++MMXFLAGS = -Wshadow -Wall $(shell sdl-config --cflags) $(shell xml2-config --cflags) ++CFLAGS = @CFLAGS@ $(MMXFLAGS) -Wstrict-prototypes ++CXXFLAGS = @CXXFLAGS@ $(MMXFLAGS) + + + OBJS = main.o init.o SDL_v4l.o SDL_v4l_filters.o webcam.o interface.o configuration.o config_file.o SDL_v4l_filters_thomas.o dump_thomas.o capture.o ftp-upload.o logo.o parser.o misc.o xml_theme.o dyn_misc.o +@@ -34,32 +36,32 @@ + ./install + + %.o: %.cpp +- $(CC) $(CFLAGS) -c $< ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< + + %.o: %.c +- $(CPP) $(CFLAGS) -c $< ++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< + + sources/%.so: sources/%.cpp +- $(CPP) $(FEATURES) -g -fPIC -shared -o $@ $? ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $? + + sources/jpeg.so: sources/jpeg.cpp +- $(CPP) $(FEATURES) -g -fPIC -shared -o $@ $? -ljpeg ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $? -ljpeg + + filter/%.so: filter/%.c +- $(CC) $(FEATURES) -g -fPIC -shared -o $@ $? ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $? + + capture/mpeg.so: capture/mpeg.c +- - $(CC) $(FEATURES) -g -fPIC -shared -o $@ $? -lfame ++ - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $? -lfame + + capture/divx.so: capture/divx.c +- - $(CC) $(FEATURES) -g -fPIC -shared -o $@ $? -ldivxencore ++ - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $? -ldivxencore + + capture/divx2.so: capture/divx2.cpp +- - $(CPP) $(FEATURES) -g -fPIC -shared -o $@ $? ++ - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $? + + SDLcam: $(OBJS) +- $(LD) $(LDFLAGS) $(OBJS) -o $(PROG) ++ $(LD) $(LDFLAGS) $(OBJS) -o $(PROG) $(LDLIBS) + # $(LD) $(LDFLAGS) $(OBJS) -o $(PROG) -laviplay + + SDL_v4l_filters_thomas.o: SDL_v4l_filters_thomas.c +- $(CC) $(MMXFLAGS) -c SDL_v4l_filters_thomas.c ++ $(CC) $(CPPFLAGS) $(CFLAGS) -c SDL_v4l_filters_thomas.c diff --git a/media-video/SDLcam/files/digest-SDLcam-0.8.0 b/media-video/SDLcam/files/digest-SDLcam-0.8.0 new file mode 100644 index 000000000000..06bbe62104a4 --- /dev/null +++ b/media-video/SDLcam/files/digest-SDLcam-0.8.0 @@ -0,0 +1,3 @@ +MD5 760a702a48ed839eedcc4af36dbe9f67 sdlcam-0.8.0.tar.gz 347284 +RMD160 550a7170bba30fab1266610ba828b76a12ccdfcb sdlcam-0.8.0.tar.gz 347284 +SHA256 7d227c042bf91b026ed0a585c378d34a2d50ad50061107f77adc8f367e21455a sdlcam-0.8.0.tar.gz 347284 |