plume-creator: rebuild for quazip-1.4_1, orphan
maintainer hasn't contributed in 6 years
This commit is contained in:
parent
0d174282d4
commit
645b858894
|
@ -1,38 +1,37 @@
|
|||
# Template file for 'plume-creator'
|
||||
pkgname=plume-creator
|
||||
version=0.66+dfsg1pl3.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=qmake
|
||||
configure_args="plume-creator-all.pro"
|
||||
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
|
||||
makedepends="qt5-devel qt5-declarative-devel qt5-tools-devel
|
||||
qt5-quickcontrols2-devel qt5-multimedia-devel qt5-svg-devel
|
||||
hunspell-devel libzip-devel quazip-devel"
|
||||
short_desc="An open-source tool for novelists"
|
||||
maintainer="VargMon <VargMon98@gmail.com>"
|
||||
short_desc="Open-source tool for novelists"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="http://plume-creator.eu/"
|
||||
configure_args="plume-creator-all.pro"
|
||||
distfiles="
|
||||
${DEBIAN_SITE}/main/p/plume-creator/${pkgname}_${version%pl*}.orig.tar.xz
|
||||
homepage="https://packages.debian.org/sid/source/plume-creator"
|
||||
distfiles="${DEBIAN_SITE}/main/p/plume-creator/${pkgname}_${version%pl*}.orig.tar.xz
|
||||
${DEBIAN_SITE}/main/p/plume-creator/${pkgname}_${version/pl/-}.debian.tar.bz2"
|
||||
checksum="
|
||||
f88f9524184bcf60dae855d6ad37899aefa39de0edd56098e93ce3b97b679e0c
|
||||
checksum="f88f9524184bcf60dae855d6ad37899aefa39de0edd56098e93ce3b97b679e0c
|
||||
e3c5421ca91bf823843bcb6c08be32cec7ddd9b6f069a4ebbe2085fcc5aeea00"
|
||||
|
||||
skip_extraction="${pkgname}_${version/pl/-}.debian.tar.bz2"
|
||||
|
||||
post_extract() {
|
||||
pre_patch() {
|
||||
local p
|
||||
TAR=$(command -v bsdtar || command -v tar)
|
||||
$TAR -xf $XBPS_SRCDISTDIR/$pkgname-$version/$skip_extraction
|
||||
for p in $(cat debian/patches/series); do
|
||||
patch -Np1 -F0 -i debian/patches/$p || return 1
|
||||
done
|
||||
sed -i 's|quazip/JlCompress|quazip5/JlCompress|g' src/fileupdater.cpp src/hub.h \
|
||||
vsed -i 's|quazip5/JlCompress|QuaZip-Qt5-1.4/quazip/JlCompress|g' src/fileupdater.cpp src/hub.h \
|
||||
src/themes.cpp src/importuserdictdialog.cpp src/zipper/zipper.cpp \
|
||||
src/common/utils.h
|
||||
vsed -i 's|-lquazip5|-lquazip1-qt5|' plume-creator.pro
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
[ -d ${wrksrc}/externals/quazip ] || ln -s -T ${XBPS_CROSS_BASE}/usr/include/quazip5 ${wrksrc}/externals/quazip
|
||||
[ -d ${wrksrc}/externals/quazip ] || \
|
||||
ln -s -T ${XBPS_CROSS_BASE}/usr/include/QuaZip-Qt5-1.4/quazip ${wrksrc}/externals/quazip
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue