diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/rosegarden | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/rosegarden')
-rw-r--r-- | unmaintained/rosegarden/APKBUILD | 47 | ||||
-rw-r--r-- | unmaintained/rosegarden/nearbyintf.patch | 13 |
2 files changed, 60 insertions, 0 deletions
diff --git a/unmaintained/rosegarden/APKBUILD b/unmaintained/rosegarden/APKBUILD new file mode 100644 index 0000000000..8f0724b26c --- /dev/null +++ b/unmaintained/rosegarden/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=rosegarden +pkgver=15.10 +pkgrel=0 +pkgdesc="MIDI, audio and notation editor" +url="http://www.rosegardenmusic.com/" +arch="all" +license="GPLv2+" +depends="" +depends_dev="" +makedepends="alsa-lib-dev qt-dev libsamplerate-dev libsndfile-dev ladspa-dev + jack-dev liblo-dev dssi-dev liblrdf-dev fftw-dev makedepend" +install="" +subpackages="" +source="http://downloads.sourceforge.net/project/rosegarden/rosegarden/$pkgver/rosegarden-$pkgver.tar.bz2 + nearbyintf.patch" + +_builddir="$srcdir"/rosegarden-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="6423f90ae392ff3673578ddc10020efd rosegarden-15.10.tar.bz2 +622bfa38a28010bbffcaa2a64c8ade92 nearbyintf.patch" +sha256sums="d07984eaff16afbb5bd1dbf09b185b568fe8b193dd27c4efdf82e32e02f89f0b rosegarden-15.10.tar.bz2 +d27e66d5378b5b73cbbc706f13d083aa5dbbbaa217591f426016dffbd04fb117 nearbyintf.patch" +sha512sums="f9935960e58c2518aeed7d15b7af4dbc1aaa0e94b73ade3609de47ce116538e8b6dc28d3f565acfbfe014e37012435f1e92ad19574203fe3e6bf0e68019e3dfd rosegarden-15.10.tar.bz2 +7e60c1a560be21bcb1cb08503237a54564bceb372abd7984c9c7f6a8e5b87cb449f3e296a9f7d99a51db64daabd6fd24a6267a3d82bc9f8920345ab52a432630 nearbyintf.patch" diff --git a/unmaintained/rosegarden/nearbyintf.patch b/unmaintained/rosegarden/nearbyintf.patch new file mode 100644 index 0000000000..d8d2a706e2 --- /dev/null +++ b/unmaintained/rosegarden/nearbyintf.patch @@ -0,0 +1,13 @@ +uclibc does not have nearbyintf + +--- ./src/gui/widgets/Fader.cpp.orig ++++ ./src/gui/widgets/Fader.cpp +@@ -222,7 +222,7 @@ + if (m_integral) { + float sliderLength = float(m_sliderMax) - float(m_sliderMin); + position = +- int(nearbyintf(sliderLength * (value - float(m_min)) / float(m_max - m_min) + 0.1)); ++ int(nearbyint(sliderLength * (value - float(m_min)) / float(m_max - m_min) + 0.1)); + } else { + position = + AudioLevel::dB_to_fader |