From 76b5704f46d3e59e41ed5883d23dd0d4aa818f4c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 24 May 2010 22:02:28 +0200 Subject: updates Signed-off-by: Florian Pritz --- smplayer-svn/PKGBUILD | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'smplayer-svn') diff --git a/smplayer-svn/PKGBUILD b/smplayer-svn/PKGBUILD index 9a7eed3..83691d4 100644 --- a/smplayer-svn/PKGBUILD +++ b/smplayer-svn/PKGBUILD @@ -3,19 +3,18 @@ # Fixes by: WAntilles pkgname=smplayer-svn -pkgver=3412 +pkgver=3537 pkgrel=1 -_latestver=0.6.8 +_latestver=0.6.9 pkgdesc="A complete front-end for MPlayer" arch=('i686' 'x86_64') url="http://smplayer.sourceforge.net/" license=('GPL') -depends=('qt>=4.5.2' 'mplayer>=29411') +depends=('qt>=4.6.2' 'mplayer>=30526') makedepends=('subversion') conflicts=('smplayer') provides=("smplayer=${_latestver}") -source=() -md5sums=() +#source=("smplayer-build-fix.patch") _svnmod="smplayer" _svntrunk=https://smplayer.svn.sourceforge.net/svnroot/smplayer/smplayer/trunk/ @@ -41,7 +40,19 @@ build() cp -r $_svnmod $_svnmod-build cd $_svnmod-build + + # remove broken translation + sed -i "s|translations/smplayer_gl.ts|#translations/smplayer_gl.ts|" src/smplayer.pro || return 1 + sed -i 's/PREFIX=.*/PREFIX=\/usr/' Makefile || return 1 - make || return 1 - make PREFIX=/usr DESTDIR="${pkgdir}/" install -} \ No newline at end of file + make PREFIX=/usr || return 1 + make DESTDIR=${pkgdir} PREFIX=/usr KDE_PREFIX=/usr install || return 1 + + install -dm755 ${pkgdir}/usr/share/pixmaps + ln -s ${pkgdir}/usr/share/icons/hicolor/64x64/apps/smplayer.png ${pkgdir}/usr/share/pixmaps/ + + sed -i 's|Exec=smplayer %U|Exec=smplayer %F|' ${pkgdir}/usr/share/applications/smplayer.desktop || return 1 + sed -i 's|Exec=smplayer -add-to-playlist %U|Exec=smplayer -add-to-playlist %F|' ${pkgdir}/usr/share/applications/smplayer_enqueue.desktop || return 1 + +} +md5sums=('7da2927266bc73a69a4dac0fae54c750') -- cgit v1.2.3-24-g4f1b