Date: Tuesday, March 7, 2023 @ 07:52:46
Author: bgyorgy
Revision: 1416680
archrelease: copy trunk to community-x86_64
Added:
libmms/repos/community-x86_64/PKGBUILD
(from rev 1416679, libmms/trunk/PKGBUILD)
libmms/repos/community-x86_64/libmms-Remove-requires-glib2.0.patch
(from rev 1416679, libmms/trunk/libmms-Remove-requires-glib2.0.patch)
Deleted:
libmms/repos/community-x86_64/PKGBUILD
--------------------------------------+
PKGBUILD | 54 ++++++++++++++++++---------------
libmms-Remove-requires-glib2.0.patch | 21 ++++++++++++
2 files changed, 52 insertions(+), 23 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-07 07:35:55 UTC (rev 1416679)
+++ PKGBUILD 2023-03-07 07:52:46 UTC (rev 1416680)
@@ -1,23 +0,0 @@
-#Maintainer: Jan de Groot <[email protected]>
-
-pkgname=libmms
-pkgver=0.6.4
-pkgrel=3
-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')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: libmms/repos/community-x86_64/PKGBUILD (from rev 1416679,
libmms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-07 07:52:46 UTC (rev 1416680)
@@ -0,0 +1,31 @@
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=libmms
+pkgver=0.6.4
+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
+ 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
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libmms/repos/community-x86_64/libmms-Remove-requires-glib2.0.patch
(from rev 1416679, libmms/trunk/libmms-Remove-requires-glib2.0.patch)
===================================================================
--- libmms-Remove-requires-glib2.0.patch (rev 0)
+++ libmms-Remove-requires-glib2.0.patch 2023-03-07 07:52:46 UTC (rev
1416680)
@@ -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}