Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=de7f6b90b24538eb93a406c88bb4e49156d79160
commit de7f6b90b24538eb93a406c88bb4e49156d79160 Author: Melko <[email protected]> Date: Sat Dec 19 17:14:28 2015 +0100 librecad-2.0.8-1-x86_64 * version bump * switch to qt5 diff --git a/source/xapps-extra/librecad/FrugalBuild b/source/xapps-extra/librecad/FrugalBuild index 956590c..84b9884 100644 --- a/source/xapps-extra/librecad/FrugalBuild +++ b/source/xapps-extra/librecad/FrugalBuild @@ -1,27 +1,31 @@ # Compiling Time: 3.35 SBU # Maintainer: Melko <[email protected]> -options+=('asneeded') - pkgname=librecad -pkgver=1.0.3 +pkgver=2.0.8 pkgrel=1 pkgdesc="Free Open Source personal CAD application." url="http://librecad.org" -depends=('libqthelp' 'libqt3support' 'bzip2' 'libuuid' 'muparser') -makedepends=('qt4-assistant' 'qt4-linguist') +depends=('muparser' 'qt5-svg' 'qt5-tools') +makedepends=('boost') groups=('xapps-extra') archs=('i686' 'x86_64') -up2date="Fwcat https://github.com/LibreCAD/LibreCAD/tags | sed -n 's/.*v\(.*\).zip.*/\1/p'" -source=(https://github.com/LibreCAD/LibreCAD/tarball/v$pkgver/$pkgname-$pkgver.tar.gz) -sha1sums=('f0b082e37d2b9f9e6caea227cb0e3191022fa84c') +_F_github_name="LibreCAD" +_F_github_tag_v="y" +Finclude github +source=(https://github.com/LibreCAD/LibreCAD/archive/$pkgver.tar.gz + qt5.patch) +sha1sums=('4aa4f6edfb547abb4fdc9bd452a39ed5d9f8ee05' \ + 'da73318d46dc59c2b0d39c9e010e379993631f12') build() { - Fcd LibreCAD-LibreCAD-c1f2eb6 - qmake || Fdie + Fcd LibreCAD-$pkgver + Fpatchall + qmake-qt5 || Fdie Fmake Fexerel unix/$pkgname usr/bin/$pkgname - Ficonrel res/main/$pkgname.png + Fexerel unix/ttf2lff usr/bin/ttf2lff + Ficonrel librecad/res/main/$pkgname.png Ffilerel desktop/$pkgname.desktop usr/share/applications/$pkgname.desktop Fmkdir usr/share Fcprel unix/resources usr/share/$pkgname diff --git a/source/xapps-extra/librecad/qt5.patch b/source/xapps-extra/librecad/qt5.patch new file mode 100644 index 0000000..b1f1a03 --- /dev/null +++ b/source/xapps-extra/librecad/qt5.patch @@ -0,0 +1,18 @@ +--- scripts/postprocess-unix.sh.old 2015-12-19 17:04:54.770863096 +0100 ++++ scripts/postprocess-unix.sh 2015-12-19 17:05:49.539823949 +0100 +@@ -9,13 +9,13 @@ + TSDIRPI="${PIDIR}/ts" + SPTDIR="${LCDIR}/support" + DOCDIR="${SPTDIR}/doc" +-LRELEASE="lrelease" ++LRELEASE="lrelease-qt5" + + [ "$( which lrelease-qt4 )" ] && LRELEASE="lrelease-qt4" + + # Generate Help Files + cd "${DOCDIR}" +-qcollectiongenerator LibreCADdoc.qhcp ++qcollectiongenerator-qt5 LibreCADdoc.qhcp + + cd "${THISDIR}" + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
