Skip to content

Commit

Permalink
chore: update version to 1.5.1
Browse files Browse the repository at this point in the history
1.5.1

Log: tag 1.5.1
  • Loading branch information
Johnson-zs committed Jan 6, 2025
1 parent a6d5526 commit f05ac56
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
cmake_minimum_required(VERSION 3.15)

set(VERSION "1.0.0" CACHE STRING "PDF rendering library based on PDFium")

project(deepin-pdfium
VERSION 1.0.0
VERSION ${VERSION}
DESCRIPTION "PDF rendering library based on PDFium"
LANGUAGES CXX C
)
Expand Down Expand Up @@ -57,6 +59,12 @@ add_library(${PROJECT_NAME} SHARED
src/dpdfannot.cpp
)

# 设置库的版本信息和 SOVERSION
set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION "${PROJECT_VERSION}"
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
)

target_include_directories(${PROJECT_NAME}
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
deepin-pdfium (1.5.1) unstable; urgency=medium

* adapt to Qt6

-- Zhang Sheng <[email protected]> Fri, 03 Jan 2025 16:49:00 +0800

deepin-pdfium (1.5.0) unstable; urgency=medium

* adapt to Qt6
Expand Down
2 changes: 1 addition & 1 deletion deepin-pdfium.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Name: @PROJECT_NAME@
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
Requires: Qt6Core Qt6Gui
Libs: -L${libdir} -ldeepinpdfium
Libs: -L${libdir} -ldeepin-pdfium
Cflags: -I${includedir}

0 comments on commit f05ac56

Please sign in to comment.