Skip to content

Commit 0d89989

Browse files
committed
chore: update version to 1.0.13
1.0.13 Log: 1.0.13
1 parent 3f3ce04 commit 0d89989

3 files changed

Lines changed: 29 additions & 8 deletions

File tree

.reuse/dep5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Copyright: None
99
License: CC0-1.0
1010

1111
# Project file
12-
Files: *.pro *.pri
12+
Files: *CMakeLists.txt *.pc.in
1313
Copyright: None
1414
License: CC0-1.0
1515

archlinux/PKGBUILD

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,19 @@ pkgdesc='A document parser library ported from document2html'
99
arch=('x86_64' 'aarch64')
1010
url="https://github.com/linuxdeepin/docparser"
1111
license=('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+
)
1425
conflicts=('docparser')
1526
provides=('docparser')
1627
groups=('deepin-git')
@@ -19,12 +30,14 @@ source=("${sourcetars[@]}")
1930
b2sums=('SKIP')
2031

2132
build() {
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

2740
package() {
28-
cd $sourcedir
29-
make INSTALL_ROOT="$pkgdir" install
41+
cd $sourcedir
42+
DESTDIR="$pkgdir" cmake --install build
3043
}

debian/changelog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
docparser (1.0.12) unstable; urgency=medium
210

311
* update to 1.0.12

0 commit comments

Comments
 (0)