Date: Tuesday, March 7, 2023 @ 00:39:21
  Author: bgyorgy
Revision: 1416544

upgpkg: libmms 0.6.4-4: Add upstream patch to remove Requires:

Added:
  libmms/trunk/libmms-Remove-requires-glib2.0.patch
Modified:
  libmms/trunk/PKGBUILD

--------------------------------------+
 PKGBUILD                             |   16 ++++++++++++----
 libmms-Remove-requires-glib2.0.patch |   21 +++++++++++++++++++++
 2 files changed, 33 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-07 00:32:28 UTC (rev 1416543)
+++ PKGBUILD    2023-03-07 00:39:21 UTC (rev 1416544)
@@ -1,16 +1,24 @@
-#Maintainer: Jan de Groot <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
 
 pkgname=libmms
 pkgver=0.6.4
-pkgrel=3
+pkgrel=4
 pkgdesc="MMS stream protocol library"
 arch=(x86_64)
 url="https://sourceforge.net/projects/libmms/";
 license=(LGPL)
 depends=('glibc')
-source=(https://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f')
+source=(https://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz
+        libmms-Remove-requires-glib2.0.patch)
+sha256sums=('3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f'
+            '5c4e8d2e0d8f623d692d855e8de3e88e6da1e3748523fdc661a029ec1aff33a1')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  # Remove "Requires: glib-2.0" since libmms no longer depends on GLib.
+  patch -Np1 -i ../libmms-Remove-requires-glib2.0.patch
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --disable-static

Added: libmms-Remove-requires-glib2.0.patch
===================================================================
--- libmms-Remove-requires-glib2.0.patch                                (rev 0)
+++ libmms-Remove-requires-glib2.0.patch        2023-03-07 00:39:21 UTC (rev 
1416544)
@@ -0,0 +1,21 @@
+From b9bbe17c08e5dcbe3ce841e6bed52ce8d8b10f9e Mon Sep 17 00:00:00 2001
+From: John Lindgren <[email protected]>
+Date: Thu, 29 May 2014 22:42:53 -0400
+Subject: Remove "Requires: glib-2.0" since libmms no longer depends on GLib.
+
+Signed-off-by: Hans de Goede <[email protected]>
+
+diff --git a/pkgconfig/libmms.pc.in b/pkgconfig/libmms.pc.in
+index 602c967..a86d15a 100644
+--- a/pkgconfig/libmms.pc.in
++++ b/pkgconfig/libmms.pc.in
+@@ -4,8 +4,7 @@ libdir=@libdir@
+ includedir=@includedir@/
+ 
+ Name: libmms
+-Description: Library implementing the MMS protocol 
+-Requires: glib-2.0
++Description: Library implementing the MMS protocol
+ Version: @VERSION@
+ Libs: -L${libdir} -lmms -lm
+ Cflags: -I${includedir}

Reply via email to