1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/djv/djv.conf
3 # Copyright (C) 2007 - 2022 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 ---
14 sed -i -e s',$ENV{HOME}/tmp,,' \
15 -i -e s',/usr/bin,/opt/djv/bin,' CMakeLists.txt
16 [[ $libdir = *lib64 ]] && sed -i -e s',/djv/lib,/djv/lib64,' CMakeLists.txt
18 sed -i -e s',int(this),long(this),' bin/djv_view/window_image.cxx \
19 bin/djv_view/window_file.cxx
20 cmake $cmakeopt . # TODO: use generic build infrastructure
22 hook_add preconf 5 djv_prepare