Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a49e35e2562985b16c42e8872bafd9b0145471dd
commit a49e35e2562985b16c42e8872bafd9b0145471dd Author: Slown <[email protected]> Date: Sun Mar 11 11:54:21 2012 +0100 musescore-1.1-1-i686 * new package diff --git a/source/xapps-extra/musescore/FrugalBuild b/source/xapps-extra/musescore/FrugalBuild new file mode 100644 index 0000000..f5a5574 --- /dev/null +++ b/source/xapps-extra/musescore/FrugalBuild @@ -0,0 +1,27 @@ +# Compiling Time: 2.25 SBU +# Maintainer: Slown <[email protected]> + +pkgname=musescore +pkgver=1.1 +pkgrel=1 +pkgdesc="A music score editor written in Qt" +url="http://www.musescore.org/en" +depends=('qt4' 'libsndfile') +makedepends=('cmake') +groups=('xapps-extra') +archs=('i686' 'x86_64') +_F_sourceforge_name="mscore" +_F_sourceforge_dirname="mscore" +_F_sourceforge_ext=".tar.bz2" +Finclude sourceforge +source=($source fix-casting.patch) +sha1sums=('a4e3963b995bbadf0f9a9ecdb6134d58414fd6cc' \ + 'e8f9e77a9a13116193189e76275a6e3ce5b707d4') + +build() { + Fcd + Fpatchall + make clean || Fdie + make PREFIX=/usr release || Fdie + make DESTDIR=$Fdestdir install || Fdie +} diff --git a/source/xapps-extra/musescore/fix-casting.patch b/source/xapps-extra/musescore/fix-casting.patch new file mode 100644 index 0000000..2675cf6 --- /dev/null +++ b/source/xapps-extra/musescore/fix-casting.patch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 22-fix-casting.dpatch by <[email protected]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a casting error + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' musescore-1.1~/mscore/mscore/exportxml.cpp musescore-1.1/mscore/mscore/exportxml.cpp +--- musescore-1.1~/mscore/mscore/exportxml.cpp 2011-07-27 14:32:43.000000000 +0100 ++++ musescore-1.1/mscore/mscore/exportxml.cpp 2011-08-12 17:00:27.808351229 +0100 +@@ -2363,7 +2363,7 @@ + el->userOff().y()); + */ + if (el->type() == HAIRPIN || el->type() == OTTAVA || el->type() == TEXTLINE) { +- SLine* sl = static_cast<const SLine*>(el); ++ SLine* sl = static_cast<SLine*>(el); + // printf("slin segsz=%d", sl->lineSegments().size()); + if (sl->lineSegments().size() > 0) { + LineSegment* seg = sl->lineSegments().at(0); + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
