diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/a2jmidid/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/a2jmidid/a2jmidid-dso-pthread.patch | 20 | ||||
-rw-r--r-- | pcr/amsynth/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/ha-heartbeat/PKGBUILD | 66 | ||||
-rw-r--r-- | pcr/ha-heartbeat/ha-heartbeat.service | 10 | ||||
-rw-r--r-- | pcr/ha-resourceagent/PKGBUILD | 59 | ||||
-rw-r--r-- | pcr/ha-resourceagent/ha-ldirector.service | 10 | ||||
-rw-r--r-- | pcr/skanlite/PKGBUILD | 2 |
8 files changed, 225 insertions, 1 deletions
diff --git a/pcr/a2jmidid/PKGBUILD b/pcr/a2jmidid/PKGBUILD new file mode 100644 index 000000000..60d6f048f --- /dev/null +++ b/pcr/a2jmidid/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer : Guest One <theguestone at gmail dot com> +# patch taken from https://aur.archlinux.org/packages/a2jmidid/ + +pkgname=a2jmidid +pkgver=8 +pkgrel=1 +pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." +arch=('i686') +url="http://home.gna.org/$pkgname/" +license=('GPL') +depends=('jack' 'python2-dbus') +source=("http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2" + "$pkgname-dso-pthread.patch") +md5sums=('9cf4edbc3ad2ddeeaf6c8c1791ff3ddd' + '4b15e485301aee48371844cb01689ad2') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # DSO link patch + patch -p1 -i ../$pkgname-dso-pthread.patch + + python2 waf configure --prefix=/usr + python2 waf +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 waf install --destdir="$pkgdir/" + + # python2 fix + sed -i "s/python/&2/" "$pkgdir/usr/bin/a2j_control" +}
\ No newline at end of file diff --git a/pcr/a2jmidid/a2jmidid-dso-pthread.patch b/pcr/a2jmidid/a2jmidid-dso-pthread.patch new file mode 100644 index 000000000..028b9d432 --- /dev/null +++ b/pcr/a2jmidid/a2jmidid-dso-pthread.patch @@ -0,0 +1,20 @@ +diff -aur a2jmidid-8/wscript a2jmidid-8.patched/wscript +--- a2jmidid-8/wscript 2012-07-05 03:14:23.000000000 +0200 ++++ a2jmidid-8.patched/wscript 2012-07-10 17:48:30.710109306 +0200 +@@ -67,6 +67,7 @@ + conf.env['DBUS_ENABLED'] = False + + conf.env['LIB_DL'] = ['dl'] ++ conf.env['LIB_PTHREAD'] = ['pthread'] + + #conf.check_header('expat.h', mandatory=True) + #conf.env['LIB_EXPAT'] = ['expat'] +@@ -152,7 +153,7 @@ + + prog.includes = '.' # make waf dependency tracking work + prog.target = 'a2jmidid' +- prog.uselib = 'ALSA JACK DL' ++ prog.uselib = 'ALSA JACK DL PTHREAD' + if bld.env()['DBUS_ENABLED']: + prog.uselib += " DBUS-1" + prog = bld.create_obj('cc', 'program') diff --git a/pcr/amsynth/PKGBUILD b/pcr/amsynth/PKGBUILD new file mode 100644 index 000000000..58c097cf4 --- /dev/null +++ b/pcr/amsynth/PKGBUILD @@ -0,0 +1,26 @@ +# Mantainer: Guest One <theguestone at gmail dot com> + +pkgname=amsynth +pkgver=1.3.2 +pkgrel=1 +pkgdesc="Analogue Modeling SYNTHesizer" +arch=('i686') +url="http://code.google.com/p/amsynth/" +license=('GPL') +depends=('gtkmm' 'jack') +source=(http://amsynth.googlecode.com/files/amSynth-${pkgver}.tar.gz) +md5sums=('991329e433bb8c496f9ca5158faf0bca') + +build() { + cd ${srcdir}/amSynth-${pkgver} + + sed -i -e 's|/amSynth|/amsynth|' src/main.cc + + autoreconf --force --install + ./configure --prefix=/usr + make + + install -Dm755 src/amSynth ${pkgdir}/usr/bin/amSynth + mkdir -p ${pkgdir}/usr/share/${pkgname} + install -m644 skel/{Controllersrc,presets} ${pkgdir}/usr/share/${pkgname}/ +} diff --git a/pcr/ha-heartbeat/PKGBUILD b/pcr/ha-heartbeat/PKGBUILD new file mode 100644 index 000000000..10ef5def3 --- /dev/null +++ b/pcr/ha-heartbeat/PKGBUILD @@ -0,0 +1,66 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=ha-heartbeat +_pkgname=${pkgname:3} +pkgver=3.0.5 +_pkgver=${pkgver::1}_${pkgver:2:1} +pkgrel=2 +pkgdesc='Daemon that provides cluster infrastructure services to its clients' +arch=( + i686 + x86_64 + mips64el +) +url=http://linux-ha.org/wiki/${_pkgname^} +license=GPL +makedepends=docbook-xsl +depends=( + gnutls + ha-glue +) +options=( + '!emptydirs' + '!libtool' + strip +) +source=( + http://hg.linux-ha.org/$_pkgname-STABLE_$_pkgver/archive/STABLE-$pkgver.tar.bz2 + $pkgname.service +) +sha512sums=( + e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d + d14013b4ee133ed07e17fa6e09cae1f9f7bdbabaadfda9b9bb8ed25d4d5ff2f3d419f344195c6d5211da33293d5fe5ad64dbc8be6e1a02f7fa21563f54907a20 +) + +prepare() { + cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.in + mv configure.{in,ac} +} + +build() { + cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver + setarch $CARCH ./bootstrap + setarch $CARCH ./configure --prefix=/usr\ + --enable-fatal-warnings=no\ + --enable-static=no\ + --libdir=/usr/lib\ + --sysconfdir=/etc + setarch $CARCH make +} + +package() { + cd $srcdir/${_pkgname^}-3-0-STABLE-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + for py in `grep -r -l "\#\!\/usr\/bin\/python" $pkgdir`;do + sed -i.bk 's:/usr/bin/python$:/usr/bin/python2:g' $py + done + for py in `grep -r -l "\#\!\/usr\/bin\/env python" $pkgdir`;do + sed -i.bk 's:/usr/bin/env python$:/usr/bin/env python2:g' $py + done + #end python path correction + + install -d $pkgdir/usr/lib/systemd/system + install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system +} diff --git a/pcr/ha-heartbeat/ha-heartbeat.service b/pcr/ha-heartbeat/ha-heartbeat.service new file mode 100644 index 000000000..aacde3dbb --- /dev/null +++ b/pcr/ha-heartbeat/ha-heartbeat.service @@ -0,0 +1,10 @@ +[Unit] +Description=Startup script high-availability services. +Requires=network.target remote-fs.target timers.target + +[Service] +Type=forking +ExecStart=/usr/lib/heartbeat/heartbeat + +[Install] +WantedBy=multi-user.target diff --git a/pcr/ha-resourceagent/PKGBUILD b/pcr/ha-resourceagent/PKGBUILD new file mode 100644 index 000000000..a1588664b --- /dev/null +++ b/pcr/ha-resourceagent/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=ha-resourceagent +_pkgname=${pkgname:3} +_xname=${_pkgname::8} +_yname=${_pkgname:8} +_Name=${_xname^}_${_yname^} +_name=${_xname}-${_yname}s +pkgver=3.9.5 +pkgrel=1 +pkgdesc='A standardized interface for a cluster resource' +arch=( + i686 + x86_64 + mips64el +) +url=http://linux-ha.org/wiki/$_Name +license=GPL +depends=ha-glue +source=( + https://github.com/ClusterLabs/$_name/archive/v$pkgver.tar.gz + ha-ldirector.service +) +sha512sums=( + 668955de7a80577a1fb599d03b0a47589a00aed3017b532931b5132b877e45778c590f26d3057ee763c35973b0f6b032e2f74ebdf0b5f45b5e402b0f13b8ff4e + 9e257b31305657a5164eebf6893d84496ef5dc5e80058dda5cd250c847c8247e10410cca99f0a481fa461487198fa59640e09d1e81fc3199a54f3ec85c56d9a3 +) + +prepare() { + cd $srcdir/$_name-$pkgver + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac +} + +build() { + cd $srcdir/$_name-$pkgver + ./autogen.sh + ./configure --prefix=/usr\ + --libdir=/usr/lib\ + --localstatedir=/var\ + --sysconfdir=/etc + setarch $CARCH make +} + +package() { + cd $srcdir/$_name-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install + + #python path correction + for py in `grep -r -l "\#\!\/usr\/bin\/python" $pkgdir`;do + sed -i 's:/usr/bin/python$:/usr/bin/python2:g' $py + done + for py in `grep -r -l "\#\!\/usr\/bin\/env python" $pkgdir`;do + sed -i 's:/usr/bin/env python$:/usr/bin/env python2:g' $py + done + #end python path correction + + install -d $pkgdir/usr/lib/systemd/system + install -Dm644 $srcdir/ha-ldirector.service $pkgdir/usr/lib/systemd/system +} diff --git a/pcr/ha-resourceagent/ha-ldirector.service b/pcr/ha-resourceagent/ha-ldirector.service new file mode 100644 index 000000000..c5809a216 --- /dev/null +++ b/pcr/ha-resourceagent/ha-ldirector.service @@ -0,0 +1,10 @@ +[Unit] +Description=Non-heartbeat systems service, that manages the Linux Virtual Server component for TCP/UDP load-balancing. +Requires=network.target remote-fs.target + +[Service] +Type=forking +ExecStart=/usr/sbin/ldirectord + +[Install] +WantedBy=multi-user.target diff --git a/pcr/skanlite/PKGBUILD b/pcr/skanlite/PKGBUILD index 42a164785..b0fa953e5 100644 --- a/pcr/skanlite/PKGBUILD +++ b/pcr/skanlite/PKGBUILD @@ -4,7 +4,7 @@ pkgname=skanlite pkgver=1.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="Image Scanning Application for KDE" arch=('i686' 'x86_64') url='http://www.kde.org/applications/graphics/skanlite' |