mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-27 12:32:14 +08:00
Temporal fix for docs
This commit is contained in:
parent
0f7943a1d8
commit
0cf01672bc
@ -42,11 +42,13 @@ makedepends=('pkgconfig' 'cmake' 'automoc4' "kdelibs>=${_kdever}" "kdebase-runti
|
||||
'poppler-qt' 'libspectre' 'sane' 'chmlib' 'libdjvu' 'lcms' 'qca'
|
||||
'qimageblitz' 'ebook-tools' 'libxxf86vm')
|
||||
|
||||
source=("$_mirror/${_origname}-$_kdever.tar.bz2")
|
||||
|
||||
md5sums=(`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
source=("$_mirror/${_origname}-$_kdever.tar.bz2"
|
||||
fix-kruler-docs.diff
|
||||
fix-ksnapshot-docs.diff)
|
||||
|
||||
md5sums=("`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`"
|
||||
'5a00ce9c73737ee109d7a0c9fb0b43db'
|
||||
'4f24ab2693b24214ed68eff2ef80a5b2')
|
||||
|
||||
#
|
||||
# build function
|
||||
@ -54,7 +56,9 @@ md5sums=(`grep ${_origname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
build()
|
||||
{
|
||||
cd ${srcdir}/${_origname}-${pkgver}
|
||||
# msg "apply patches ..."
|
||||
msg "apply patches ..."
|
||||
patch -Np2 -i ${startdir}/fix-kruler-docs.diff
|
||||
patch -Np2 -i ${startdir}/fix-ksnapshot-docs.diff
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
@ -148,6 +152,11 @@ package_kdegraphics-kamera()
|
||||
cd ${srcdir}/${_origname}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
|
||||
# Fix duplicated docs in 4.6.2
|
||||
sudo rm -rf ${pkgdir}/usr/share/doc/kde/html/en/kcontrol/kamera/common
|
||||
sudo rm -rf ${pkgdir}/usr/share/doc/kde/html/en/kcontrol/kamera/index.cache.bz2
|
||||
sudo rm -rf ${pkgdir}/usr/share/doc/kde/html/en/kcontrol/kamera/index.docbook
|
||||
}
|
||||
|
||||
package_kdegraphics-kcolorchooser()
|
||||
|
9
kdegraphics/fix-kruler-docs.diff
Normal file
9
kdegraphics/fix-kruler-docs.diff
Normal file
@ -0,0 +1,9 @@
|
||||
--- src/kdegraphics-4.6.2/kruler/doc/CMakeLists.txt 2011-04-01 21:38:16.000000000 +0200
|
||||
+++ Desenvolupament/CMakeLists.txt 2011-04-03 02:00:59.073215641 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
########### install files ###############
|
||||
#
|
||||
#
|
||||
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en)
|
||||
+kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kruler)
|
||||
\ No newline at end of file
|
9
kdegraphics/fix-ksnapshot-docs.diff
Normal file
9
kdegraphics/fix-ksnapshot-docs.diff
Normal file
@ -0,0 +1,9 @@
|
||||
--- src/kdegraphics-4.6.2/ksnapshot/doc/CMakeLists.txt 2011-04-01 21:38:15.000000000 +0200
|
||||
+++ Desenvolupament/CMakeLists.txt 2011-04-03 02:03:59.134359450 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
########### install files ###############
|
||||
#
|
||||
#
|
||||
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en)
|
||||
+kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR ksnapshot)
|
||||
\ No newline at end of file
|
Loading…
Reference in New Issue
Block a user