You are not logged in.
For some reason package QMC2 in commuity only provides MAME frontend, or actually SDLMAME frontend. Same program could be used also for SDLMESS. It just has to be build with command "make EMULATOR=SDLMESS" and there has to be driven "make clean" between building sdlmess and sdlmame frontends, so PKGBUILD could look like this, but I don't have any idea about depends. And I'm really new with this stuff, so there is probably something to be fixed ![]()
# contributor: wunjo <kuusisto.miika@gmail.com>
pkgname=qmc2-svn
pkgver=3734
pkgrel=1
pkgdesc="sdlmame & sdlmess frontend."
arch=('i686' 'x86_64')
url="qmc2.arcadehits.net"
license=('GPL2')
depends=('phonon' 'qtwebkit' 'sdl')
makedepends=('subversion')
provides=(qmc2-svn)
conflicts=(qmc2)
source=()
md5sums=()
_svntrunk="https://qmc2.svn.sourceforge.net/svnroot/qmc2/trunk"
_svnmod=qmc2-svn
build() {
cd $startdir/src
msg "Connecting to SVN server...."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
svn export $_svnmod $_svnmod-build
cd $_svnmod-build
#
# BUILD qmc2-sdlmess
#
make EMULATOR=SDLMESS || return 1
mkdir $startdir/build-tmp
mv qmc2-sdlmess $startdir/build-tmp
make clean
#
# BUILD qmc2-sdlmame
#
make || return 1
}
package() {
install -Dm755 "$startdir/build-tmp/qmc2-sdlmess" "$pkgdir/usr/bin/qmc2-sdlmess"
install -Dm755 "$_svnmod-build/qmc2-sdlmame" "$pkgdir/usr/bin/qmc2-sdlmame"
install -Dm644 "$_svnmod-build/inst/qmc2.ini.template" "$pkgdir/etc/qmc2.ini"
install -Dm755 "$_svnmod-build/inst/qmc2.desktop.template" "$pkgdir/usr/share/qmc2/applications/qmc2.desktop"
ln -s $pkgdir/usr/bin/qmc2-sdlmame $pkgdir/usr/bin/qmc2
mkdir -p $pkgdir/usr/share/qmc2/{opt,img,doc,prv,fly,ico,cat,cab,ctl,mrq,ttl,sws,swn}
}It looks like mamepgui http://aur.archlinux.org/packages.php?ID=28955 src packet cannot be downloaded atelast afrom old offical servers. SVN http://aur.archlinux.org/packages.php?ID=47576 could be obtained, but it won't compile.
/usr/bin/ld: tmp/release/utils.o: undefined reference to symbol 'crc32'
/usr/bin/ld: note: 'crc32' is defined in DSO /usr/lib/libz.so.1 so try adding it to the linker command line
/usr/lib/libz.so.1: could not read symbols: Invalid operation
collect2: virhe: ld:n paluuarvo oli 1
make: *** [bin/mamepgui] Virhe 1there is also xlbmessui http://sourceforge.net/projects/xlbmessui/ which I did get compiled, but it doesn't really look very good. Quite plain. And didn't done PKGBUILD, cause don't have any idea how would I get download link from sourceforge
and didn't got SVN working. Gnomess http://sourceforge.net/projects/gnomess looked lot better, but same problem with SVN and download link from sourceforge.
Edit: Fixed the PKGBUILD
Last edited by wunjo (2012-05-04 16:30:49)
Offline
datadir looks it is an internal variable for your PKGBUILD, for those cases the convention is to start the var name with underscore _ .
Looking at the PKGBUILD, i don't think you need that variable.
ex : your long mkdir line can be made a lot more readable like this :
mkdir -p $pkgdir/usr/share/qmc2/{opt, img, doc, prv, fly, ico, cat, cab, ctl, mrq, ttl, sws, swn} .
------------------------------------------------------
The build error with mamepgui-svn is due to a change in the way GCC handles implicit linking, see http://fedoraproject.org/wiki/Understan … LinkChange .
It will very likely require changing the sourcecode in the PKGBUILD.
----------
using download links from sourceforge is not that hard :
try to manually download the file, when you see " Your xlbmessui download will start shortly... "
right-click "direct link" just below that line, and choose copy link location.
paste it into a text file, it will look like this :
http://downloads.sourceforge.net/projec … irror=garr
remove the part after the ? , and you get :
http://downloads.sourceforge.net/projec … 0.7.tar.gz
This link works fine in PKGBUILD and has the advantage sourceforge will redirect the download to whatever mirror is closest to the downloader.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Big thanks for info.
Offline