summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-31 18:10:41 +0900
committerMichele Calgaro <[email protected]>2024-05-31 18:10:41 +0900
commit4b16b185fb0f711358b06f38fa6f4861c574a410 (patch)
treefa9b7e7e9e5bb56c38b0aef43af94ce949e338ff
parente58b237d5186a0955d72c2bdc50d27a043fa4ace (diff)
downloadtde-ebook-reader-4b16b185fb0f711358b06f38fa6f4861c574a410.tar.gz
tde-ebook-reader-4b16b185fb0f711358b06f38fa6f4861c574a410.zip
Add libzltext-data-tqt package
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--debian/libzlcore-data-tqt.install7
-rw-r--r--debian/libzltext-data-tqt.install2
-rw-r--r--zlibrary/CMakeLists.txt2
-rw-r--r--zlibrary/text/CMakeLists.txt13
4 files changed, 21 insertions, 3 deletions
diff --git a/debian/libzlcore-data-tqt.install b/debian/libzlcore-data-tqt.install
index 01ddbe6..322cc73 100644
--- a/debian/libzlcore-data-tqt.install
+++ b/debian/libzlcore-data-tqt.install
@@ -1 +1,6 @@
-/usr/share/zlibrary-tqt
+/usr/share/zlibrary-tqt/keynames.desktop-tqt.xml
+/usr/share/zlibrary-tqt/languagePatterns.zip
+/usr/share/zlibrary-tqt/unicode.xml.gz
+/usr/share/zlibrary-tqt/default/
+/usr/share/zlibrary-tqt/encodings/
+/usr/share/zlibrary-tqt/resources/
diff --git a/debian/libzltext-data-tqt.install b/debian/libzltext-data-tqt.install
index b4c24af..55acf8e 100644
--- a/debian/libzltext-data-tqt.install
+++ b/debian/libzltext-data-tqt.install
@@ -1 +1 @@
-#usr/share/zlibrary
+/usr/share/zlibrary-tqt/hyphenationPatterns.zip
diff --git a/zlibrary/CMakeLists.txt b/zlibrary/CMakeLists.txt
index 9b7ecf8..d4cba6c 100644
--- a/zlibrary/CMakeLists.txt
+++ b/zlibrary/CMakeLists.txt
@@ -19,4 +19,4 @@ _tde_internal_setup_path(
##### subfolders
add_subdirectory( core )
-#add_subdirectory( text )
+add_subdirectory( text )
diff --git a/zlibrary/text/CMakeLists.txt b/zlibrary/text/CMakeLists.txt
new file mode 100644
index 0000000..288141b
--- /dev/null
+++ b/zlibrary/text/CMakeLists.txt
@@ -0,0 +1,13 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/include
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/zlibrary/core/include
+ ${CMAKE_BINARY_DIR}
+)
+
+##### install data files
+
+install(
+ FILES data/hyphenationPatterns.zip
+ DESTINATION ${ZL_SHARE_INSTALL_PREFIX}
+)