aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/x264-devel
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-11-30 12:21:56 +0800
committerahze <ahze@FreeBSD.org>2005-11-30 12:21:56 +0800
commitb4bcd68ad1fdb59f513eaa1a07b2d37829f6afd6 (patch)
tree3352182353f373fb88c388bdac11c3ada77a6656 /multimedia/x264-devel
parent0639db173eb5e2ff07d8c22d3ea3ab82ef5d158d (diff)
downloadfreebsd-ports-gnome-b4bcd68ad1fdb59f513eaa1a07b2d37829f6afd6.tar.gz
freebsd-ports-gnome-b4bcd68ad1fdb59f513eaa1a07b2d37829f6afd6.tar.zst
freebsd-ports-gnome-b4bcd68ad1fdb59f513eaa1a07b2d37829f6afd6.zip
- Update to 0.0.20051129
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r--multimedia/x264-devel/Makefile10
-rw-r--r--multimedia/x264-devel/distinfo6
-rw-r--r--multimedia/x264-devel/files/patch-Makefile15
3 files changed, 19 insertions, 12 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index bd899fb80d8c..2f9e54c76c2a 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= x264
-PORTVERSION= 0.0.20051114
+PORTVERSION= 0.0.20051129
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
@@ -28,7 +28,8 @@ PLIST_FILES= bin/x264 \
include/x264.h \
lib/libx264.a \
lib/libx264.so \
- lib/libx264.so.${SHLIB_VER}
+ lib/libx264.so.${SHLIB_VER} \
+ libdata/pkgconfig/x264.pc
OPTIONS= GPAC "Enable MPEG-4 Output" On \
DEBUG "Enable Debugging" Off \
@@ -69,11 +70,16 @@ CONFIGURE_ARGS+= --enable-visualize
USE_XLIB= yes
.endif
+pre-install:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/x264.pc
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x264 ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/x264.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libx264.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libx264.so.${SHLIB_VER} ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/x264.pc ${PREFIX}/libdata/pkgconfig
${LN} -sf libx264.so.${SHLIB_VER} ${PREFIX}/lib/libx264.so
.include <bsd.port.post.mk>
diff --git a/multimedia/x264-devel/distinfo b/multimedia/x264-devel/distinfo
index dbf7af269843..eb7fe640e32e 100644
--- a/multimedia/x264-devel/distinfo
+++ b/multimedia/x264-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (x264-snapshot-20051114-2245.tar.bz2) = 7f6dae15f500f7df7d158c42b64be508
-SHA256 (x264-snapshot-20051114-2245.tar.bz2) = 7400a6d28c08c6670d975ef1f7a04ea36ebb1d9f06d4a44eeb9843e871b7bfb9
-SIZE (x264-snapshot-20051114-2245.tar.bz2) = 367290
+MD5 (x264-snapshot-20051129-2245.tar.bz2) = c130589c93d0e4fcb9a5a9524b8aaed6
+SHA256 (x264-snapshot-20051129-2245.tar.bz2) = dc44bdc130470449dbade081a8278cbe8c5bac015280a8301c551540d370259e
+SIZE (x264-snapshot-20051129-2245.tar.bz2) = 369264
diff --git a/multimedia/x264-devel/files/patch-Makefile b/multimedia/x264-devel/files/patch-Makefile
index 1a4e489bdd4f..b08aa0a82ca3 100644
--- a/multimedia/x264-devel/files/patch-Makefile
+++ b/multimedia/x264-devel/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Wed Sep 14 04:50:13 2005
-+++ Makefile Wed Sep 14 04:55:01 2005
-@@ -15,7 +15,7 @@
+--- Makefile.orig Tue Nov 29 16:45:03 2005
++++ Makefile Tue Nov 29 23:17:26 2005
+@@ -16,7 +16,7 @@
endif
# MMX/SSE optims
@@ -9,14 +9,15 @@
SRCS += common/i386/mc-c.c common/i386/dct-c.c common/i386/predict.c
ASMSRC = common/i386/dct-a.asm common/i386/cpu-a.asm \
common/i386/pixel-a.asm common/i386/mc-a.asm \
-@@ -55,14 +55,20 @@
- OBJS = $(SRCS:%.c=%.o)
+@@ -60,14 +60,21 @@
DEP = depend
+ .PHONY: default fprofiled clean distclean install uninstall
-default: $(DEP) x264$(EXE)
++
+SHARED_LIB = libx264.so
+SHARED_LIB_VER = $(SHARED_LIB).1
-+
++
+default: $(DEP) x264$(EXE) $(SHARED_LIB_VER)
libx264.a: .depend $(OBJS) $(OBJASM)
@@ -27,7 +28,7 @@
- $(CC) -o $@ x264.o matroska.o libx264.a $(LDFLAGS)
+x264$(EXE): $(SHARED_LIB_VER) x264.o matroska.o
+ $(CC) -o $@ x264.o matroska.o $(SHARED_LIB_VER) $(LDFLAGS)
-+
++
+$(SHARED_LIB_VER): $(OBJS) libx264.a
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS) $(OBJASM) $(LDFLAGS)