Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=223a57f91034f71e28e560f1efdeb4fa18176ca4

commit 223a57f91034f71e28e560f1efdeb4fa18176ca4
Author: Marius Cirsta <mcir...@frugalware.org>
Date:   Fri Apr 29 16:33:57 2016 +0300

Revert "okular-15.08.beta.df0c412.g445b9f3-1-x86_64"

* I want this back, my package, don't care about anyone

diff --git a/source/kde5-extra/okular/FrugalBuild 
b/source/kde5-extra/okular/FrugalBuild
new file mode 100644
index 0000000..d04e33a
--- /dev/null
+++ b/source/kde5-extra/okular/FrugalBuild
@@ -0,0 +1,35 @@
+# Compiling Time: 0.97 SBU
+# Maintainer: Marius Cirsta <mcir...@frugalware.org>
+
+pkgname=okular
+pkgver=15.08.beta.df0c412.g445b9f3
+pkgrel=1
+pkgdesc="KDE universal document viewer."
+groups=('kde5-extra')
+archs=('i686' 'x86_64')
+_F_scm_type="git"
+_F_scm_url="git://anongit.kde.org/okular"
+_F_scm_tag="frameworks"
+_F_kde_project="applications"
+Finclude kf5 scm
+depends=('qt5-svg' 'ebook-tools>=0.2.2-3' 'chmlib>=0.40' 'libspectre>=0.2.6' \
+       'poppler-qt5>=0.42.0-1' 'djvulibre>=3.5.24' 'qca-qt5' \
+       "kdelibs4support>=$_F_kf5_full" "kjs>=$_F_kf5_full" 
"threadweaver>=$_F_kf5_full" "khtml>=$_F_kf5_full" \
+       "libkexiv2>=$_F_kdever_apps" "kpty>=$_F_kf5_full" 
"attica>=$_F_kf5_full" "kactivities5>=$_F_kf5_full")
+unset source
+source+=(no-mobile-stuff.patch)
+#TODO: add Qt5TextToSpeech and QMobipocket
+
+replaces=('mobipocket')
+conflicts=("${replaces[@]}")
+
+options+=('force')
+
+build()
+{
+       Funpack_scm
+        KDE_build
+       Frm usr/share/applications/org.kde.mobile.okular*
+}
+
+# optimization OK
diff --git a/source/kde5-extra/okular/no-mobile-stuff.patch 
b/source/kde5-extra/okular/no-mobile-stuff.patch
new file mode 100644
index 0000000..ee8d7a1
--- /dev/null
+++ b/source/kde5-extra/okular/no-mobile-stuff.patch
@@ -0,0 +1,12 @@
+diff -Naur okular/CMakeLists.txt okular-no-mobile/CMakeLists.txt
+--- okular/CMakeLists.txt      2016-04-13 22:50:40.574414291 +0200
++++ okular-no-mobile/CMakeLists.txt    2016-04-13 22:55:15.312944749 +0200
+@@ -69,7 +69,7 @@
+
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${PHONON_INCLUDES} 
core/synctex ${ZLIB_INCLUDE_DIR} ${CMAKE_BINARY_DIR}/core)
+
+-add_subdirectory( mobile )
++
+ option(BUILD_COVERAGE "Build the project with gcov support" OFF)
+
+ if(BUILD_COVERAGE)
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to