File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Copyright: None
99License: CC0-1.0
1010
1111# Project file
12- Files: *.pro *.pri
12+ Files: *CMakeLists.txt *.pc.in
1313Copyright: None
1414License: CC0-1.0
1515
Original file line number Diff line number Diff line change @@ -9,8 +9,19 @@ pkgdesc='A document parser library ported from document2html'
99arch=(' x86_64' ' aarch64' )
1010url=" https://github.com/linuxdeepin/docparser"
1111license=(' GPL3' )
12- depends=(' poppler' ' libzip' ' pugixml' ' tinyxml2' )
13- makedepends=(' qt5-tools' )
12+ depends=(
13+ ' poppler'
14+ ' libzip'
15+ ' pugixml'
16+ ' freetype2'
17+ ' libxml2'
18+ ' util-linux-libs' # for uuid
19+ ' tinyxml2'
20+ )
21+ makedepends=(
22+ ' cmake'
23+ ' pkg-config'
24+ )
1425conflicts=(' docparser' )
1526provides=(' docparser' )
1627groups=(' deepin-git' )
@@ -19,12 +30,14 @@ source=("${sourcetars[@]}")
1930b2sums=(' SKIP' )
2031
2132build () {
22- cd $sourcedir
23- qmake-qt5 PREFIX=/usr
24- make
33+ cd $sourcedir
34+ cmake -B build \
35+ -DCMAKE_INSTALL_PREFIX=/usr \
36+ -DCMAKE_BUILD_TYPE=None
37+ cmake --build build
2538}
2639
2740package () {
28- cd $sourcedir
29- make INSTALL_ROOT =" $pkgdir " install
41+ cd $sourcedir
42+ DESTDIR =" $pkgdir " cmake -- install build
3043}
Original file line number Diff line number Diff line change 1+ docparser (1.0.13) unstable; urgency=medium
2+
3+ * Remove Qt
4+ * Use CMake
5+ * Use C++17
6+
7+ -- Zhang Sheng <zhangsheng@uniontech.com> Fri, 27 Dec 2024 14:06:31 +0800
8+
19docparser (1.0.12) unstable; urgency=medium
210
311 * update to 1.0.12
You can’t perform that action at this time.
0 commit comments