summaryrefslogtreecommitdiffstats
path: root/smplayer-svn
diff options
context:
space:
mode:
Diffstat (limited to 'smplayer-svn')
-rw-r--r--smplayer-svn/PKGBUILD27
1 files changed, 19 insertions, 8 deletions
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 <wantilles@adslgr.com>
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')