Skip to content

Commit

Permalink
reduce this to the pure library (as PKGNAME already suggests), saves
Browse files Browse the repository at this point in the history
a dependency on SDL
bump PKGREVISION
  • Loading branch information
drochner committed Feb 22, 2007
1 parent da45d43 commit 10a728c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
7 changes: 3 additions & 4 deletions multimedia/libmpeg2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.18 2007/01/10 14:58:24 joerg Exp $
# $NetBSD: Makefile,v 1.19 2007/02/22 17:43:51 drochner Exp $

DISTNAME= mpeg2dec-0.4.1
PKGNAME= libmpeg2-0.4.1
PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://libmpeg2.sourceforge.net/files/

Expand All @@ -19,14 +20,12 @@ PKGCONFIG_OVERRIDE+= libmpeg2/convert/libmpeg2convert.pc.in
PKGCONFIG_OVERRIDE+= libmpeg2/libmpeg2.pc.in

CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --disable-sdl

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
CONFIGURE_ENV+= ac_cv_header_altivec_h=no
.endif

.include "../../devel/SDL/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
7 changes: 1 addition & 6 deletions multimedia/libmpeg2/PLIST
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:45 jlam Exp $
bin/corrupt_mpeg2
bin/extract_mpeg2
bin/mpeg2dec
@comment $NetBSD: PLIST,v 1.3 2007/02/22 17:43:51 drochner Exp $
include/mpeg2dec/mpeg2.h
include/mpeg2dec/mpeg2convert.h
lib/libmpeg2.la
lib/libmpeg2convert.la
lib/pkgconfig/libmpeg2.pc
lib/pkgconfig/libmpeg2convert.pc
man/man1/extract_mpeg2.1
man/man1/mpeg2dec.1
@dirrm include/mpeg2dec
4 changes: 1 addition & 3 deletions multimedia/libmpeg2/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:02 jlam Exp $
# $NetBSD: buildlink3.mk,v 1.10 2007/02/22 17:43:51 drochner Exp $

BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMPEG2_BUILDLINK3_MK:= ${LIBMPEG2_BUILDLINK3_MK}+
Expand All @@ -17,6 +17,4 @@ BUILDLINK_ABI_DEPENDS.libmpeg2+= libmpeg2>=0.4.0bnb5
BUILDLINK_PKGSRCDIR.libmpeg2?= ../../multimedia/libmpeg2
.endif # LIBMPEG2_BUILDLINK3_MK

.include "../../devel/SDL/buildlink3.mk"

BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
3 changes: 2 additions & 1 deletion multimedia/libmpeg2/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.10 2006/10/17 16:18:14 drochner Exp $
$NetBSD: distinfo,v 1.11 2007/02/22 17:43:51 drochner Exp $

SHA1 (mpeg2dec-0.4.1.tar.gz) = 80be8b16dff4caa4253470d1a3b563fdc0177fcb
RMD160 (mpeg2dec-0.4.1.tar.gz) = 5377ae45abdd37fabcea6d3d0a9d74e493b84483
Size (mpeg2dec-0.4.1.tar.gz) = 494539 bytes
SHA1 (patch-aa) = b9dbc7b0f852851c8fecf1eae07cf762c2eec735
SHA1 (patch-ab) = 1bd094ba6ba8a480f81945f56d5aaf597d97d2ae
13 changes: 13 additions & 0 deletions multimedia/libmpeg2/patches/patch-ab
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.4 2007/02/22 17:43:51 drochner Exp $

--- Makefile.in.orig 2007-02-09 22:51:51.000000000 +0100
+++ Makefile.in
@@ -188,7 +188,7 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-SUBDIRS = autotools include libmpeg2 libvo doc src vc++ test
+SUBDIRS = autotools include libmpeg2 #libvo doc src vc++ test
EXTRA_DIST = bootstrap CodingStyle
all: all-recursive

0 comments on commit 10a728c

Please sign in to comment.