[arch-commits] Commit in portsmf/trunk (PKGBUILD portsmf-shared.patch)

Eric Bélanger eric at archlinux.org
Thu Apr 9 02:03:12 UTC 2015


    Date: Thursday, April 9, 2015 @ 04:03:12
  Author: eric
Revision: 235798

upgpkg: portsmf 228-1

Add new depends for audacity

Added:
  portsmf/trunk/portsmf-shared.patch
Modified:
  portsmf/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   12 ++++++++++--
 portsmf-shared.patch |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-09 01:11:00 UTC (rev 235797)
+++ PKGBUILD	2015-04-09 02:03:12 UTC (rev 235798)
@@ -11,8 +11,9 @@
 depends=('gcc-libs')
 makedepends=('subversion')
 options=('!staticlibs')
-source=(portsmf::svn+https://portmedia.svn.sourceforge.net/svnroot/portmedia/portsmf/trunk)
-sha1sums=('SKIP')
+source=(portsmf::svn+https://portmedia.svn.sourceforge.net/svnroot/portmedia/portsmf/trunk portsmf-shared.patch)
+sha1sums=('SKIP'
+          'd07104f2b62e1458b8ff40b27673d992431d801d')
 
 pkgver() {
   cd $pkgname
@@ -19,6 +20,13 @@
   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

Added: portsmf-shared.patch
===================================================================
--- portsmf-shared.patch	                        (rev 0)
+++ portsmf-shared.patch	2015-04-09 02:03:12 UTC (rev 235798)
@@ -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