]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- adds support for gstreamer codecs provides
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Wed, 31 Dec 2008 20:30:06 +0000 (20:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-gstreamer.patch -> 1.1

rpm-gstreamer.patch [new file with mode: 0644]

diff --git a/rpm-gstreamer.patch b/rpm-gstreamer.patch
new file mode 100644 (file)
index 0000000..0e7815d
--- /dev/null
@@ -0,0 +1,33 @@
+diff -urN rpm/lib/rpmfc.c rpm.new/lib/rpmfc.c
+--- rpm/lib/rpmfc.c    2008-12-28 13:38:03.000000000 +0100
++++ rpm.new/lib/rpmfc.c        2008-12-28 13:44:15.000000000 +0100
+@@ -960,13 +960,17 @@
+       /*@modifies rpmGlobalMacroContext, fileSystem, internalState @*/
+ {
+     const char * fn = fc->fn[fc->ix];
+-    int flags = 0;
++    int flags = 0, xx;
+     if (fc->skipProv)
+       flags |= RPMELF_FLAG_SKIPPROVIDES;
+     if (fc->skipReq)
+       flags |= RPMELF_FLAG_SKIPREQUIRES;
++    /* it may be gst plugin */
++    if (strstr(fn, "/gstreamer-"))
++      xx = rpmfcHelper(fc, 'P', "gstreamer");
++
+     return rpmdsELF(fn, flags, rpmfcMergePR, fc);
+ }
+diff -urN rpm/macros.in rpm.new/macros.in
+--- rpm/macros.in      2008-12-28 13:38:02.000000000 +0100
++++ rpm.new/macros.in  2008-12-28 15:18:46.000000000 +0100
+@@ -1505,5 +1505,7 @@
+ # helper is also used by %{_rpmhome}/rpmdeps --provides
+ %__mimetype_provides %{_rpmhome}/mimetypedeps.sh --provides
++%__gstreamer_provides %{nil}
++
+ # \endverbatim
+ #*/
This page took 0.041234 seconds and 4 git commands to generate.