[arch-general] Newbie Build xine-lib-1.1.10-1
JaDa
jada at usalug.net
Mon Jan 28 17:45:06 EST 2008
Hi Allan
I just post now the PKGBUILD hope that's right now!
JaDa
# Contributor: Uwe Vogt <jada at usalug.net>
pkgname=xine-lib
pkgver=1.1.10
pkgrel=1
pkgdesc="A free video player for Unix"
arch=('i686' 'x86_64')
url="http://xinehq.de/"
license=('LGPL' 'GPL')
#TODO remove 'codecs' and make them optional
depends=('libgl' 'libxvmc' 'esd' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng'
'libtheora'
'codecs' 'libxcb')
makedepends=('pkgconfig' 'libtool' 'automake' 'autoconf' 'imagemagick'
'smbclient' 'mesa' 'alsa-lib' 'vcdimager')
source=(http://superb-east.dl.sourceforge.net/sourceforge/xine/xine-lib-1.1.10.tar.bz2
xine-lib-1.1.1-configure-no-mcpu-march.patch)
md5sums=('55e7d2b1f4a9052db847244572a4ecb5'
'9776df4eb54d2f1f68d8268adbc3b5c2')
options=('!libtool')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
patch -Np0 -i
${startdir}/src/xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1
aclocal -I m4
libtoolize --force
autoheader
automake --gnu --add-missing
autoconf
export SED="/bin/sed"
export LIBPNG_CONFIG="/usr/bin/pkg-config libpng12"
./configure --prefix=/usr --with-w32-path=/usr/lib/win32 \
--with-xv-path=/usr/lib --with-libflac --without-arts \
--without-jack --disable-gnomevfs --disable-polypaudio \
--disable-aalib --without-speex --disable-modplug
make || return 1
make DESTDIR=${startdir}/pkg install
}
On Mon, 28 Jan 2008 14:19:56 -0800, Allan McRae <mcrae_allan at hotmail.com>
wrote:
> JaDa wrote:
>> Here is my first Archlinux Package Build for i686
>>
>> xine-lib-1.1.10-1
>> http://files.myopera.com/Jada0007/arch/xine-lib-1.1.10-1-i686.pkg.tar.gz
>>
>> well I think it is not perfect but someone can check it out too.
>>
>> Then how will be my tutor for the next few weeks? Teaching me a little
>> how to build and work for Archlinux.
>
> Hi JaDa,
>
> They way to get packages reviewed is to post the PKGBUILD. No-one here
> is going to install a binary blob from a non-trusted source
> (hopefully...). For all we know you have a "rm -rf /home/*" type
> statement in the .install script. It is also hard to know how to
> improve your packaging if we don't see you methods.
>
> If you want to learn how to package software, take a look at PKGBUILDs
> from the official repositories (read up on ABS in the wiki) and use them
> as a basis for yours. There is an official (outdated) xine-lib package
> which you can use as a starting point.
>
> Allan
>
>
>
--
Make it idiot proof and someone will make a better idiot.
More information about the arch-general
mailing list