You are not logged in.
Pages: 1
I still want to use the old smplayer-0.5.2x and not the 0.5.6x.
I am trying to re-package it for the QT package name change.
However I do not have the old PKGBUILD available so I took the one from the 0.5.6x and modified it.
pkgname=smplayer
pkgver=0.5.21
pkgrel=2
pkgdesc="A complete front-end for MPlayer"
arch=('i686' 'x86_64')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt3' 'mplayer')
source=(http://mesh.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
install=(smplayer.install)
md5sums=('e68ecce456c20b0ff6a6bbae56d96e47')
build() {
cd $startdir/src/$pkgname-$pkgver
make PREFIX=/usr || return 1
make PREFIX=$startdir/pkg/usr install
mkdir -p $startdir/pkg/usr/share/pixmaps
ln -s /usr/share/icons/hicolor/64x64/apps/smplayer.png \
$startdir/pkg/usr/share/pixmaps/
}
However it does not build.
It exits with the following error:
/usr/bin/uic preferencesdialogbase.ui -o .ui/ui_preferencesdialogbase.h
uic: File generated with too old version of Qt Designer
File 'preferencesdialogbase.ui' is not valid
How can I build it?
Offline
Are you sure SMPlayer depend on qt3?
I think 0.5.2x was also using qt 4.
Try to change qt3 dependency by qt and build it again.
@+
Shaika-Dzari
http://www.4nakama.net
Offline
Are you sure SMPlayer depend on qt3?
I think 0.5.2x was also using qt 4.Try to change qt3 dependency by qt and build it again.
@+
0.5.2.x was using qt3.
0.5.6.x uses qt4.
Offline
replace
make PREFIX=/usr || return 1
by
make PREFIX=/usr QMAKE=/opt/qt/bin/qmake || return 1
Offline
replace
make PREFIX=/usr || return 1
by
make PREFIX=/usr QMAKE=/opt/qt/bin/qmake || return 1
Thank you very much.
I just tested it and it worked flawlessly.
Offline
yeah same i prefer the older smplayer built with qt3. but it seems i have grown used to the new one with qt4, particularly i've grown used to qt4
I need real, proper pen and paper for this.
Offline
It doenst copile here. I get this error:
cd src && /opt/qt/bin/qmake && DATA_PATH=\\\"/usr/share/smplayer\\\" CONF_PATH=\\\"/usr/etc/smplayer\\\" TRANSLATION_PATH=\\\"/usr/share/smplayer/translations\\\" DOC_PATH=\\\"/usr/share/doc/packages/smplayer\\\" THEMES_PATH=\\\"/usr/share/smplayer/themes\\\" SHORTCUTS_PATH=\\\"/usr/share/smplayer/shortcuts\\\" make
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /home/knives/Desktop/smplayer-qt3/src/smplayer-0.5.21/src/smplayer.pro
make: ** [src/smplayer] Erro 2
I am using kdemod3.
Offline
Pages: 1