You are not logged in.
Hi, I've just prepared xmms-vqf plugin. PKGBUILD include dirty hack, if anyone known how remove it without compilation (linking phase) error let do it. Binary pack was created with flags:
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe"
PKGBUILD (relase 1):
# $Id: $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-vqf
pkgver=0.94
pkgrel=1
pkgdesc="Play VQF files"
url="http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/"
makedepends=('perl')
depends=('glibc' 'xmms' 'cdparanoia')
source=(http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/vqfplugin-$pkgver.tar.gz)
md5sums=('ce4f77b94303db473cc15aabf91649b5')
build() {
mkdir -p $startdir/pkg/usr/lib/xmms/Input
cd $startdir/src/vqfplugin-$pkgver
./configure --prefix=$startdir/pkg/usr
# Aviod linker error. This trick turn off vqfinfo addition.
# Please debug if needed.
perl -pi -e 's/vqfinfo//g' $startdir/src/vqfplugin-$pkgver/Makefile
make || return 1
make install
}
PKGBUILD (relase 2):
# $Id: $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-vqf
pkgver=0.94
pkgrel=2
pkgdesc="Play VQF files"
url="http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/"
depends=('glibc' 'xmms')
source=(http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/vqfplugin-$pkgver.tar.gz)
md5sums=('ce4f77b94303db473cc15aabf91649b5')
build() {
mkdir -p $startdir/pkg/usr/lib/xmms/Input
cd $startdir/src/vqfplugin-$pkgver
./configure --prefix=$startdir/pkg/usr
# Aviod linker error. This trick turn off vqfinfo addition.
# Please debug if needed.
sed -i s+"vqfinfo"+""+g $startdir/src/vqfplugin-$pkgver/Makefile
make || return 1
make install
}
Offline
I think you should have a
makedepends=('perl')
there... somebody please correct me if I'm wrong.
Alternatively, you could use sed to correct the makefile (if it does the same thing you do with perl there, I don't know perl)
:: / my web presence
Offline
Isn't perl part of 'base'? Then everyone should have it already!
If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
- John Cage
Offline
Isn't perl part of 'base'? Then everyone should have it already!
you do not need to install all of base to have a running system - makedepends is in this case advicable
but instead of using perl, you can use sed instead to substitute this string --- and sed is more essential than perl in basic stuff, so it do not need makedepends (but is also advicable)
something like this:
sed -i s+"vqfinfo"+""+g $startdir/src/vqfplugin-$pkgver/Makefile
The impossible missions are the only ones which succeed.
Offline
As official policy everything in base is assumed to be installed. As well wget, and unzip are not makedepends unless they are being used by the build function or build system.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
As official policy everything in base is assumed to be installed. As well wget, and unzip are not makedepends unless they are being used by the build function or build system.
ohh ... i didnt know that :oops:
official policy? can anyone give me a link to it?
The impossible missions are the only ones which succeed.
Offline
Hmmm... I don't think we have a link... it was a bunch of emails last I recall. We need to get Dusty in there...
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
I think you should have a
makedepends=('perl')
I think, you have right. PKGBUILD (relase 1) has been changed.
Greetings,
Miroslaw
Offline
but instead of using perl, you can use sed instead to substitute this string --- and sed is more essential than perl in basic stuff
You have right. I think that use perl in this plase is similar to kill fly with machine-gun. I've added relase 2 with your sed's substitution.
Greetings,
Miroslaw.
Offline