summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-12 14:43:23 +0000
commitae0f7bb6570a72f4f758209a00fd719e85fd5227 (patch)
tree97ae5019218968b99f2894114562532ab97bb4da /multimedia
parentc1f29c2cdbfd37ad83c7801866c9b1288f1e446c (diff)
downloadpkgsrc-ae0f7bb6570a72f4f758209a00fd719e85fd5227.tar.gz
First step at reworking Linux binary packages.
Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/RealPlayerGold/Makefile4
-rw-r--r--multimedia/divxplayer/Makefile9
2 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/RealPlayerGold/Makefile b/multimedia/RealPlayerGold/Makefile
index 34cf8e45a9c..d9ba35f04b4 100644
--- a/multimedia/RealPlayerGold/Makefile
+++ b/multimedia/RealPlayerGold/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/10/04 15:28:25 rpaulo Exp $
+# $NetBSD: Makefile,v 1.8 2005/12/12 14:43:26 joerg Exp $
#
DISTNAME= RealPlayer10GOLD
@@ -20,7 +20,7 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
.include "../../emulators/suse_linux/Makefile.application"
-.if ${OPSYS} != "Linux"
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_base>=9.1:../../emulators/suse91_base
DEPENDS+= suse_fontconfig>=9.1:../../emulators/suse91_fontconfig
DEPENDS+= suse_freetype2>=9.1:../../emulators/suse91_freetype2
diff --git a/multimedia/divxplayer/Makefile b/multimedia/divxplayer/Makefile
index 7699705cbad..4e594f95569 100644
--- a/multimedia/divxplayer/Makefile
+++ b/multimedia/divxplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/12/05 20:50:41 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/12 14:43:26 joerg Exp $
DISTNAME= divx-player-installer
PKGNAME= divxplayer-0.2.0
@@ -9,10 +9,14 @@ MAINTAINER= david@silicium.ath.cx
HOMEPAGE= http://www.divx.com/
COMMENT= DivX(TM) Video Player for Linux from DivX.com
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_linux>=7.3:../../emulators/suse_linux
DEPENDS+= suse_x11>=7.3:../../emulators/suse_linux
+.endif
-ONLY_FOR_PLATFORM= NetBSD-*-i386
+ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}/divx-player-installer
CHECK_SHLIBS= NO
@@ -39,5 +43,4 @@ do-install:
${PREFIX}/bin/${BINARY:S/.bin$//}
.include "../../mk/x11.buildlink3.mk"
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"