[arch-commits] Commit in lmms/repos (8 files)

Felix Yan fyan at archlinux.org
Mon Dec 7 15:30:13 UTC 2015


    Date: Monday, December 7, 2015 @ 16:30:13
  Author: fyan
Revision: 149970

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  lmms/repos/community-staging-i686/
  lmms/repos/community-staging-i686/PKGBUILD
    (from rev 149969, lmms/trunk/PKGBUILD)
  lmms/repos/community-staging-i686/lmms.install
    (from rev 149969, lmms/trunk/lmms.install)
  lmms/repos/community-staging-i686/make-werrror-optional.patch
    (from rev 149969, lmms/trunk/make-werrror-optional.patch)
  lmms/repos/community-staging-x86_64/
  lmms/repos/community-staging-x86_64/PKGBUILD
    (from rev 149969, lmms/trunk/PKGBUILD)
  lmms/repos/community-staging-x86_64/lmms.install
    (from rev 149969, lmms/trunk/lmms.install)
  lmms/repos/community-staging-x86_64/make-werrror-optional.patch
    (from rev 149969, lmms/trunk/make-werrror-optional.patch)

------------------------------------------------------+
 community-staging-i686/PKGBUILD                      |   49 +++++++++++++++++
 community-staging-i686/lmms.install                  |   11 +++
 community-staging-i686/make-werrror-optional.patch   |   22 +++++++
 community-staging-x86_64/PKGBUILD                    |   49 +++++++++++++++++
 community-staging-x86_64/lmms.install                |   11 +++
 community-staging-x86_64/make-werrror-optional.patch |   22 +++++++
 6 files changed, 164 insertions(+)

Copied: lmms/repos/community-staging-i686/PKGBUILD (from rev 149969, lmms/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-07 15:30:13 UTC (rev 149970)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Storyteller <spiralsorrow at hotmail.com>
+
+pkgname=lmms
+pkgver=1.1.3
+pkgrel=2
+pkgdesc='The Linux MultiMedia Studio.'
+arch=('i686' 'x86_64')
+url='http://lmms.sourceforge.net/'
+license=('GPL')
+depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt4' 'sdl_sound'
+         'libsamplerate' 'shared-mime-info' 'fltk')
+optdepends=('wine: VST support (experimental)'
+            'fftw: SpectrumAnalyzer plugin'
+            'stk: STK instruments plugins'
+            'pulseaudio: PulseAudio output')
+makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk' 'wine')
+makedepends_x86_64=('gcc-multilib')
+provides=('lmms-extras')
+conflicts=('lmms-extras')
+options=('!makeflags')
+install=lmms.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz"
+        "make-werrror-optional.patch")
+md5sums=('88d9e66d240b711c37315e3c9da644a1'
+         '2c6e51b665c34fa61dc8b23e129404a9')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
+
+  patch -Np1 -i ../make-werrror-optional.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+}

Copied: lmms/repos/community-staging-i686/lmms.install (from rev 149969, lmms/trunk/lmms.install)
===================================================================
--- community-staging-i686/lmms.install	                        (rev 0)
+++ community-staging-i686/lmms.install	2015-12-07 15:30:13 UTC (rev 149970)
@@ -0,0 +1,11 @@
+post_install() {
+  update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: lmms/repos/community-staging-i686/make-werrror-optional.patch (from rev 149969, lmms/trunk/make-werrror-optional.patch)
===================================================================
--- community-staging-i686/make-werrror-optional.patch	                        (rev 0)
+++ community-staging-i686/make-werrror-optional.patch	2015-12-07 15:30:13 UTC (rev 149970)
@@ -0,0 +1,22 @@
+From 9cc1a5931c34535436a2fb82e51031121b3a53d1 Mon Sep 17 00:00:00 2001
+From: Lukas W <lukaswhl at gmail.com>
+Date: Thu, 22 Jan 2015 12:39:20 +0100
+Subject: [PATCH] Make -Werror optional
+
+---
+ CMakeLists.txt                | 3 ++-
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4cb7407..a526df3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -358,7 +358,8 @@ CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/plugins/zynaddsubfx/zynaddsubfx.rc.in" "${CM
+ 
+ # set compiler flags
+ SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow")
+-IF(NOT LMMS_BUILD_APPLE)
++OPTION(USE_WERROR "Add -werror to the build flags. Stops the build on warnings" OFF)
++IF(${USE_WERROR})
+    SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
+ ENDIF()
+ 

Copied: lmms/repos/community-staging-x86_64/PKGBUILD (from rev 149969, lmms/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-07 15:30:13 UTC (rev 149970)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Storyteller <spiralsorrow at hotmail.com>
+
+pkgname=lmms
+pkgver=1.1.3
+pkgrel=2
+pkgdesc='The Linux MultiMedia Studio.'
+arch=('i686' 'x86_64')
+url='http://lmms.sourceforge.net/'
+license=('GPL')
+depends=('sdl' 'glib2' 'fluidsynth' 'libpng' 'libvorbis' 'libxft' 'libxinerama' 'qt4' 'sdl_sound'
+         'libsamplerate' 'shared-mime-info' 'fltk')
+optdepends=('wine: VST support (experimental)'
+            'fftw: SpectrumAnalyzer plugin'
+            'stk: STK instruments plugins'
+            'pulseaudio: PulseAudio output')
+makedepends=('cmake' 'ladspa' 'libxft' 'freetype2' 'fftw' 'stk' 'wine')
+makedepends_x86_64=('gcc-multilib')
+provides=('lmms-extras')
+conflicts=('lmms-extras')
+options=('!makeflags')
+install=lmms.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/LMMS/${pkgname}/archive/v${pkgver}.tar.gz"
+        "make-werrror-optional.patch")
+md5sums=('88d9e66d240b711c37315e3c9da644a1'
+         '2c6e51b665c34fa61dc8b23e129404a9')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
+
+  patch -Np1 -i ../make-werrror-optional.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr -USE=vst
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+}

Copied: lmms/repos/community-staging-x86_64/lmms.install (from rev 149969, lmms/trunk/lmms.install)
===================================================================
--- community-staging-x86_64/lmms.install	                        (rev 0)
+++ community-staging-x86_64/lmms.install	2015-12-07 15:30:13 UTC (rev 149970)
@@ -0,0 +1,11 @@
+post_install() {
+  update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: lmms/repos/community-staging-x86_64/make-werrror-optional.patch (from rev 149969, lmms/trunk/make-werrror-optional.patch)
===================================================================
--- community-staging-x86_64/make-werrror-optional.patch	                        (rev 0)
+++ community-staging-x86_64/make-werrror-optional.patch	2015-12-07 15:30:13 UTC (rev 149970)
@@ -0,0 +1,22 @@
+From 9cc1a5931c34535436a2fb82e51031121b3a53d1 Mon Sep 17 00:00:00 2001
+From: Lukas W <lukaswhl at gmail.com>
+Date: Thu, 22 Jan 2015 12:39:20 +0100
+Subject: [PATCH] Make -Werror optional
+
+---
+ CMakeLists.txt                | 3 ++-
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4cb7407..a526df3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -358,7 +358,8 @@ CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/plugins/zynaddsubfx/zynaddsubfx.rc.in" "${CM
+ 
+ # set compiler flags
+ SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow")
+-IF(NOT LMMS_BUILD_APPLE)
++OPTION(USE_WERROR "Add -werror to the build flags. Stops the build on warnings" OFF)
++IF(${USE_WERROR})
+    SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
+ ENDIF()
+ 



More information about the arch-commits mailing list