[arch-commits] Commit in portmidi/repos/extra-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Thu Jun 7 07:40:16 UTC 2018
Date: Thursday, June 7, 2018 @ 07:40:16
Author: arojas
Revision: 326182
archrelease: copy trunk to extra-x86_64
Added:
portmidi/repos/extra-x86_64/PKGBUILD
(from rev 326181, portmidi/trunk/PKGBUILD)
portmidi/repos/extra-x86_64/portmidi-217-build-fix.patch
(from rev 326181, portmidi/trunk/portmidi-217-build-fix.patch)
Deleted:
portmidi/repos/extra-x86_64/PKGBUILD
portmidi/repos/extra-x86_64/portmidi-217-build-fix.patch
------------------------------+
PKGBUILD | 88 ++++++++++++++++++++---------------------
portmidi-217-build-fix.patch | 58 +++++++++++++--------------
2 files changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 07:40:02 UTC (rev 326181)
+++ PKGBUILD 2018-06-07 07:40:16 UTC (rev 326182)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=portmidi
-pkgver=217
-pkgrel=5
-pkgdesc="Platform independent library for real-time MIDI input/output"
-arch=('i686' 'x86_64')
-url="http://portmedia.sourceforge.net/"
-license=('GPL')
-depends=('alsa-lib')
-makedepends=('cmake' 'java-environment')
-optdepends=('java-runtime: for using pmdefaults')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/project/portmedia/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.zip
- portmidi-217-build-fix.patch)
-sha1sums=('f45bf4e247c0d7617deacd6a65d23d9fddae6117'
- 'a89b80531ccc823ba267aaf21920e59deec80e99')
-
-prepare() {
- cd ${pkgname}
- sed -i "s#/usr/local#/usr#" */CMakeLists.txt pm_python/setup.py
- mkdir -p pm_java/Release
-
- # build fix for "pm_java/CMakeLists.txt" (fixes FS#27118)
- patch -p1 -i "${srcdir}/portmidi-217-build-fix.patch"
-}
-
-build() {
- cd ${pkgname}
- cmake . -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \
- -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \
- -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release
- make
-}
-
-package() {
- cd ${pkgname}
- make DESTDIR="${pkgdir}" install
-
- # Fix missing symlink for libporttime.so (FS#21528).
- ln -s libportmidi.so "${pkgdir}/usr/lib/libporttime.so"
-}
Copied: portmidi/repos/extra-x86_64/PKGBUILD (from rev 326181, portmidi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 07:40:16 UTC (rev 326182)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=portmidi
+pkgver=217
+pkgrel=6
+pkgdesc="Platform independent library for real-time MIDI input/output"
+arch=('x86_64')
+url="http://portmedia.sourceforge.net/"
+license=('GPL')
+depends=('alsa-lib')
+makedepends=('cmake' 'jdk8-openjdk')
+optdepends=('java-runtime: for using pmdefaults')
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/project/portmedia/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.zip
+ portmidi-217-build-fix.patch)
+sha1sums=('f45bf4e247c0d7617deacd6a65d23d9fddae6117'
+ 'a89b80531ccc823ba267aaf21920e59deec80e99')
+
+prepare() {
+ cd ${pkgname}
+ sed -i "s#/usr/local#/usr#" */CMakeLists.txt pm_python/setup.py
+ mkdir -p pm_java/Release
+
+ # build fix for "pm_java/CMakeLists.txt" (fixes FS#27118)
+ patch -p1 -i "${srcdir}/portmidi-217-build-fix.patch"
+}
+
+build() {
+ cd ${pkgname}
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \
+ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \
+ -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release
+ make
+}
+
+package() {
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" install
+
+ # Fix missing symlink for libporttime.so (FS#21528).
+ ln -s libportmidi.so "${pkgdir}/usr/lib/libporttime.so"
+}
Deleted: portmidi-217-build-fix.patch
===================================================================
--- portmidi-217-build-fix.patch 2018-06-07 07:40:02 UTC (rev 326181)
+++ portmidi-217-build-fix.patch 2018-06-07 07:40:16 UTC (rev 326182)
@@ -1,29 +0,0 @@
-diff -rup portmidi.orig/pm_java/CMakeLists.txt portmidi/pm_java/CMakeLists.txt
---- portmidi.orig/pm_java/CMakeLists.txt 2009-11-04 16:20:44.000000000 +0100
-+++ portmidi/pm_java/CMakeLists.txt 2012-01-24 21:13:08.513182169 +0100
-@@ -15,13 +15,11 @@ if(UNIX)
- add_custom_command(OUTPUT pmdefaults/PmDefaultsFrame.class
- COMMAND javac -classpath . pmdefaults/PmDefaultsFrame.java
- MAIN_DEPENDENCY pmdefaults/PmDefaultsFrame.java
-- DEPENDS pmdefaults/PmDefaults.java
-- WORKING_DIRECTORY pm_java)
-+ DEPENDS pmdefaults/PmDefaults.java)
- add_custom_command(OUTPUT pmdefaults/PmDefaults.class
- COMMAND javac -classpath . pmdefaults/PmDefaults.java
- MAIN_DEPENDENCY pmdefaults/PmDefaults.java
-- DEPENDS pmdefaults/PmDefaultsFrame.java
-- WORKING_DIRECTORY pm_java)
-+ DEPENDS pmdefaults/PmDefaultsFrame.java)
- add_custom_command(OUTPUT ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar
- COMMAND cp pmdefaults/portmusic_logo.png .
- COMMAND jar cmf pmdefaults/manifest.txt pmdefaults.jar
-@@ -31,8 +29,7 @@ if(UNIX)
- COMMAND mv pmdefaults.jar ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
- COMMAND rm portmusic_logo.png
- MAIN_DEPENDENCY pmdefaults/PmDefaults.class
-- DEPENDS ${PMDEFAULTS_ALL_CLASSES}
-- WORKING_DIRECTORY pm_java)
-+ DEPENDS ${PMDEFAULTS_ALL_CLASSES})
- add_custom_target(pmdefaults_target ALL
- DEPENDS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar)
- # message(STATUS "add_custom_target: pmdefaults.jar")
Copied: portmidi/repos/extra-x86_64/portmidi-217-build-fix.patch (from rev 326181, portmidi/trunk/portmidi-217-build-fix.patch)
===================================================================
--- portmidi-217-build-fix.patch (rev 0)
+++ portmidi-217-build-fix.patch 2018-06-07 07:40:16 UTC (rev 326182)
@@ -0,0 +1,29 @@
+diff -rup portmidi.orig/pm_java/CMakeLists.txt portmidi/pm_java/CMakeLists.txt
+--- portmidi.orig/pm_java/CMakeLists.txt 2009-11-04 16:20:44.000000000 +0100
++++ portmidi/pm_java/CMakeLists.txt 2012-01-24 21:13:08.513182169 +0100
+@@ -15,13 +15,11 @@ if(UNIX)
+ add_custom_command(OUTPUT pmdefaults/PmDefaultsFrame.class
+ COMMAND javac -classpath . pmdefaults/PmDefaultsFrame.java
+ MAIN_DEPENDENCY pmdefaults/PmDefaultsFrame.java
+- DEPENDS pmdefaults/PmDefaults.java
+- WORKING_DIRECTORY pm_java)
++ DEPENDS pmdefaults/PmDefaults.java)
+ add_custom_command(OUTPUT pmdefaults/PmDefaults.class
+ COMMAND javac -classpath . pmdefaults/PmDefaults.java
+ MAIN_DEPENDENCY pmdefaults/PmDefaults.java
+- DEPENDS pmdefaults/PmDefaultsFrame.java
+- WORKING_DIRECTORY pm_java)
++ DEPENDS pmdefaults/PmDefaultsFrame.java)
+ add_custom_command(OUTPUT ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar
+ COMMAND cp pmdefaults/portmusic_logo.png .
+ COMMAND jar cmf pmdefaults/manifest.txt pmdefaults.jar
+@@ -31,8 +29,7 @@ if(UNIX)
+ COMMAND mv pmdefaults.jar ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
+ COMMAND rm portmusic_logo.png
+ MAIN_DEPENDENCY pmdefaults/PmDefaults.class
+- DEPENDS ${PMDEFAULTS_ALL_CLASSES}
+- WORKING_DIRECTORY pm_java)
++ DEPENDS ${PMDEFAULTS_ALL_CLASSES})
+ add_custom_target(pmdefaults_target ALL
+ DEPENDS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar)
+ # message(STATUS "add_custom_target: pmdefaults.jar")
More information about the arch-commits
mailing list