Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/x264-encoder/files: x264-encoder-nolib-20110425.patch
Date: Wed, 27 Apr 2011 17:24:12
Message-Id: 20110427172043.501EE20057@flycatcher.gentoo.org
1 aballier 11/04/27 17:20:43
2
3 Added: x264-encoder-nolib-20110425.patch
4 Log:
5 new snapshot
6
7 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-video/x264-encoder/files/x264-encoder-nolib-20110425.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/files/x264-encoder-nolib-20110425.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/files/x264-encoder-nolib-20110425.patch?rev=1.1&content-type=text/plain
14
15 Index: x264-encoder-nolib-20110425.patch
16 ===================================================================
17 Index: x264-snapshot-20110425-2245/Makefile
18 ===================================================================
19 --- x264-snapshot-20110425-2245.orig/Makefile
20 +++ x264-snapshot-20110425-2245/Makefile
21 @@ -146,8 +146,8 @@ $(LIBX264): .depend $(OBJS) $(OBJASM)
22 $(SONAME): .depend $(OBJS) $(OBJASM) $(OBJSO)
23 $(LD)$@ $(OBJS) $(OBJASM) $(OBJSO) $(SOFLAGS) $(LDFLAGS)
24
25 -x264$(EXE): $(OBJCLI) $(LIBX264)
26 - $(LD)$@ $+ $(LDFLAGSCLI) $(LDFLAGS)
27 +x264$(EXE): $(OBJCLI)
28 + $(LD)$@ $+ $(LDFLAGSCLI) $(LDFLAGS) `pkg-config --libs x264`
29
30 checkasm: tools/checkasm.o $(LIBX264)
31 $(LD)$@ $+ $(LDFLAGS)
32 @@ -209,22 +209,7 @@ distclean: clean
33
34 install: x264$(EXE) $(SONAME)
35 install -d $(DESTDIR)$(bindir)
36 - install -d $(DESTDIR)$(includedir)
37 - install -d $(DESTDIR)$(libdir)
38 - install -d $(DESTDIR)$(libdir)/pkgconfig
39 - install -m 644 x264.h $(DESTDIR)$(includedir)
40 - install -m 644 x264_config.h $(DESTDIR)$(includedir)
41 - install -m 644 $(LIBX264) $(DESTDIR)$(libdir)
42 - install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
43 install x264$(EXE) $(DESTDIR)$(bindir)
44 - $(if $(RANLIB), $(RANLIB) $(DESTDIR)$(libdir)/$(LIBX264))
45 -ifeq ($(SYS),WINDOWS)
46 - $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(bindir))
47 -else
48 - $(if $(SONAME), ln -f -s $(SONAME) $(DESTDIR)$(libdir)/libx264.$(SOSUFFIX))
49 - $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))
50 -endif
51 - $(if $(IMPLIBNAME), install -m 644 $(IMPLIBNAME) $(DESTDIR)$(libdir))
52
53 uninstall:
54 rm -f $(DESTDIR)$(includedir)/x264.h $(DESTDIR)$(includedir)/x264_config.h $(DESTDIR)$(libdir)/libx264.a