[arch-general] Newbie Build xine-lib-1.1.10-1
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. Thx JaDa -- Make it idiot proof and someone will make a better idiot.
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
Hi Allan I just post now the PKGBUILD hope that's right now! JaDa # Contributor: Uwe Vogt <jada@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.b... 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@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.
2008/1/29, JaDa <jada@usalug.net>:
Hi Allan
I just post now the PKGBUILD hope that's right now!
makedepends=('pkgconfig' 'libtool' 'automake' 'autoconf' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib' 'vcdimager')
I didn't actually test how it builds but inlined a couple of suggestions below: pkgconfig, libtool, automake and autoconf are part of base-devel group which is supposed to be installed on every packager's machine, so you can safely omit them.
source=(http://superb-east.dl.sourceforge.net/sourceforge/xine/xine-lib-1.1.10.tar.b... It is highly recommended to use http://downloads.sourceforge.net/xine/... here.
Otherwise the PKGBUILD looks good. -- Roman Kyrylych (Роман Кирилич)
Roman Kyrylych wrote:
2008/1/29, JaDa<jada@usalug.net>:
Hi Allan
I just post now the PKGBUILD hope that's right now!
I didn't actually test how it builds but inlined a couple of suggestions below:
makedepends=('pkgconfig' 'libtool' 'automake' 'autoconf' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib' 'vcdimager') pkgconfig, libtool, automake and autoconf are part of base-devel group which is supposed to be installed on every packager's machine, so you can safely omit them.
source=(http://superb-east.dl.sourceforge.net/sourceforge/xine/xine-lib-1.1.10.tar.b... It is highly recommended to use http://downloads.sourceforge.net/xine/... here.
Otherwise the PKGBUILD looks good.
Just in case you didn't guess or notice, the PKGBUILD you were reviewing is actually that one : http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/multimedia/xine-lib/PKGBUILD?rev=1.6&cvsroot=Extra&content-type=text/vnd.viewcvs-markup Jada just took that, and changed pkgver, source, and md5sum variables. PS: the official xine-lib package is now at 1.1.10-1 too.
participants (4)
-
Allan McRae
-
JaDa
-
Roman Kyrylych
-
Xavier