Skip to content

Commit 092c5ea

Browse files
Trico-Everfirecraftablescience
authored andcommitted
vtfpp: add APNG read support
1 parent d639ecf commit 092c5ea

File tree

7 files changed

+652
-2
lines changed

7 files changed

+652
-2
lines changed

THIRDPARTY_LEGAL_NOTICES.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,31 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
357357
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
358358

359359

360+
--------------- uc_apng_loader ---------------
361+
362+
MIT License
363+
364+
Copyright (c) 2017
365+
366+
Permission is hereby granted, free of charge, to any person obtaining a copy
367+
of this software and associated documentation files (the "Software"), to deal
368+
in the Software without restriction, including without limitation the rights
369+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
370+
copies of the Software, and to permit persons to whom the Software is
371+
furnished to do so, subject to the following conditions:
372+
373+
The above copyright notice and this permission notice shall be included in all
374+
copies or substantial portions of the Software.
375+
376+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
377+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
378+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
379+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
380+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
381+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
382+
SOFTWARE.
383+
384+
360385
--------------- zlib ---------------
361386

362387
(C) 1995-2024 Jean-loup Gailly and Mark Adler

ext/_ext.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/stb")
9292
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/tinyexr")
9393

9494

95+
# uc_apng_loader
96+
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/uc_apng_loader")
97+
98+
9599
# tbb
96100
function(sourcepp_add_tbb TARGET)
97101
if(SOURCEPP_BUILD_WITH_TBB)

ext/uc_apng_loader/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cmake_minimum_required(VERSION 3.16)
2+
project(sourcepp_uc_apng_loader)
3+
set(CMAKE_CXX_STANDARD 20)
4+
5+
# Create library
6+
add_library(${PROJECT_NAME} INTERFACE
7+
"${CMAKE_CURRENT_SOURCE_DIR}/include/uc_apng_loader.h")
8+
9+
target_include_directories(${PROJECT_NAME} INTERFACE
10+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
11+
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)

ext/uc_apng_loader/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)