mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Resurrect audio/xmms-faad, an MP4/AAC input plugin for XMMS.
This commit is contained in:
parent
c7edf3c4ea
commit
80b45b4885
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350828
1
MOVED
1
MOVED
@ -5725,7 +5725,6 @@ audio/xmms-crystality|multimedia/audacious|2014-03-23|Has expired: Abandonware,
|
||||
audio/xmms-defx|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
audio/xmms-efxmms|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
audio/xmms-eq|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
audio/xmms-faad|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
audio/xmms-fc|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
audio/xmms-fxt|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
audio/xmms-infopipe|multimedia/audacious|2014-03-23|Has expired: Abandonware, please consider using multimedia/audacious instead
|
||||
|
@ -794,6 +794,7 @@
|
||||
SUBDIR += xmms-ahx
|
||||
SUBDIR += xmms-bonk
|
||||
SUBDIR += xmms-curses
|
||||
SUBDIR += xmms-faad
|
||||
SUBDIR += xmms-festalon
|
||||
SUBDIR += xmms-flac
|
||||
SUBDIR += xmms-gbsplay
|
||||
|
14
audio/xmms-faad/Makefile
Normal file
14
audio/xmms-faad/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
# Created by: David Yeske <dyeske@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PKGNAMEPREFIX= xmms-
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= XMMS plugin for faad
|
||||
|
||||
DEPRECATED= Abandonware, please consider using multimedia/audacious instead
|
||||
EXPIRATION_DATE= 2014-03-23
|
||||
|
||||
MASTERDIR= ${.CURDIR}
|
||||
|
||||
.include "${MASTERDIR}/Makefile.inc"
|
40
audio/xmms-faad/Makefile.inc
Normal file
40
audio/xmms-faad/Makefile.inc
Normal file
@ -0,0 +1,40 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= faad2
|
||||
PORTVERSION= 2.7
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SFE/faac
|
||||
|
||||
BUILD_DEPENDS= faad2>=2.7:${PORTSDIR}/audio/faad
|
||||
RUN_DEPENDS= faad2>=2.7:${PORTSDIR}/audio/faad
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/plugins/xmms/src
|
||||
|
||||
USES+= pkgconfig
|
||||
USE_BZIP2= yes
|
||||
WANT_GNOME= yes
|
||||
|
||||
DESCR= ${PORTSDIR}/audio/faad/pkg-descr
|
||||
PLIST_FILES= ${PLUGINS_DIR:S,^${PREFIX}/,,}/libmp4.so
|
||||
|
||||
.if ${PKGNAMEPREFIX} == "xmms-"
|
||||
LIB_DEPENDS+= libxmms.so:${PORTSDIR}/multimedia/xmms
|
||||
USE_GNOME+= gtk12
|
||||
PLUGINS_DIR= ${PREFIX}/lib/xmms/Input
|
||||
EXTRA_CFLAGS= `xmms-config --cflags`
|
||||
EXTRA_LDFLAGS+= `xmms-config --libs`
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -shared \
|
||||
-I${LOCALBASE}/include -DHAVE_STDINT_H \
|
||||
${EXTRA_CFLAGS} *.c -o libmp4.so \
|
||||
-L${LOCALBASE}/lib -lfaad -lmp4ff \
|
||||
${EXTRA_LDFLAGS}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PLUGINS_DIR}
|
||||
cd ${WRKSRC}; ${INSTALL_LIB} libmp4.so ${STAGEDIR}${PLUGINS_DIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/xmms-faad/distinfo
Normal file
2
audio/xmms-faad/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (faad2-2.7.tar.bz2) = 14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5
|
||||
SIZE (faad2-2.7.tar.bz2) = 901043
|
26
audio/xmms-faad/files/patch-mp4_utils.c
Normal file
26
audio/xmms-faad/files/patch-mp4_utils.c
Normal file
@ -0,0 +1,26 @@
|
||||
--- mp4_utils.c.orig 2004-10-18 05:44:51.000000000 +0900
|
||||
+++ mp4_utils.c 2009-02-12 02:53:15.000000000 +0900
|
||||
@@ -3,15 +3,22 @@
|
||||
*/
|
||||
|
||||
#include "mp4ff.h"
|
||||
-#include "faad.h"
|
||||
+#include "neaacdec.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+
|
||||
+#if defined(HAVE_BMP)
|
||||
+#include <bmp/plugin.h>
|
||||
+#include <bmp/titlestring.h>
|
||||
+#include <bmp/util.h>
|
||||
+#else
|
||||
#include <xmms/plugin.h>
|
||||
#include <xmms/titlestring.h>
|
||||
#include <xmms/util.h>
|
||||
+#endif /*HAVE_BMP*/
|
||||
|
||||
const char *mp4AudioNames[]=
|
||||
{
|
Loading…
Reference in New Issue
Block a user