[arch-commits] Commit in libmms/trunk (PKGBUILD libmms-0.5-this-keyword.patch)

Jan de Groot jgc at archlinux.org
Tue Aug 2 15:22:23 UTC 2011


    Date: Tuesday, August 2, 2011 @ 11:22:22
  Author: jgc
Revision: 134220

upgpkg: libmms 0.6.2-1
Update to 0.6.2, remove old patch

Modified:
  libmms/trunk/PKGBUILD
Deleted:
  libmms/trunk/libmms-0.5-this-keyword.patch

-------------------------------+
 PKGBUILD                      |   21 +++++++++++----------
 libmms-0.5-this-keyword.patch |   18 ------------------
 2 files changed, 11 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-02 15:16:15 UTC (rev 134219)
+++ PKGBUILD	2011-08-02 15:22:22 UTC (rev 134220)
@@ -2,23 +2,24 @@
 #Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libmms
-pkgver=0.6
+pkgver=0.6.2
 pkgrel=1
 pkgdesc="MMS stream protocol library"
 arch=(i686 x86_64)
 url="http://sourceforge.net/projects/libmms/"
 license=(LGPL)
-depends=('glib2>=2.24.1')
+depends=('glib2')
 options=('!libtool')
-source=(http://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz
-        libmms-0.5-this-keyword.patch)
-md5sums=('650ad04a4c8bd79246390b81b29680b6'
-         '5266259060f5723d8ee639b8a541f835')
+source=(http://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz)
+md5sums=('9f63aa363deb4874e072a45850161bff')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/libmms-0.5-this-keyword.patch" || return 1
-  ./configure --prefix=/usr --disable-static || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr --disable-static
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Deleted: libmms-0.5-this-keyword.patch
===================================================================
--- libmms-0.5-this-keyword.patch	2011-08-02 15:16:15 UTC (rev 134219)
+++ libmms-0.5-this-keyword.patch	2011-08-02 15:22:22 UTC (rev 134220)
@@ -1,18 +0,0 @@
-diff -Nurp libmms-0.5.orig//src/mmsx.h libmms-0.5//src/mmsx.h
---- libmms-0.5.orig//src/mmsx.h	2010-03-03 11:42:14.000000000 +0100
-+++ libmms-0.5//src/mmsx.h	2010-03-03 11:42:46.000000000 +0100
-@@ -55,11 +55,11 @@ int       mmsx_peek_header (mmsx_t *inst
- 
- mms_off_t mmsx_get_current_pos (mmsx_t *instance);
- 
--uint32_t  mmsx_get_asf_header_len (mmsx_t *this);
-+uint32_t  mmsx_get_asf_header_len (mmsx_t *instance);
- 
--uint64_t  mmsx_get_asf_packet_len (mmsx_t *this);
-+uint64_t  mmsx_get_asf_packet_len (mmsx_t *instance);
- 
--int       mmsx_get_seekable (mmsx_t *this);
-+int       mmsx_get_seekable (mmsx_t *instance);
- 
- #ifdef __cplusplus
- }




More information about the arch-commits mailing list