You are not logged in.

#1 2008-01-27 08:44:26

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Old SMPlayer PKGBUILD

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

#2 2008-01-27 16:01:35

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: Old SMPlayer PKGBUILD

Are you sure SMPlayer depend on qt3? neutral
I think 0.5.2x was also using qt 4.

Try to change qt3 dependency by qt and build it again.

@+

Offline

#3 2008-01-28 07:11:26

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Re: Old SMPlayer PKGBUILD

Shaika-Dzari wrote:

Are you sure SMPlayer depend on qt3? neutral
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

#4 2008-01-28 07:34:33

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Old SMPlayer PKGBUILD

replace
    make PREFIX=/usr || return 1
by
make PREFIX=/usr QMAKE=/opt/qt/bin/qmake || return 1

Offline

#5 2008-01-28 15:56:27

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Re: Old SMPlayer PKGBUILD

Snowman wrote:

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

#6 2008-01-28 21:47:57

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Old SMPlayer PKGBUILD

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 smile


I need real, proper pen and paper for this.

Offline

#7 2009-06-26 22:40:38

Knives
Member
Registered: 2008-12-26
Posts: 25

Re: Old SMPlayer PKGBUILD

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

Board footer

Powered by FluxBB