diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-07 19:50:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-10-07 19:50:55 +0000 |
commit | 2db3e16072fd12b6a18d2e7f77ddb1be550e7e63 (patch) | |
tree | 7d3ef8ecdef49e5012c56589e615c6b73599b8a2 /media-video/SDLcam | |
parent | x86 stable, bug #195009 (diff) | |
download | gentoo-2-2db3e16072fd12b6a18d2e7f77ddb1be550e7e63.tar.gz gentoo-2-2db3e16072fd12b6a18d2e7f77ddb1be550e7e63.tar.bz2 gentoo-2-2db3e16072fd12b6a18d2e7f77ddb1be550e7e63.zip |
Version bump and fix libpng linkage #194958 by Leong Seh Hui.
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-video/SDLcam')
-rw-r--r-- | media-video/SDLcam/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/SDLcam/SDLcam-0.8.1.ebuild | 50 | ||||
-rw-r--r-- | media-video/SDLcam/files/SDLcam-0.8.1-build.patch | 24 | ||||
-rw-r--r-- | media-video/SDLcam/files/digest-SDLcam-0.8.1 | 3 |
4 files changed, 84 insertions, 1 deletions
diff --git a/media-video/SDLcam/ChangeLog b/media-video/SDLcam/ChangeLog index cd87536426f0..9b72b615963a 100644 --- a/media-video/SDLcam/ChangeLog +++ b/media-video/SDLcam/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/SDLcam # 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 $ +# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/ChangeLog,v 1.10 2007/10/07 19:50:55 vapier Exp $ + +*SDLcam-0.8.1 (07 Oct 2007) + + 07 Oct 2007; Mike Frysinger <vapier@gentoo.org> + +files/SDLcam-0.8.1-build.patch, +SDLcam-0.8.1.ebuild: + Version bump and fix libpng linkage #194958 by Leong Seh Hui. *SDLcam-0.8.0 (06 Oct 2007) diff --git a/media-video/SDLcam/SDLcam-0.8.1.ebuild b/media-video/SDLcam/SDLcam-0.8.1.ebuild new file mode 100644 index 000000000000..2d016bb965b2 --- /dev/null +++ b/media-video/SDLcam/SDLcam-0.8.1.ebuild @@ -0,0 +1,50 @@ +# 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.1.ebuild,v 1.1 2007/10/07 19:50:55 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}" + epatch "${FILESDIR}"/${P}-build.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 + dodoc CHANGELOG README TODO Documentation/config_file.txt Documentation/gui.txt +} diff --git a/media-video/SDLcam/files/SDLcam-0.8.1-build.patch b/media-video/SDLcam/files/SDLcam-0.8.1-build.patch new file mode 100644 index 000000000000..59dc975f5871 --- /dev/null +++ b/media-video/SDLcam/files/SDLcam-0.8.1-build.patch @@ -0,0 +1,24 @@ +pull in png deps + +http://bugs.gentoo.org/194958 + +--- Makefile.in ++++ Makefile.in +@@ -2,7 +2,7 @@ + CXX = @CXX@ + LD = $(CXX) + LDFLAGS = @LDFLAGS@ +-LDLIBS = $(shell sdl-config --libs) $(shell xml2-config --libs) -lSDL_image -lSDL_ttf -lm -lxml2 -rdynamic -ljpeg -ldl ++LDLIBS = $(shell sdl-config --libs) $(shell xml2-config --libs) -lSDL_image -lSDL_ttf -lm -lxml2 -ljpeg -ldl $(shell libpng-config --libs) + PROG = SDLcam + + prefix=@prefix@ +@@ -10,7 +10,7 @@ + + CPPFLAGS = @CPPFLAGS@ -DMMX -DTIMER -DPROG_VERSION=\"0.8.1\" -DDATADIR="$(datadir)/SDLcam" + +-MMXFLAGS = -Wshadow -Wall $(shell sdl-config --cflags) $(shell xml2-config --cflags) ++MMXFLAGS = -Wshadow -Wall $(shell sdl-config --cflags) $(shell xml2-config --cflags) $(shell libpng-config --cflags) + CFLAGS = @CFLAGS@ $(MMXFLAGS) -Wstrict-prototypes + CXXFLAGS = @CXXFLAGS@ $(MMXFLAGS) + diff --git a/media-video/SDLcam/files/digest-SDLcam-0.8.1 b/media-video/SDLcam/files/digest-SDLcam-0.8.1 new file mode 100644 index 000000000000..88595d4055d5 --- /dev/null +++ b/media-video/SDLcam/files/digest-SDLcam-0.8.1 @@ -0,0 +1,3 @@ +MD5 4ee326755ac7cff4f507784baac338eb sdlcam-0.8.1.tar.gz 336390 +RMD160 fb2498e483836f90e776bce473fef8f5335a0726 sdlcam-0.8.1.tar.gz 336390 +SHA256 96e518d7b9cd8314a4fa95233614a1a323767c227f324619cdf9217ad4e6f9ff sdlcam-0.8.1.tar.gz 336390 |