diff options
author | jmmv <jmmv> | 2004-01-26 15:32:47 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-01-26 15:32:47 +0000 |
commit | 99622d80cda68d1923c73e5d391657cd4012fce3 (patch) | |
tree | 0a6f68295ba1951a36202156f938cde53db6849b /multimedia/apla | |
parent | c1bfb1517ae2b4e63e899ce85049265330978e74 (diff) | |
download | pkgsrc-99622d80cda68d1923c73e5d391657cd4012fce3.tar.gz |
Move apla to the graphics category (coming from graphics).
This is version 1.0.3nb6.
Diffstat (limited to 'multimedia/apla')
-rw-r--r-- | multimedia/apla/DESCR | 7 | ||||
-rw-r--r-- | multimedia/apla/Makefile | 28 | ||||
-rw-r--r-- | multimedia/apla/PLIST | 3 | ||||
-rw-r--r-- | multimedia/apla/distinfo | 5 | ||||
-rw-r--r-- | multimedia/apla/patches/patch-aa | 26 |
5 files changed, 69 insertions, 0 deletions
diff --git a/multimedia/apla/DESCR b/multimedia/apla/DESCR new file mode 100644 index 00000000000..f5d7e1dc690 --- /dev/null +++ b/multimedia/apla/DESCR @@ -0,0 +1,7 @@ +apla is temporary replacement for aviplay player. It uses avifile library. + +If you have slow CPU/framebuffer you can try -s option to reduce count of +frames displayed (all frames have to be decoded in most video formats +though). Using 16 bit video mode may help as well. Absolutely mandatory +for optimal performance is use of write-combining access to framebuffer +memory on i386 hardware, see memconfig(8). diff --git a/multimedia/apla/Makefile b/multimedia/apla/Makefile new file mode 100644 index 00000000000..0084a5bb2dd --- /dev/null +++ b/multimedia/apla/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 15:32:47 jmmv Exp $ +# + +DISTNAME= apla-1.0.3 +PKGREVISION= 6 +CATEGORIES= multimedia +MASTER_SITES= http://pd37.warszawa.sdi.tpnet.pl/NetBSD/ + +MAINTAINER= zuntum@NetBSD.org,w.wnuk@zodiac.mimuw.edu.pl +COMMENT= Replacement for aviplay player + +USE_BUILDLINK2= YES +USE_X11= YES + +MAKE_ENV+= AVIFILE_CONFIG=avifile-config +MAKE_ENV+= SDL_CONFIG=sdl-config +MAKE_ENV+= FREETYPE_CONFIG=freetype-config + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/apla ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/apla.1 ${PREFIX}/man/man1 + +.include "../../converters/libiconv/buildlink2.mk" +.include "../../devel/SDL_ttf/buildlink2.mk" +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../multimedia/avifile-devel/buildlink2.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/apla/PLIST b/multimedia/apla/PLIST new file mode 100644 index 00000000000..a12553f1b82 --- /dev/null +++ b/multimedia/apla/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 15:32:48 jmmv Exp $ +bin/apla +man/man1/apla.1 diff --git a/multimedia/apla/distinfo b/multimedia/apla/distinfo new file mode 100644 index 00000000000..b22838d84ed --- /dev/null +++ b/multimedia/apla/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/26 15:32:48 jmmv Exp $ + +SHA1 (apla-1.0.3.tar.gz) = 7b28dd78644884bb737ff3ada416e838c7f5fe62 +Size (apla-1.0.3.tar.gz) = 6790 bytes +SHA1 (patch-aa) = 32a3e6db237e5a660241e3cf5224f570a1349060 diff --git a/multimedia/apla/patches/patch-aa b/multimedia/apla/patches/patch-aa new file mode 100644 index 00000000000..250aab40707 --- /dev/null +++ b/multimedia/apla/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 15:32:48 jmmv Exp $ + +--- Makefile.orig Wed Jun 27 04:14:07 2001 ++++ Makefile +@@ -4,9 +4,9 @@ LOCALBASE?=/usr/pkg + X11BASE?=/usr/X11R6 + CC=${CXX} + +-AVIFILE_CONFIG?=${LOCALBASE}/bin/avifile-config +-SDL_CONFIG?=${LOCALBASE}/bin/sdl-config +-FREETYPE_CONFIG?=${LOCALBASE}/bin/freetype-config ++AVIFILE_CONFIG?=avifile-config ++SDL_CONFIG?=sdl-config ++FREETYPE_CONFIG?=freetype-config + + AVIFILE_CFLAGS?=`${AVIFILE_CONFIG} --cflags` + SDL_CFLAGS?=`${SDL_CONFIG} --cflags` +@@ -20,8 +20,6 @@ CPPFLAGS+=${AVIFILE_CFLAGS} ${SDL_CFLAGS + '-DX11BASE="${X11BASE}"' + + LDFLAGS+=${AVIFILE_LIBS} ${SDL_LIBS} ${FREETYPE_LIBS} \ +- -L${X11BASE}/lib -Wl,-R${X11BASE}/lib \ +- -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib \ + -lSDL_ttf -liconv -li386 + + SRCS=main.cc cmdline.cc help.cc text.cc \ |