You are not logged in.

#1 2004-06-04 10:44:37

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

[multimedia: sound&audio] xmms-cdparanoia

Plugin for maniac who want's play CD with paranoia libraries. Install script create directory /mnt/audio who contains Audio CD. If dropout occured please switch from alsa out plugin to oss out plugin. Default CD plugin will be turn off if you want to use this plugin.

PKGBUILD (relase 1):

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-cdparanoia
pkgver=0.1
pkgrel=1
pkgdesc="Play CD directly with cdparanoia"
url="http://www.xmms.org"
depends=('glibc' 'xmms' 'cdparanoia')
install=xmms-cdparanoia.install
source=(http://stukach.com/hosted/m.i.a/cdparanoia-plugin-$pkgver.tar.gz)
md5sums=('db6541edf7e845831469396165ede378')
build() {
    cd $startdir/src/cdparanoia-plugin-$pkgver
    ./configure --prefix=/usr/lib  
    make || return 1
    make 
    prefix=$startdir/pkg/usr/lib libdir=$startdir/pkg/usr/lib/xmms/Input 
    install
    }

xmms-cdparanoia.install (relase 1)

post_install() {
        mkdir -p /mnt/audio
}
post_upgrade() {
        post_install
}
pre_remove() {
        rmdir /mnt/audio
}
post_remove() {
        /bin/true
} 
op=$1
shift

$op $*

UPDATE: remove unrequired /mnt/audio location

PKGBUILD (relase 2):

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=xmms-cdparanoia
pkgver=0.1
pkgrel=2
pkgdesc="Play CD directly with cdparanoia"
url="http://www.xmms.org"
depends=('glibc' 'xmms' 'cdparanoia')
source=(http://stukach.com/hosted/m.i.a/cdparanoia-plugin-$pkgver.tar.gz)
md5sums=('db6541edf7e845831469396165ede378')
build() {
    cd $startdir/src/cdparanoia-plugin-$pkgver
    ./configure --prefix=/usr/lib  
    make || return 1
    make 
    prefix=$startdir/pkg/usr/lib libdir=$startdir/pkg/usr/lib/xmms/Input 
    install
    }

Offline

#2 2004-06-04 11:06:49

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [multimedia: sound&audio] xmms-cdparanoia

why is /mnt/audio needed?


The impossible missions are the only ones which succeed.

Offline

#3 2004-06-04 12:04:51

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [multimedia: sound&audio] xmms-cdparanoia

dp wrote:

why is /mnt/audio needed?

Sorry, I was thought that is deafult location when xmms-cdparanoia search CD Audio but I was wrong. Right now I correct it, thank's for attention.

Greetings.

Miroslaw Czachor

Offline

#4 2004-06-04 17:34:41

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [multimedia: sound&audio] xmms-cdparanoia

forest76 wrote:
dp wrote:

why is /mnt/audio needed?

Sorry, I was thought that is deafult location when xmms-cdparanoia search CD Audio but I was wrong. Right now I correct it, thank's for attention.

Greetings.

Miroslaw Czachor

no problem - well done - after some testing i will include it in extra, as i maintain +/- all xmms-plugins

-> it's always good to add the "header" to a PKGBUILD:

# $Id:  $
# Contributor: yourname <your@email>

greetings,

Damir


The impossible missions are the only ones which succeed.

Offline

#5 2004-06-04 20:48:46

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [multimedia: sound&audio] xmms-cdparanoia

-> it's always good to add the "header" to a PKGBUILD:

# $Id:  $
# Contributor: yourname <your@email>

greetings,

Damir

Thank's. If this packet will make trouble (core dumped end etc.) please recompile it with neutral CFLAGS and CXXFLAGS. I've made binary with some optimalization, sorry.

Greetings.

Miroslaw Czachor

Offline

#6 2004-06-08 21:19:54

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [multimedia: sound&audio] xmms-cdparanoia

i included the xmms-cdparanoia in extra --- but with the  FLAGS used by all other packages - if anyone want to have it optimized to his/her own cpu, use ABS


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB