mirror of
https://github.com/rxrbln/t2sde.git
synced 2025-05-08 20:21:59 +08:00
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
# --- T2-COPYRIGHT-BEGIN ---
|
|
# t2/package/*/clanlib/clanlib.conf
|
|
# Copyright (C) 2004 - 2025 The T2 SDE Project
|
|
# Copyright (C) 1998 - 2003 ROCK Linux Project
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# --- T2-COPYRIGHT-END ---
|
|
|
|
[ "$SDECFG_PKG_CLANLIB_X11" == "1" ] &&
|
|
var_append confopt ' ' "--enable-x11"
|
|
[ "$SDECFG_PKG_CLANLIB_DIRECTFB" == "1" ] &&
|
|
var_append confopt ' ' "--enable-directfb"
|
|
[ "$SDECFG_PKG_CLANLIB_JOY" == "1" ] &&
|
|
var_append confopt ' ' "--enable-joystick"
|
|
[ "$SDECFG_PKG_CLANLIB_OPENGL" == "1" ] &&
|
|
var_append confopt ' ' "--enable-opengl"
|
|
[ "$SDECFG_PKG_CLANLIB_VIDMODE" == "1" ] &&
|
|
var_append confopt ' ' "--enable-vidmode"
|
|
[ "$SDECFG_PKG_CLANLIB_CLANSOUND" == "1" ] &&
|
|
var_append confopt ' ' "--enable-clansound"
|
|
[ "$SDECFG_PKG_CLANLIB_NET" == "1" ] &&
|
|
var_append confopt ' ' "--enable-network"
|
|
[ "$SDECFG_PKG_CLANLIB_ASM" == "1" ] &&
|
|
var_append confopt ' ' "--enable-asm386"
|
|
[ "$SDECFG_PKG_CLANLIB_GUI" == "1" ] &&
|
|
var_append confopt ' ' "--enable-gui"
|
|
[ "$SDECFG_PKG_CLANLIB_LUA" == "1" ] &&
|
|
var_append confopt ' ' "--enable-lua"
|
|
[ "$SDECFG_PKG_CLANLIB_MIKMOD" == "1" ] &&
|
|
var_append confopt ' ' "--enable-mikmod"
|
|
[ "$SDECFG_PKG_CLANLIB_PNG" == "1" ] &&
|
|
var_append confopt ' ' "--enable-png"
|
|
[ "$SDECFG_PKG_CLANLIB_JPEG" == "1" ] &&
|
|
var_append confopt ' ' "--enable-jpeg"
|
|
[ "$SDECFG_PKG_CLANLIB_SMALLJPEG" == "1" ] &&
|
|
var_append confopt ' ' "--enable-smalljpeg"
|
|
[ "$SDECFG_PKG_CLANLIB_VORBIS" == "1" ] &&
|
|
var_append confopt ' ' "--enable-vorbis"
|
|
[ "$SDECFG_PKG_CLANLIB_TTF" == "1" ] &&
|
|
var_append confopt ' ' "--enable-ttf"
|
|
|
|
libdir=$libdir/$pkg
|