You are not logged in.

#1 2010-12-24 19:02:41

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

[SOLVED] [request] DeaDBeeF-JACK-plugin

http://gitorious.org/deadbeef-sm-plugin … ees/master

DeaDBeeF is a high-voted music-player in AUR
would be nice to have the jack-plugin

I don't even know if this is possible.

can anyone have a look please?

Last edited by capoeira (2011-11-30 02:20:48)

Offline

#2 2011-07-24 18:45:59

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

up

Offline

#3 2011-11-26 00:54:40

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

tried to build a PKGBUILD:

pkgname=jack_output_for_deadbeef
pkgver=0.2
pkgrel=1
pkgdesc="jack output plugin for DeaDBeeF music player"
arch=("i686" "x86_64")
license=('GPL')
url="http://sourceforge.net/projects/deadbeef/files/plugins/0.5.1"
depends=('deadbeef')
source=("http://sourceforge.net/projects/deadbeef/files/plugins/0.5.1/ddb_jack-0.2.zip")
sha1sums=("c458cf18ac222e4f175df7fb35adf4aa075e5a24")

build() {
#  mkdir -p ${srcdir}/${pkgname}
  unzip ddb_jack-0.2.zip ${srcdir}/
  cd "${srcdir}/plugins"

  ./configure --prefix=/usr
  make
  make DESTDIR="${pkgdir}" install
}

wich results in an error:

==> begining build()...
Archive:  ddb_jack-0.2.zip
caution: filename not matched:  /home/studio/temp/src/

pleaaaaaaase, how to correct that?

Offline

#4 2011-11-26 04:30:18

jomasti
Member
From: USA
Registered: 2010-08-17
Posts: 96

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

First, you don't need to use unzip in the PKGBUILD. makepkg will handle that just fine. Moving on from that, since it's just a .so in the zip file, there is nothing to compile, and the last three lines are unneeded. Also, since there is nothing to build, build() should be changed to package(). I checked for the directory that DeaDBeeF uses for the plugins, and they are kept under /usr/lib/deabeef/. So, all that really needs to be done is something like this:

install -D ddb_jack.so $pkgdir/usr/lib/deadbeef/ddb_jack.so

Offline

#5 2011-11-26 13:28:49

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

jomasti wrote:

First, you don't need to use unzip in the PKGBUILD. makepkg will handle that just fine. Moving on from that, since it's just a .so in the zip file, there is nothing to compile, and the last three lines are unneeded. Also, since there is nothing to build, build() should be changed to package(). I checked for the directory that DeaDBeeF uses for the plugins, and they are kept under /usr/lib/deabeef/. So, all that really needs to be done is something like this:

install -D ddb_jack.so $pkgdir/usr/lib/deadbeef/ddb_jack.so

thanks a lot. I was confused, because it had to be compiled before.

I uploaded this: https://aur.archlinux.org/packages.php?ID=54327

Offline

#6 2011-11-26 21:28:39

jomasti
Member
From: USA
Registered: 2010-08-17
Posts: 96

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

Sorry, I should have clarified. That install line should have been inside the package() function.

package() {
   install -D ddb_jack.so $pkgdir/usr/lib/deadbeef/ddb_jack.so
}

Also, the package for JACK should be added to the dependencies. Another issue is the naming, which probably should have been deadbeef-plugin-jack. However, it seems another person was interested in packaging this at the same time, and used that name along with using the git source. That one does compile from the source. This may be superfluous now.

Offline

#7 2011-11-28 23:50:29

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

jomasti wrote:

Sorry, I should have clarified. That install line should have been inside the package() function.

package() {
   install -D ddb_jack.so $pkgdir/usr/lib/deadbeef/ddb_jack.so
}

well, it works. what will this change?

jomasti wrote:

Also, the package for JACK should be added to the dependencies. Another issue is the naming, which probably should have been deadbeef-plugin-jack. However, it seems another person was interested in packaging this at the same time, and used that name along with using the git source. That one does compile from the source. This may be superfluous now.

I can't find the other package, else I would delete mine

Offline

#8 2011-11-29 01:50:18

jomasti
Member
From: USA
Registered: 2010-08-17
Posts: 96

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

capoeira wrote:

well, it works. what will this change?

It will follow the PKGBUILD standards.

capoeira wrote:

I can't find the other package, else I would delete mine

It looks like it has been deleted, so it's not a problem now.

Offline

#9 2011-11-29 02:19:02

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

jomasti wrote:
capoeira wrote:

well, it works. what will this change?

It will follow the PKGBUILD standards.


ok, I'll correct that tomorrow. time for me to go to bed
thanks

Offline

#10 2011-11-29 02:59:37

jomasti
Member
From: USA
Registered: 2010-08-17
Posts: 96

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

Okay, good. Oh, a little correction to what needs to be done:

package() {
   cd "$srcdir/plugins"
   install -D ddb_jack.so "$pkgdir/usr/lib/deadbeef/ddb_jack.so"
}

Offline

#11 2011-11-30 02:20:27

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 458

Re: [SOLVED] [request] DeaDBeeF-JACK-plugin

jomasti wrote:

Okay, good. Oh, a little correction to what needs to be done:

package() {
   cd "$srcdir/plugins"
   install -D ddb_jack.so "$pkgdir/usr/lib/deadbeef/ddb_jack.so"
}

thanks

corrected

Offline

Board footer

Powered by FluxBB