rhythmbox: fetch from git repo dynamically.

This commit is contained in:
Juan RP 2011-10-15 21:55:22 +02:00
parent a4ecebb149
commit a3d7b51647
1 changed files with 18 additions and 7 deletions

View File

@ -1,18 +1,16 @@
# Template file for 'rhythmbox'.
pkgname=rhythmbox
version=2.90.1.git20110928
revision=1
homepage="http://projects.gnome.org/rhythmbox/"
version="2.90.1.git$(date +%Y%m%d)"
homepage="http://www.rhythmbox.org"
#distfiles="${GNOME_SITE}/$pkgname/0.13/$pkgname-$version.tar.bz2"
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.xz"
build_style=gnu_configure
configure_args="--with-mdns=avahi --disable-scrollkeeper --disable-static
--disable-python --disable-schemas-install --enable-daap --disable-vala
--disable-schemas-compile --without-hal --with-webkit"
--disable-python --disable-schemas-install --enable-daap --with-webkit
--disable-schemas-compile --without-hal --disable-vala"
short_desc="GNOME integrated music management application, inspired by Apple's iTunes."
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
checksum=b95b2aed0cd485198fbefdcb8dbf2a1ca3d4eb7d31b1e02d610fb16384191e8a
checksum=931d42e7fcad8e5ab76d52900fbbbe3d9de4099dc04e2b35f27e0e99121c4796
long_desc="
Rhythmbox is an integrated music management application, originally inspired
by Apple's iTunes. It is free software, designed to work well under the
@ -32,6 +30,9 @@ long_desc="
* Automatically download audio podcasts
* Browse, preview, and download albums from Magnatune and Jamendo"
nofetch=yes
noextract=yes
gtk_iconcache_dirs="/usr/share/icons/hicolor"
subpackages="lib${pkgname} ${pkgname}-devel"
@ -85,6 +86,7 @@ Add_dependency run libdmapsharing
Add_dependency run libgnome-keyring
Add_dependency run librhythmbox
Add_dependency build git
Add_dependency build gnome-common
Add_dependency build gtk-doc
Add_dependency build gettext-devel
@ -112,6 +114,15 @@ Add_dependency build clutter-gst-devel
Add_dependency build mx-devel
Add_dependency build libdmapsharing-devel
Add_dependency full desktop-file-utils
Add_dependency full hicolor-icon-theme
do_fetch() {
local url="git://git.gnome.org/rhythmbox"
msg_normal "Fetching source from git repo at $url\n"
git clone ${url} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}