You are not logged in.

#1 2009-02-13 13:31:33

b9anders
Member
Registered: 2007-11-07
Posts: 691

[help needed] bin32-gsopcast

I've tried to build the gtk frontend for sopcast for arch64 without much luck. I adapted the i686 pkgbuild from abs but it won't compile. I'm afraid I don't really know my way around 32-bit builds for arch64.

Here's the PKGBUILD I've used:

# $Id: PKGBUILD,v 1.12 2008/02/17 15:47:30 pressh Exp $
# Maintainer: pressh <pressh at gmail dot com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>

pkgname=bin32-gsopcast
_realname=gsopcast
pkgver=0.4.0
pkgrel=2
pkgdesc="A GTK front-end of p2p TV sopcast"
arch=('x86_64')
url="http://code.google.com/p/gsopcast/"
license=('GPL')
depends=('bin32-sopcast' 'gtk2' 'cairo' 'alsa-lib')
makedepends=('pkgconfig')
source=(http://gsopcast.googlecode.com/files/$_realname-$pkgver.tar.bz2)
md5sums=('65e4f09d714455df809a58c12a76749f')                  
                  
build()  {
  cd $startdir/src/$_realname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

I get the same error messages if I set lib32-gtk2, lib32-cairo and lib32-alsa-lib as dependencies, although I'm not sure if that's required. bin32-gmlive doesn't seem to want this, yet bin32-skype does want them. I am thinking as a simple frontend, it shouldn't be needed, but as said I'm not really all that clued up on 32-bit apps for 64-bit.

Last edited by b9anders (2009-02-19 14:46:28)

Offline

#2 2009-02-13 14:21:25

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [help needed] bin32-gsopcast

Wow! I'm dead interested in this! I've just converted to 64-bit and am missing my English footy on sopcast. However, not knowing anything about the subject matter (and taking into account the archlinux credo of DIY) I've kept quiet until I got the hang of it myself - hasn't happened yet smile

I'll be a keen follower of this thread...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2009-02-13 15:44:00

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: [help needed] bin32-gsopcast

Did a bit more research. And I managed to compile the svn version instead. This PKGBUILD should work:

pkgname=bin32-gsopcast-svn
pkgver=56
pkgrel=1
pkgdesc="A GTK front-end of p2p TV sopcast"
arch=('x86_64')
url="http://code.google.com/p/gsopcast/"
license=('GPL')
depends=('bin32-sopcast' 'gtk2' 'cairo' 'alsa-lib')
makedepends=('pkgconfig')

_svnmod="gsopcast"
_svntrunk=http://gsopcast.googlecode.com/svn/trunk/


build() {
  cd $startdir/src

  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..."

  rm -r $startdir/src/$_svnmod-build
  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build

  ./autogen.sh --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg/ install
}

Last edited by b9anders (2009-02-13 15:44:58)

Offline

#4 2009-02-19 14:45:59

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: [help needed] bin32-gsopcast

I'm really not very good with this stuff. I uploaded this to AUR, but on doublechecking the package standards, I realised it installs to /usr/local/. I would have thught the prefix in the PKGBUILD should have taken care of that.

Anyone who can help me out with this, so it can be uploaded with a proper PKGBUILD?

Last edited by b9anders (2009-02-19 14:46:15)

Offline

Board footer

Powered by FluxBB