* [gentoo-commits] gentoo-x86 commit in media-video/SDLcam/files: SDLcam-0.8.0-build.patch digest-SDLcam-0.8.0
@ 2007-10-06 13:05 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2007-10-06 13:05 UTC (permalink / raw
To: gentoo-commits
vapier 07/10/06 13:05:42
Added: SDLcam-0.8.0-build.patch digest-SDLcam-0.8.0
Log:
Version bump #188475 by Leong Seh Hui.
(Portage version: 2.1.3.11)
Revision Changes Path
1.1 media-video/SDLcam/files/SDLcam-0.8.0-build.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/SDLcam/files/SDLcam-0.8.0-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/SDLcam/files/SDLcam-0.8.0-build.patch?rev=1.1&content-type=text/plain
Index: SDLcam-0.8.0-build.patch
===================================================================
--- 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
1.1 media-video/SDLcam/files/digest-SDLcam-0.8.0
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/SDLcam/files/digest-SDLcam-0.8.0?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/SDLcam/files/digest-SDLcam-0.8.0?rev=1.1&content-type=text/plain
Index: digest-SDLcam-0.8.0
===================================================================
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
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-06 13:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 13:05 [gentoo-commits] gentoo-x86 commit in media-video/SDLcam/files: SDLcam-0.8.0-build.patch digest-SDLcam-0.8.0 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox