aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264-devel
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r--multimedia/x264-devel/Makefile101
-rw-r--r--multimedia/x264-devel/distinfo3
-rw-r--r--multimedia/x264-devel/files/patch-Makefile20
-rw-r--r--multimedia/x264-devel/files/patch-configure30
-rw-r--r--multimedia/x264-devel/files/patch-gtk_Makefile20
-rw-r--r--multimedia/x264-devel/pkg-descr13
-rw-r--r--multimedia/x264-devel/pkg-plist7
7 files changed, 0 insertions, 194 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
deleted file mode 100644
index f00e6b9b3df1..000000000000
--- a/multimedia/x264-devel/Makefile
+++ /dev/null
@@ -1,101 +0,0 @@
-# New ports collection makefile for: x264
-# Date created: 2005-01-11
-# Whom: Michael Johnson <ahze@FreeBSD.org>
-#
-# $FreeBSD$
-# $Id: Makefile 30 2006-10-30 22:15:26Z buhnux $
-
-PORTNAME= x264
-PORTVERSION= 0.0.20070913
-PORTREVISION?= 0
-CATEGORIES= multimedia
-MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
-DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
-
-MAINTAINER= multimedia@FreeBSD.org
-COMMENT?= Multimedia library and tool for encoding H.264/AVC video streams
-
-WANT_GNOME= yes
-USE_BZIP2= yes
-EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --exclude .svn
-USE_GETOPT_LONG=yes
-WRKSRC= ${WRKDIR}/${DISTNAME}
-USE_GMAKE= yes
-ALL_TARGET= default
-USE_LDCONFIG= yes
-HAS_CONFIGURE= yes
-
-OPTIONS= DEBUG "Enable Debugging" Off \
- OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off
-
-CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
- --extra-ldflags="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \
- --enable-shared
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_GTK2) && ${SLAVE_PORT:L}=="yes"
-LIB_DEPENDS+= x264.50:${PORTSDIR}/multimedia/x264
-BUILD_WRKSRC= ${WRKSRC}/gtk
-INSTALL_WRKSRC= ${WRKSRC}/gtk
-ALL_TARGET= all
-USE_GETTEXT= yes
-USE_GNOME= gtk20
-CONFIGURE_ARGS+= --enable-gtk
-.else
-OPTIONS+= GPAC "Enable MPEG-4 Output" On \
- X11_OUTPUT "Enable X11 Output" Off
-.endif
-
-.if ${ARCH}=="i386"
-BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
-MAKE_ENV+= ARCH_X86="1"
-.endif
-
-.if ${ARCH}=="amd64" || ${ARCH}=="sparc64"
-BUILD_DEPENDS+= yasm>=0.6.0:${PORTSDIR}/devel/yasm
-.endif
-
-MAKE_ENV+= ARCH=${ARCH}
-
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O2 -funroll-loops -ffast-math
-.endif
-
-.if !defined(WITHOUT_GPAC)
-BUILD_DEPENDS+= gpac-libgpac>=0.4.2.r2,1:${PORTSDIR}/multimedia/gpac-libgpac
-LIB_DEPENDS+= gpac.1:${PORTSDIR}/multimedia/gpac-libgpac
-CONFIGURE_ARGS+= --enable-mp4-output
-.endif
-
-.if defined(WITH_X11_OUTPUT)
-CONFIGURE_ARGS+= --enable-visualize
-USE_XLIB= yes
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
- s|-lpthread|${PTHREAD_LIBS}|g' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
- s|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
- ${WRKSRC}/Makefile \
- ${WRKSRC}/*/Makefile
-
-.if ${SLAVE_PORT:L}=="no"
-post-build:
- cd ${WRKSRC}/tools && ${MAKE} avc2avi
-
-pre-install:
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
- ${WRKSRC}/x264.pc
-
-post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/avc2avi ${PREFIX}/bin
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/multimedia/x264-devel/distinfo b/multimedia/x264-devel/distinfo
deleted file mode 100644
index 9e6101f3ab91..000000000000
--- a/multimedia/x264-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (x264-snapshot-20070913-2245.tar.bz2) = 2d0139c1aa72ff1c252fd2efc1a6ce97
-SHA256 (x264-snapshot-20070913-2245.tar.bz2) = d2479ca0734fb8cf00576af84f24194c93dcae740181cbcdcf30d47b29249201
-SIZE (x264-snapshot-20070913-2245.tar.bz2) = 535901
diff --git a/multimedia/x264-devel/files/patch-Makefile b/multimedia/x264-devel/files/patch-Makefile
deleted file mode 100644
index 6e29cc11c6ac..000000000000
--- a/multimedia/x264-devel/files/patch-Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig 2007-07-09 10:11:24.000000000 -0400
-+++ Makefile 2007-07-09 10:11:49.000000000 -0400
-@@ -18,7 +18,7 @@
- endif
-
- # MMX/SSE optims
--ifeq ($(ARCH),X86)
-+ifeq ($(ARCH),i386)
- ifneq ($(AS),)
- SRCS += common/i386/mc-c.c common/i386/predict-c.c
- ASMSRC = common/i386/dct-a.asm common/i386/cpu-a.asm \
-@@ -32,7 +32,7 @@
- endif
-
- # MMX/SSE optims
--ifeq ($(ARCH),X86_64)
-+ifeq ($(ARCH),amd64)
- ifneq ($(AS),)
- SRCS += common/i386/mc-c.c common/i386/predict-c.c
- ASMSRC = common/amd64/dct-a.asm common/amd64/cpu-a.asm \
diff --git a/multimedia/x264-devel/files/patch-configure b/multimedia/x264-devel/files/patch-configure
deleted file mode 100644
index b3dd7ddf0f2a..000000000000
--- a/multimedia/x264-devel/files/patch-configure
+++ /dev/null
@@ -1,30 +0,0 @@
---- configure.orig 2007-09-13 16:45:04.000000000 -0400
-+++ configure 2007-09-14 10:39:22.000000000 -0400
-@@ -252,7 +252,7 @@
- fi
- as_check || AS="nasm"
- ;;
-- x86_64)
-+ x86_64 | amd64)
- ARCH="X86_64"
- AS="yasm"
- ASFLAGS="-f elf -m amd64"
-@@ -361,7 +361,7 @@
- LDFLAGS="$LDFLAGS $libpthread"
- fi
-
--MP4_LDFLAGS="-lgpac_static"
-+MP4_LDFLAGS="-lgpac"
- if [ $SYS = CYGWIN -o $SYS = MINGW ]; then
- MP4_LDFLAGS="$MP4_LDFLAGS -lwinmm"
- fi
-@@ -443,7 +443,8 @@
- cp config.mak gtk/config.mak
-
- if [ "$shared" = "yes" ]; then
-- API=$(grep '#define X264_BUILD' < x264.h | cut -f 3 -d ' ')
-+# API=$(grep '#define X264_BUILD' < x264.h | cut -f 3 -d ' ')
-+ API=50
- echo "SONAME=libx264.so.$API" >> config.mak
- echo 'default: $(SONAME)' >> config.mak
- if [ "$gtk" = "yes" ]; then
diff --git a/multimedia/x264-devel/files/patch-gtk_Makefile b/multimedia/x264-devel/files/patch-gtk_Makefile
deleted file mode 100644
index c03a6c7bef82..000000000000
--- a/multimedia/x264-devel/files/patch-gtk_Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- gtk/Makefile.orig Fri Jun 1 08:18:59 2007
-+++ gtk/Makefile Fri Jun 1 08:19:28 2007
-@@ -46,14 +46,14 @@
-
- X264GTK_PC = x264gtk.pc
-
--EXTERNAL_DEPS= ../muxers.o ../matroska.o ../libx264.a
-+EXTERNAL_DEPS= ../muxers.o ../matroska.o
-
-
- all: $(ENCODE_BIN) $(TEST_BIN) $(MO_FILES) $(X264GTK_PC)
-
- # Already provides iconv/intl
--CPPFLAGS = -g `pkg-config --cflags gtk+-2.0 gthread-2.0` -I.. -DX264_DATA_DIR=\"${datadir}\"
--LDFLAGS += `pkg-config --libs gtk+-2.0 gthread-2.0` ../libx264.a
-+CPPFLAGS = -g `pkg-config --cflags gtk+-2.0 gthread-2.0 x264` -I.. -DX264_DATA_DIR=\"${datadir}\"
-+LDFLAGS += `pkg-config --libs gtk+-2.0 gthread-2.0 x264`
-
-
- # gettext rules
diff --git a/multimedia/x264-devel/pkg-descr b/multimedia/x264-devel/pkg-descr
deleted file mode 100644
index 561027d85d3e..000000000000
--- a/multimedia/x264-devel/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-x264 is a free library for encoding H.264/AVC (aka MPEG-4 Part 10)
-video streams.
-
-Encoder features
- * CAVLC/CABAC
- * Multi-references
- * Intra: all modes (4x4 and 16x16 with all predictions)
- * Inter P: all partitions (from 16x16 down to 4x4)
- * Inter B: partitions from 16x16 down to 8x8 (including SKIP/DIRECT)
- * Ratecontrol: constant quantizer, constant bitrate, or multipass ABR
- * Scene cut detection
-
-WWW: http://www.videolan.org/x264.html
diff --git a/multimedia/x264-devel/pkg-plist b/multimedia/x264-devel/pkg-plist
deleted file mode 100644
index 26fb1a836164..000000000000
--- a/multimedia/x264-devel/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/x264
-bin/avc2avi
-include/x264.h
-lib/libx264.a
-lib/libx264.so
-lib/libx264.so.50
-libdata/pkgconfig/x264.pc