tech-multimedia archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fuppes for headless hosts



Fuppes pulls in mpeg4ip which needs SDL and that requires X11, but this is not
a requirement to run it (I'm not even sure what it adds to the package), so I
would propose this patch to options.mk to let you run it headless. This is
against pkgsrc-2011Q1.

--- Makefile.orig       2011-06-22 14:09:51.000000000 +0300
+++ Makefile    2011-06-22 14:02:56.000000000 +0300
@@ -38,5 +38,4 @@
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../graphics/simage/buildlink3.mk"
 .include "../../multimedia/ffmpeg/buildlink3.mk"
-.include "../../multimedia/mpeg4ip/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

--- options.mk.orig     2011-06-22 02:02:19.000000000 +0300
+++ options.mk  2011-06-21 17:22:36.000000000 +0300
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.2 2010/09/27 11:15:23 obache Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.fuppes
-PKG_SUPPORTED_OPTIONS= mysql
+PKG_SUPPORTED_OPTIONS= mysql mpeg4ip
 
 .include "../../mk/bsd.options.mk"
 
@@ -13,3 +13,7 @@
 .else
 CONFIGURE_ENV+=                ac_cv_path_MYSQL_CONFIG=no
 .endif
+
+.if !empty(PKG_OPTIONS:Mmpeg4ip)
+.include "../../multimedia/mpeg4ip/buildlink3.mk"
+.endif


-- 
Staffan Thomén - ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8

Attachment: pgp_IdhpvO95i.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index