You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.3 KiB
35 lines
1.3 KiB
# --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# T2 SDE: 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. |
|
# --- T2-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" |
|
|
|
|