|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../gnash/gnash.conf
|
|
|
|
# Copyright (C) 2006 The T2 SDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
var_append confopt " " "--enable-pthreads"
|
|
|
|
|
|
|
|
# xml libs
|
|
|
|
pkginstalled libxml && var_append extraconfopt " " "--with-libxml-libraries=`pkgprefix libdir libxml`"
|
|
|
|
pkginstalled libxml && var_append extraconfopt " " "--with-libxml-includes=`pkgprefix includedir libxml`/libxml2"
|
|
|
|
var_append makeopt " " "LIBXML_LIBS='-lxml2 -lz -lm'"
|
|
|
|
|
|
|
|
# other plugins
|
|
|
|
pkginstalled konqueror && var_append extraconfopt ' ' "--enable-klash"
|
|
|
|
pkginstalled gtk+ && var_append extraconfopt ' ' "--enable-gtkplug"
|
|
|
|
|
|
|
|
# FIXME: more options to consider maybe:
|
|
|
|
# --enable-sdk-install
|
|
|
|
|
|
|
|
# install hint for mozplugger setup
|
|
|
|
gnash_pm() {
|
|
|
|
mkdir -p $root/$docdir/gnash/mozplugger/
|
|
|
|
cp -av plugin/mozplugger/* $root/$docdir/gnash/mozplugger/
|
|
|
|
}
|
|
|
|
hook_add postmake 5 "gnash_pm"
|
|
|
|
|