[arch-commits] Commit in portsmf/repos/extra-x86_64 (4 files)
David Runge
dvzrv at archlinux.org
Sat Dec 14 18:29:42 UTC 2019
Date: Saturday, December 14, 2019 @ 18:29:42
Author: dvzrv
Revision: 371498
archrelease: copy trunk to extra-x86_64
Added:
portsmf/repos/extra-x86_64/PKGBUILD
(from rev 371497, portsmf/trunk/PKGBUILD)
portsmf/repos/extra-x86_64/portsmf-shared.patch
(from rev 371497, portsmf/trunk/portsmf-shared.patch)
Deleted:
portsmf/repos/extra-x86_64/PKGBUILD
portsmf/repos/extra-x86_64/portsmf-shared.patch
----------------------+
PKGBUILD | 88 +++++++++++++++++++++++++------------------------
portsmf-shared.patch | 70 +++++++++++++++++++-------------------
2 files changed, 81 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-14 18:28:57 UTC (rev 371497)
+++ PKGBUILD 2019-12-14 18:29:42 UTC (rev 371498)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=portsmf
-pkgver=228
-pkgrel=3
-pkgdesc="Portable library for reading/writing Standard MIDI Files"
-arch=('x86_64')
-url="http://sourceforge.net/p/portmedia/wiki/portsmf/"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('subversion')
-options=('!staticlibs')
-source=(portsmf::svn+https://svn.code.sf.net/p/portmedia/code/portsmf/trunk#revision=$pkgver
- portsmf-shared.patch)
-sha512sums=('SKIP'
- 'f2961c2da2e5b08e60cbbf7c3d47687ce75ad4f6d7ee1c4f4a5ef1212ef928fe1c61212dc11081155117e2adf51c9ac280e21f791f1da87f69a0dec00605426a')
-
-pkgver() {
- cd $pkgname
- printf "%s" "$(svnversion | tr -d 'A-z')"
-}
-
-prepare() {
- cd $pkgname
- chmod 755 configure
- patch -p1 -i "${srcdir}/portsmf-shared.patch"
- autoreconf -f -i
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include/portsmf
- make
-}
-
-package() {
- cd $pkgname
- make DESTDIR="${pkgdir}" includedir=/usr/include/portsmf install
- install -D -m644 portSMF.pc "${pkgdir}/usr/lib/pkgconfig/portSMF.pc"
- install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: portsmf/repos/extra-x86_64/PKGBUILD (from rev 371497, portsmf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-14 18:29:42 UTC (rev 371498)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=portsmf
+pkgver=234
+pkgrel=1
+pkgdesc="Portable library for reading/writing Standard MIDI Files"
+arch=('x86_64')
+url="https://sourceforge.net/p/portmedia/wiki/portsmf/"
+license=('MIT')
+depends=('gcc-libs' 'glibc')
+makedepends=('subversion')
+provides=('libportSMF.so')
+options=('!staticlibs')
+source=("portsmf::svn+https://svn.code.sf.net/p/portmedia/code/portsmf/trunk#revision=$pkgver"
+ portsmf-shared.patch)
+sha512sums=('SKIP'
+ 'f2961c2da2e5b08e60cbbf7c3d47687ce75ad4f6d7ee1c4f4a5ef1212ef928fe1c61212dc11081155117e2adf51c9ac280e21f791f1da87f69a0dec00605426a')
+
+pkgver() {
+ cd $pkgname
+ printf "%s" "$(svnversion | tr -d 'A-z')"
+}
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i "${srcdir}/portsmf-shared.patch"
+ autoreconf -vfi
+ chmod 755 configure
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib \
+ --includedir=/usr/include/portsmf
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="${pkgdir}" includedir=/usr/include/portsmf install
+ install -vDm 644 portSMF.pc -t "${pkgdir}/usr/lib/pkgconfig/"
+ install -vDm 644 license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
Deleted: portsmf-shared.patch
===================================================================
--- portsmf-shared.patch 2019-12-14 18:28:57 UTC (rev 371497)
+++ portsmf-shared.patch 2019-12-14 18:29:42 UTC (rev 371498)
@@ -1,35 +0,0 @@
---- portsmf/configure.ac.orig 2013-06-22 20:54:59.000000000 +0200
-+++ portsmf/configure.ac 2013-06-22 21:52:25.212040115 +0200
-@@ -23,7 +23,7 @@
- dnl keep autools files in a subdirectory
- AC_CONFIG_AUX_DIR(autotools)
- # which also contains a subdir containing macros
--AC_CONFIG_MACRO_DIR([autotools/m4])
-+dnl AC_CONFIG_MACRO_DIR([autotools/m4])
- dnl set up automake
- AM_INIT_AUTOMAKE([-Wall foreign])
- dnl Audacity policy: don't enable automatic rebuild of configure et al if
-@@ -49,7 +49,7 @@
- dnl we will need an "install" program to be available
- AC_PROG_INSTALL
- dnl and ranlib for static libraries
--AC_PROG_RANLIB
-+AC_PROG_LIBTOOL
-
- dnl Make the install prefix available to the program so that the pkg-config file
- dnl can be created correctly
---- portsmf/Makefile.am.orig 2013-06-22 20:55:00.000000000 +0200
-+++ portsmf/Makefile.am 2013-06-22 21:52:52.898705781 +0200
-@@ -6,10 +6,10 @@
- ACLOCAL_AMFLAGS = -I autotools/m4
-
- # define the output library (link with -lportSMF)
--lib_LIBRARIES = libportSMF.a
-+lib_LTLIBRARIES = libportSMF.la
-
- # define the source files to use
--libportSMF_a_SOURCES = allegro.cpp \
-+libportSMF_la_SOURCES = allegro.cpp \
- allegrosmfwr.cpp \
- allegrord.cpp \
- allegrowr.cpp \
Copied: portsmf/repos/extra-x86_64/portsmf-shared.patch (from rev 371497, portsmf/trunk/portsmf-shared.patch)
===================================================================
--- portsmf-shared.patch (rev 0)
+++ portsmf-shared.patch 2019-12-14 18:29:42 UTC (rev 371498)
@@ -0,0 +1,35 @@
+--- portsmf/configure.ac.orig 2013-06-22 20:54:59.000000000 +0200
++++ portsmf/configure.ac 2013-06-22 21:52:25.212040115 +0200
+@@ -23,7 +23,7 @@
+ dnl keep autools files in a subdirectory
+ AC_CONFIG_AUX_DIR(autotools)
+ # which also contains a subdir containing macros
+-AC_CONFIG_MACRO_DIR([autotools/m4])
++dnl AC_CONFIG_MACRO_DIR([autotools/m4])
+ dnl set up automake
+ AM_INIT_AUTOMAKE([-Wall foreign])
+ dnl Audacity policy: don't enable automatic rebuild of configure et al if
+@@ -49,7 +49,7 @@
+ dnl we will need an "install" program to be available
+ AC_PROG_INSTALL
+ dnl and ranlib for static libraries
+-AC_PROG_RANLIB
++AC_PROG_LIBTOOL
+
+ dnl Make the install prefix available to the program so that the pkg-config file
+ dnl can be created correctly
+--- portsmf/Makefile.am.orig 2013-06-22 20:55:00.000000000 +0200
++++ portsmf/Makefile.am 2013-06-22 21:52:52.898705781 +0200
+@@ -6,10 +6,10 @@
+ ACLOCAL_AMFLAGS = -I autotools/m4
+
+ # define the output library (link with -lportSMF)
+-lib_LIBRARIES = libportSMF.a
++lib_LTLIBRARIES = libportSMF.la
+
+ # define the source files to use
+-libportSMF_a_SOURCES = allegro.cpp \
++libportSMF_la_SOURCES = allegro.cpp \
+ allegrosmfwr.cpp \
+ allegrord.cpp \
+ allegrowr.cpp \
More information about the arch-commits
mailing list