You are not logged in.
Pages: 1
Here is banshee-0.11 PKGBUILD.
I just got PKGBUILD from ABS, changed the version and made a change because gnomevfssikng don't compiles with fake root.
So, here is:
PKGBUILD
# Contributor: Arthur Zapparoli <arthurgeek>
pkgname=banshee
pkgver=0.11.0
pkgrel=1
pkgdesc="Music management and playback for GNOME"
url="http://banshee-project.org/"
license=(MIT)
depends=(dbus-sharp hal gtk-sharp-2 musicbrainz nautilus-cd-burner
sqlite3 gstreamer0.10-faac gstreamer0.10-faad gstreamer0.10-gconf
gstreamer0.10-lame gstreamer0.10-mad gstreamer0.10-ogg
gstreamer0.10-vorbis gstreamer0.10-cdparanoia gstreamer0.10-gnomevfs)
makedepends=(intltool ipod-sharp njb-sharp)
options=('nolibtool')
install=banshee.install
source=(http://banshee-project.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('f54e1d87a2bf2f239f1420eeba9d15eb')
build() {
# broken in a fake root
export MONO_SHARED_DIR=${startdir}/src/.wabi
mkdir -p "${MONO_SHARED_DIR}"
export MAKEFLAGS="-j1"
cd ${startdir}/src/${pkgname}-${pkgver}
LD_PRELOAD="" ./configure --prefix=/opt/gnome
--disable-helix --enable-ipod --enable-njb --disable-docs
--with-gstreamer-0-10
make hicolordir=/usr/share/icons/hicolor || return 1
make hicolordir=/usr/share/icons/hicolor
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
DESTDIR=${startdir}/pkg install
rm -rf "${MONO_SHARED_DIR}"
mkdir -p ${startdir}/pkg/opt/gnome/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/opt/gnome/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/opt/gnome/etc/gconf/schemas/*.schemas
rm -f ${startdir}/pkg/opt/gnome/etc/gconf/schemas/*.schemas
}
banshee.install
pkgname=banshee
post_install() {
cat << 'EOM'
==> Banshee can optionally work with digital audio players. To enable this
functionality, install either of these packages:
-> ipod-sharp (Apple iPod)
-> njb-sharp (Creative Nomad/Zen and Dell DJ)
EOM
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-install-rule opt/gnome/share/gconf/schemas/${pkgname}.schemas >/dev/null
update-desktop-database -q
gtk-update-icon-cache -q usr/share/icons/hicolor
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
if [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
else
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
fi
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
}
post_remove() {
update-desktop-database -q
gtk-update-icon-cache -q usr/share/icons/hicolor
}
op=$1
shift
$op $*
Offline
here is banshee-official-plugins-svn
# Contributor: Arthur Zapparoli <arthurgeek>
pkgname=banshee-official-plugins-svn
pkgver=263
pkgrel=1
pkgdesc="Official External Plugins for Banshee Music Player"
url="http://banshee-project.org/Plugins"
license=""
depends=('banshee')
makedepends=('subversion')
conflicts=('banshee-official-plugins')
provides=('banshee-official-plugins')
_svntrunk=svn://svn.banshee-project.org/trunk/banshee-official-plugins
_svnmod=banshee-official-plugins
source=()
md5sums=()
build() {
export MONO_SHARED_DIR=${startdir}/src/.wabi
mkdir -p "${MONO_SHARED_DIR}"
cd $startdir/src
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
cd $_svnmod
./autogen.sh --prefix=/opt/gnome --disable-MiniMode
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r ../$_svnmod ../$_svnmod-build
cd ../$_svnmod-build
make || return 1
make DESTDIR=$startdir/pkg/ install
rm -rf "${MONO_SHARED_DIR}"
rm -rf $startdir/src/$_svnmod-build
}
# vim:syntax=sh
I'm working on banshee-wikipedia-plugin
Right now, It just works when I manually add /opt/mozilla/lib/xulrunner to /etc/ld.so.conf and then run ldconfig. I'm working on a way to fix this. I already tried "make LDFLAGS+="-R /opt/mozilla/lib/xulrunner" || return 1"
But with this line, I got an differnet error, So, here's come the PKGBUILD.
Don't forget to manually update /etc/ld.so.conf and run ldconfig!
# Contributor: ArthurGeek (arthur@arthurgeek.net)
pkgname=banshee-wikipedia-plugin-svn
pkgver=263
pkgrel=1
pkgdesc="Wikipedia Plugin for Banshee Music Player"
url="http://banshee-project.org/Plugins"
license=""
depends=('banshee' 'gecko-sharp-2.0')
makedepends=('subversion')
conflicts=('banshee-wikipedia-plugin')
provides=('banshee-wikipedia-plugin')
_svntrunk=svn://svn.banshee-project.org/trunk/banshee-wikipedia-plugin
_svnmod=banshee-wikipedia-plugin
source=()
md5sums=()
build() {
export MONO_SHARED_DIR=${startdir}/src/.wabi
mkdir -p "${MONO_SHARED_DIR}"
cd $startdir/src
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
cd $_svnmod
./autogen.sh --prefix=/opt/gnome --disable-MiniMode
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r ../$_svnmod ../$_svnmod-build
cd ../$_svnmod-build
make LDFLAGS+="-R /opt/mozilla/lib/xulrunner" || return 1
make DESTDIR=$startdir/pkg/ install
rm -rf "${MONO_SHARED_DIR}"
rm -rf $startdir/src/$_svnmod-build
}
# vim:syntax=sh
I appreciate comments and maybe, a fix-around to this issue.
Offline
for the ld.so.conf issue, you'll need to use a .install file. Check the one from kde-common as an example.
Offline
for the ld.so.conf issue, you'll need to use a .install file. Check the one from kde-common as an example.
I don't wann to put the path on ld.so.conf, I just want to hard-link the library when compiling. It's the same thing epiphany does, or monodevelop does. In my case, monodevelop depends on the same packages as this plugin (gecko-sharp-2.0), but the same configuration (make LDCONFIG...) don't worked for this.
Offline
Aur?
Mr Green
Offline
Pages: 1