[vlc-devel] commit: Build peflags in the contribs (Geoffroy Couprie )
git version control
git at videolan.org
Wed Sep 30 13:14:22 CEST 2009
vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Wed Sep 30 13:13:31 2009 +0200| [3b8026787a014e483a3721355b7b530aea79dae7] | committer: Geoffroy Couprie
Build peflags in the contribs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b8026787a014e483a3721355b7b530aea79dae7
---
extras/contrib/src/Distributions/win32.mak | 2 +-
extras/contrib/src/Makefile | 13 +++++++++++++
extras/contrib/src/packages.mak | 1 +
3 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Distributions/win32.mak b/extras/contrib/src/Distributions/win32.mak
index c23ae64..8847836 100644
--- a/extras/contrib/src/Distributions/win32.mak
+++ b/extras/contrib/src/Distributions/win32.mak
@@ -7,5 +7,5 @@ all: .iconv .intl .freetype .fribidi .zlib \
.dvdnav .dvbpsi .qt4_win32 .schroedinger .SDL_image \
.dx_headers .dshow_headers .gecko-win32 .dca \
.lua .tag .fontconfig .portaudio .kate .libass .zvbi \
- .fluid .aclocal
+ .fluid .aclocal .peflags
# .daap .cddb .cdio .vcdimager
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 5a8baeb..54b8a0f 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2574,7 +2574,20 @@ xcb-util: xcb-util-$(XCB_UTIL_VERSION).tar.bz2
cd $< && make install
touch $@
+# ***************************************************************************
+# Peflags utility (Windows only)
+# ***************************************************************************
+
+peflags.c:
+ $(WGET) $(PEFLAGS_URL)/$@
+.peflags: peflags.c
+ rm -rf peflags
+ mkdir peflags && mv peflags.c peflags/
+ cd peflags && gcc peflags.c -o peflags
+ install -d $(PREFIX)/bin
+ cd peflags && install ./peflags $(PREFIX)/bin
+CLEAN_PKG +=peflags
# ***************************************************************************
# Some cleaning
# ***************************************************************************
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index 2ace083..077745e 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -238,3 +238,4 @@ XCB_UTIL_URL=$(XCB_URL)
LIBPROJECTM_VERSION=1.2.0
LIBPROJECTM_URL=$(SF)/projectm/libprojectM/libprojectM-$(LIBPROJECTM_VERSION)/libprojectM-$(LIBPROJECTM_VERSION).tar.bz2
LIBPROJECTM_SVN=https://projectm.svn.sourceforge.net/svnroot/projectm/trunk
+PEFLAGS_URL=http://altair.videolan.org/~geal
More information about the vlc-devel
mailing list