You are not logged in.
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
up
Offline
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
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
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
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
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?
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
well, it works. what will this change?
It will follow the PKGBUILD standards.
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
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
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
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