diff options
author | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
commit | bf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch) | |
tree | f9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /community/musescore | |
parent | 1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff) |
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'community/musescore')
-rw-r--r-- | community/musescore/PKGBUILD | 25 | ||||
-rw-r--r-- | community/musescore/musescore.install | 11 |
2 files changed, 23 insertions, 13 deletions
diff --git a/community/musescore/PKGBUILD b/community/musescore/PKGBUILD index 294105fbc..cb55bf520 100644 --- a/community/musescore/PKGBUILD +++ b/community/musescore/PKGBUILD @@ -3,19 +3,19 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de pkgname=musescore -pkgver=1.0 +pkgver=1.1 pkgrel=1 pkgdesc="A music score editor written in Qt4" arch=('i686' 'x86_64') url="http://www.musescore.org/en/" license=('GPL') -depends=('qt>=4.5.0' 'openssl' 'libsndfile' 'qtscriptgenerator') -makedepends=('cmake' 'doxygen') -optdepends=('portaudio' 'jack-audio-connection-kit') -conflicts=('musescore-svn' 'mscore') -source=(http://downloads.sourceforge.net/project/mscore/mscore/MuseScore-${pkgver}/MuseScore-${pkgver}.tar.bz2 'paths.patch') -md5sums=('475c7c5abdaa80318b207884475de9ac' +depends=('qt>=4.5.0' 'libsndfile') +makedepends=('cmake' 'doxygen' 'qtscriptgenerator') +optdepends=('portaudio' 'jack') +source=(http://sourceforge.net/projects/mscore/files/mscore/MuseScore-1.1/mscore-1.1.tar.bz2 'paths.patch') +md5sums=('68b43af92093a16f7f074c0eb560a867' 'e5011154d217f633f21b4bb70e589510') +install=musescore.install build() { cd $srcdir/mscore-${pkgver} @@ -24,14 +24,13 @@ build() { patch -p1 < $srcdir/paths.patch sed -i 's+${Mscore_INSTALL_NAME}man+doc/mscore+' \ "$srcdir"/mscore-$pkgver/mscore/manual/CMakeLists.txt - make PREFIX=/usr release + sed -i 's+BUILD_SCRIPTGEN TRUE+BUILD_SCRIPTGEN FALSE+' \ + "$srcdir"/mscore-$pkgver/mscore/CMakeLists.txt + sed -i 's+static_cast<const+static_cast<+' \ + $srcdir/mscore-$pkgver/mscore/mscore/exportxml.cpp + make PREFIX=/usr release } package() { cd $srcdir/mscore-${pkgver} make DESTDIR="$pkgdir" install - # avoid file conflict with "qtscriptgenerator" - for _i in gui network core uitools xml - do - rm $pkgdir/usr/lib/qt/plugins/script/libqtscript_${_i}.so - done } diff --git a/community/musescore/musescore.install b/community/musescore/musescore.install new file mode 100644 index 000000000..6d2e3727f --- /dev/null +++ b/community/musescore/musescore.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +} |