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.
42 lines
1.4 KiB
42 lines
1.4 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../mythtv/mythtv.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 |
|
|
|
runconf=0 |
|
hook_add preconf 3 "fix_mythtv_prefix" |
|
|
|
# Skip mythuitest, does complain about missing QGLWidget |
|
hook_add preconf 4 "sed -i -e 's,mythuitest,,' ./programs/programs.pro" |
|
|
|
hook_add preconf 5 "mythtv_config" |
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-I$root/$prefix/include -L$root/$prefix/lib" |
|
|
|
# X11 |
|
pkginstalled xorg-server || var_append confopt ' ' "--disable-xv --disable-x11" |
|
pkginstalled libxvmc && var_append confopt ' ' "--enable-xvmc" |
|
|
|
# DVB Support |
|
var_append confopt ' ' "--enable-dvb --enable-dvb-eit --dvb-path=$root/usr/include" |
|
|
|
# Lirc Support |
|
pkginstalled lirc && var_append confopt ' ' "--enable-lirc" |
|
|
|
# controlled by T2 itself |
|
var_append confopt ' ' "--disable-ccache --disable-distcc" |
|
|
|
hook_add premake 5 "qmake myth*.pro" |
|
hook_add premake 8 "make qmake" |
|
hook_add postmake 5 "cp -av database configfiles contrib $root/$datadir"
|
|
|