[Rhythmbox-devel] Compiling 0.13 on Arch Linux



I use Arch Linux on my main desktop, and since it has been taking a while to upgrade Rhythmbox to 0.13 in the main repositories, I thought I'd take matters into my own hands and make my own package. I now see why it's taking so long. After updating the PKGBUILD from the Arch Build System to reflect the new versions of all of the packages, I remembered that Rhythmbox depends on libdmapsharing now, and that package is only in AUR (a place for unofficial PKGBUILDs). I installed the package, and Rhythmbox says that libdmapsharing isn't present, so compiling fails.

Attached to this message are the PKGBUILDs used to compile Rhythmbox and libdmapsharing on Arch. The Rhythmbox PKGBUILD is a modified one from the Arch Build System pointing to the newer versions of libraries, dependencies, etc. The libdmapsharing PKGBUILD is from AUR and can be found on http://aur.archlinux.org/packages.php?ID=37814. Anybody using Arch Linux, could you comment on what I may be doing wrong? I've already contacted the package maintainer about this problem.

    - Ryan Peters
# $Id: PKGBUILD 73780 2010-03-28 14:05:18Z jgc $
# Maintainer: Jan de Groot <jgc archlinux org>
# Contributor: Giovanni Scafora <giovanni archlinux org>

pkgname=rhythmbox
pkgver=0.13.0
pkgrel=1
pkgdesc="An iTunes-like music player/libary"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.rhythmbox.org";
depends=('libgpod>=0.7.93' 'libsoup-gnome>=2.30.2' 'gnome-media>=2.30.0' 'totem-plparser>=2.30.1' 'musicbrainz>=2.1.5' 'libmtp>=1.0.2' 'libnotify>=0.4.5' 'lirc-utils' 
'desktop-file-utils' 'gstreamer0.10-python>=0.10.18' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'pygtk>=2.17.0' 'gvfs>=1.6.3' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.1' 'intltool' 'brasero>=2.30.2' 'libdmapsharing>=2.0.0')
optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
            'gstreamer0.10-bad-plugins: Extra media codecs'
            'gstreamer0.10-ffmpeg: Extra media codecs'
            'brasero: cd burning'
            'gnome-python: various plugins'
            'pywebkitgtk: context panel plugin'
            'python-mako: context panel plugin')
options=('!libtool' '!emptydirs')
install=rhythmbox.install
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.13/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('3aa8b894975df7cd5f7905d1c9aa00cd18f857b3cba55d9064f6b44f994a29a2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --libexecdir=/usr/lib/rhythmbox \
      --localstatedir=/var --disable-static \
      --enable-daap --enable-python \
      --with-mdns=avahi --disable-scrollkeeper || return 1

  make || return 1
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1

  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain rhythmbox ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}
pkgname=rhythmbox

post_install() {
  usr/sbin/gconfpkg --install ${pkgname}
  update-desktop-database -q
  gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
}

pre_upgrade() {
  pre_remove
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  usr/sbin/gconfpkg --uninstall ${pkgname}
}

post_remove() {
  update-desktop-database -q
  gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
}
pkgname=libdmapsharing
pkgver=2.0.0
pkgrel=1
pkgdesc="Libdmapsharing is a library you may use to access and share DMAP content"
arch=('i686' 'x86_64')
url="http://www.flyn.org/projects/libdmapsharing/index.html";
license=('GPL')
depends=('libsoup' 'avahi')
options=('!libtool')
source=(http://www.flyn.org/projects/libdmapsharing/$pkgname-$pkgver.tar.gz)
md5sums=('2017eb78d964834acf3fcedad4177240')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr                                                               
  make || return 1                                                                        
  make DESTDIR="$pkgdir/" install
}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]