Date: Saturday, February 25, 2017 @ 12:06:49
  Author: arojas
Revision: 213766

qscintilla 2.10 rebuild

Added:
  sqliteman/trunk/sqliteman-qscintilla-2.10.patch
Modified:
  sqliteman/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   13 +++++++++----
 sqliteman-qscintilla-2.10.patch |   11 +++++++++++
 2 files changed, 20 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-02-25 11:56:50 UTC (rev 213765)
+++ PKGBUILD    2017-02-25 12:06:49 UTC (rev 213766)
@@ -6,18 +6,23 @@
 
 pkgname=sqliteman
 pkgver=1.2.2
-pkgrel=10
+pkgrel=11
 pkgdesc="The best developer's and/or admin's GUI tool for Sqlite3 in the world"
 arch=('i686' 'x86_64')
 url="http://sqliteman.com/";
 license=('GPL')
-depends=('qscintilla')
+depends=('qscintilla-qt4')
 makedepends=('cmake')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz";)
-md5sums=('5ecdf710e23606e1b924f740ea69306d')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz";
 sqliteman-qscintilla-2.10.patch)
+md5sums=('5ecdf710e23606e1b924f740ea69306d'
+         '9922a1f404f2381564abfb9096973911')
 
 prepare() {
   mkdir build
+
+# Fix qscintilla 2.10 detection
+  cd $pkgname-$pkgver
+  patch -p1 -i ../sqliteman-qscintilla-2.10.patch
 }
 
 build() {

Added: sqliteman-qscintilla-2.10.patch
===================================================================
--- sqliteman-qscintilla-2.10.patch                             (rev 0)
+++ sqliteman-qscintilla-2.10.patch     2017-02-25 12:06:49 UTC (rev 213766)
@@ -0,0 +1,11 @@
+--- sqliteman-1.2.2/cmake/modules/FindQScintilla.cmake.orig    2017-02-25 
12:02:29.500716404 +0000
++++ sqliteman-1.2.2/cmake/modules/FindQScintilla.cmake 2017-02-25 
12:02:55.167341296 +0000
+@@ -21,7 +21,7 @@
+     "${QT_INCLUDE_DIR}/Qsci" /usr/include /usr/include/Qsci
+     )
+ 
+-    SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2)
++    SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2 
qscintilla2_qt4 libqscintilla2_qt4)
+     FIND_LIBRARY(QSCINTILLA_LIBRARY
+         NAMES ${QSCINTILLA_NAMES}
+         PATHS ${QT_LIBRARY_DIR}

Reply via email to