From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/madman/PKGBUILD | 59 +++++++++++++++++++++++++++++++++ community/madman/fake-g++.sh | 7 ++++ community/madman/madman.desktop | 10 ++++++ community/madman/madman_logo.png | Bin 0 -> 2407 bytes community/madman/madman_logo_large.png | Bin 0 -> 4763 bytes community/madman/madman_logo_mini.png | Bin 0 -> 812 bytes 6 files changed, 76 insertions(+) create mode 100644 community/madman/PKGBUILD create mode 100755 community/madman/fake-g++.sh create mode 100644 community/madman/madman.desktop create mode 100644 community/madman/madman_logo.png create mode 100644 community/madman/madman_logo_large.png create mode 100644 community/madman/madman_logo_mini.png (limited to 'community/madman') diff --git a/community/madman/PKGBUILD b/community/madman/PKGBUILD new file mode 100644 index 000000000..d159c3c01 --- /dev/null +++ b/community/madman/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 33413 2010-11-24 16:03:47Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Eric Belanger +# Contributor: Hugo Ideler +# Contributor: Zsolt Varadi + +pkgname=madman +pkgver=0.94beta1.20060611 +pkgrel=1 +pkgdesc="I-tunes like music player" +arch=('i686' 'x86_64') +url="http://madman.sourceforge.net/" +license=('GPL') +depends=('qt3' 'xmms' 'libid3tag' 'gtk') +makedepends=('python') +source=(http://arch.pp.ru/~sergej/dl/madman_$pkgver.orig.tar.gz + http://arch.pp.ru/~sergej/dl/madman_$pkgver-2.diff.gz + madman.desktop + madman_logo.png + madman_logo_mini.png + madman_logo_large.png + fake-g++.sh) +md5sums=('36e7a4619ebe83ed939c7ae09c16d535' + '26de942ae2465fb805748d3bea9a8a17' + '591354b69235d5a4b5a09591d04db266' + 'd4546f77857a6ccdabb2036eb6a0da07' + '2d54bb8eceed283edc88a3e4553d2483' + '3c2da1b1800fb372e225ae38fa1398e8' + '6882bb5e67e6dea45e2f770d899514c5') + +build() { + . /etc/profile.d/qt3.sh + cd $srcdir/$pkgname-$pkgver.orig + + patch -p1 -i $srcdir/madman_0.94beta1.20060611-2.diff + mkdir -p ,build/release/designer + touch ,build/release/designer/tsonglistview.h \ + ,build/release/designer/tsetlistview.h \ + ,build/release/designer/tclickablelabel.h \ + ,build/release/designer/tacceleratorlineedit.h \ + ,build/release/designer/tsonglistview.h \ + ,build/release/designer/tsetlistview.h + sed -i '26,1i#include ' utility/base.h + cp $srcdir/fake-g++.sh ./g++ + export PATH=.:$PATH + + scons || return 1 + scons prefix=$pkgdir/usr install || return 1 + + rm $pkgdir/usr/bin/.sconsign + rm $pkgdir/usr/lib/madman/plugins/.sconsign + mkdir -p $pkgdir/usr/share/{applications,icons} + mkdir -p $pkgdir/usr/share/icons/{mini,large} + + cp $srcdir/madman_logo.png $pkgdir/usr/share/icons + cp $srcdir/madman_logo_mini.png $pkgdir/usr/share/icons/mini + cp $srcdir/madman_logo_large.png $pkgdir/usr/share/icons/large + cp $srcdir/madman.desktop $pkgdir/usr/share/applications +} diff --git a/community/madman/fake-g++.sh b/community/madman/fake-g++.sh new file mode 100755 index 000000000..17da66d5a --- /dev/null +++ b/community/madman/fake-g++.sh @@ -0,0 +1,7 @@ +#!/bin/sh -x + +Q=`echo "$*" | sed 's|- p t h r e a d|-pthread|'` + +echo "$Q" | grep 'lmp4ff' && Q="$Q /usr/lib/libmp4ff.a" + +exec /bin/g++ $Q diff --git a/community/madman/madman.desktop b/community/madman/madman.desktop new file mode 100644 index 000000000..c415a6ee5 --- /dev/null +++ b/community/madman/madman.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Madman +Comment=Music Manager +Exec=madman +Icon=/usr/share/icons/madman_logo.png +Miniicon=/usr/share/icons/mini/madman_logo_mini.png +GenericName=Music Manager +Terminal=false +Type=Application +Categories=AudioVideo;Audio diff --git a/community/madman/madman_logo.png b/community/madman/madman_logo.png new file mode 100644 index 000000000..2128a45d2 Binary files /dev/null and b/community/madman/madman_logo.png differ diff --git a/community/madman/madman_logo_large.png b/community/madman/madman_logo_large.png new file mode 100644 index 000000000..4661b4f4f Binary files /dev/null and b/community/madman/madman_logo_large.png differ diff --git a/community/madman/madman_logo_mini.png b/community/madman/madman_logo_mini.png new file mode 100644 index 000000000..5bf9f1083 Binary files /dev/null and b/community/madman/madman_logo_mini.png differ -- cgit v1.2.3-54-g00ecf