36 lines
1.1 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mythtv-plugins/mythtv-plugins.conf
# Copyright (C) 2004 - 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 ---
. $base/package/*/*/mythtv-conf.in
pkgprefix -t mythtv
runconf=0
hook_add preconf 3 "fix_mythtv_prefix"
hook_add preconf 5 "mythtv_config"
var_append GCC_WRAPPER_APPEND ' ' "-I$root/$prefix/include -L$root/$prefix/lib"
var_append PREFIX ' ' "$root/$prefix/"
export PREFIX
# Mythbrowser depends on KDE!
pkginstalled arts || var_append confopt ' ' "--disable-mythbrowser"
var_append confopt ' ' "--enable-vcd --enable-exif"
var_append confopt ' ' "--enable-opengl"
var_append confopt ' ' "--disable-festival"
hook_add premake 5 "qmake myth*.pro"
hook_add premake 8 "make qmake"