1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/snes9x/snes9x.conf
3 # Copyright (C) 2022 - 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11`"
14 if pkginstalled gtkmm3; then
15 hook_add preconf 5 "cd gtk"
16 pkginstalled portaudio || var_append cmakeopt ' ' -DUSE_PORTAUDIO=OFF
17 var_append GCC_WRAPPER_APPEND ' ' "-L$root$(pkgprefix libdir gtkmm3)"
19 hook_add preconf 5 "cd unix"
20 var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11`"
22 hook_add postmake 5 "install snes9x $root$bindir/"