Andreas Wacknitz
2023-04-22 0873e8cc000a400f8c62c767bc51e95012dcbacc
rebuild gst-plugins-good after flac update

1 files added
4 files modified
94 ■■■■ changed files
components/multimedia/gst-plugins-good/Makefile 33 ●●●●● patch | view | raw | blame | history
components/multimedia/gst-plugins-good/gstreamer-plugin-good.p5m 15 ●●●● patch | view | raw | blame | history
components/multimedia/gst-plugins-good/manifests/sample-manifest.p5m 5 ●●●● patch | view | raw | blame | history
components/multimedia/gst-plugins-good/patches/12-fix-include.patch 39 ●●●●● patch | view | raw | blame | history
components/multimedia/gst-plugins-good/pkg5 2 ●●● patch | view | raw | blame | history
components/multimedia/gst-plugins-good/Makefile
@@ -14,32 +14,30 @@
# Copyright 2019 Tim Mooney.
#
BUILD_BITS= 32_and_64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= gst-plugins-good
COMPONENT_VERSION= 0.10.31
COMPONENT_REVISION= 5
COMPONENT_REVISION= 6
COMPONENT_SUMMARY= GNOME streaming media framework plugins
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
COMPONENT_ARCHIVE_HASH= \
  sha256:77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64
COMPONENT_ARCHIVE_URL= \
  http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL = http://gstreamer.freedesktop.org/
COMPONENT_ARCHIVE_HASH= sha256:77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64
COMPONENT_ARCHIVE_URL=    https://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL = https://gstreamer.freedesktop.org/
COMPONENT_FMRI = library/audio/gstreamer/plugin/good
COMPONENT_CLASSIFICATION = System/Multimedia Libraries
COMPONENT_LICENSE = LGPLv2
COMPONENT_LICENSE_FILE = COPYING
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
include $(WS_MAKE_RULES)/common.mk
COMPONENT_PREP_ACTION =        ( cd $(SOURCE_DIR) && aclocal -I ./m4 -I./common/m4 &&\
                                        autoheader &&\
                                        automake -a -f -c --gnu &&\
                                        autoconf )
COMPONENT_PREP_ACTION = ( cd $(SOURCE_DIR) && aclocal -I ./m4 -I./common/m4 && \
    autoheader && \
    automake -a -f -c --gnu && \
    autoconf )
gcc_OPT = -O2
PATH = $(PATH.gnu)
@@ -65,18 +63,13 @@
COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
# Auto-generated dependencies
REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
REQUIRED_PACKAGES += audio/wavpack
REQUIRED_PACKAGES += codec/flac
REQUIRED_PACKAGES += codec/speex
REQUIRED_PACKAGES += compress/bzip2
REQUIRED_PACKAGES += gnome/config/gconf
REQUIRED_PACKAGES += image/library/libjpeg8-turbo
REQUIRED_PACKAGES += image/library/libpng16
REQUIRED_PACKAGES += library/aalib
REQUIRED_PACKAGES += library/audio/gstreamer
components/multimedia/gst-plugins-good/gstreamer-plugin-good.p5m
@@ -1,10 +1,11 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
@@ -13,15 +14,17 @@
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license="$(COMPONENT_LICENSE)"
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
<transform file path=usr/share/locale/([^/]+)(\..+){0,1}(/.+){0,1} -> default facet.locale.%<\1> true>
<transform path=.+/lib/.+\.a -> drop>
file path=etc/gconf/schemas/gstreamer-0.10.schemas preserve=renameold
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstaasink.so
@@ -36,6 +39,7 @@
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstautodetect.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstavi.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstcairo.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstcdda2wav.a
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstcdda2wav.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstcutter.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstdebug.so
@@ -85,6 +89,7 @@
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstvideofilter.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstvideomixer.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstwavenc.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstwavpack.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstwavparse.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstximagesrc.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgsty4menc.so
@@ -100,6 +105,7 @@
file path=usr/lib/gstreamer-0.10/libgstautodetect.so
file path=usr/lib/gstreamer-0.10/libgstavi.so
file path=usr/lib/gstreamer-0.10/libgstcairo.so
file path=usr/lib/gstreamer-0.10/libgstcdda2wav.a
file path=usr/lib/gstreamer-0.10/libgstcdda2wav.so
file path=usr/lib/gstreamer-0.10/libgstcutter.so
file path=usr/lib/gstreamer-0.10/libgstdebug.so
@@ -149,6 +155,7 @@
file path=usr/lib/gstreamer-0.10/libgstvideofilter.so
file path=usr/lib/gstreamer-0.10/libgstvideomixer.so
file path=usr/lib/gstreamer-0.10/libgstwavenc.so
file path=usr/lib/gstreamer-0.10/libgstwavpack.so
file path=usr/lib/gstreamer-0.10/libgstwavparse.so
file path=usr/lib/gstreamer-0.10/libgstximagesrc.so
file path=usr/lib/gstreamer-0.10/libgsty4menc.so
components/multimedia/gst-plugins-good/manifests/sample-manifest.p5m
@@ -10,10 +10,11 @@
#
#
# Copyright 2016 <contributor>
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
@@ -85,6 +86,7 @@
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstvideofilter.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstvideomixer.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstwavenc.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstwavpack.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstwavparse.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgstximagesrc.so
file path=usr/lib/$(MACH64)/gstreamer-0.10/libgsty4menc.so
@@ -150,6 +152,7 @@
file path=usr/lib/gstreamer-0.10/libgstvideofilter.so
file path=usr/lib/gstreamer-0.10/libgstvideomixer.so
file path=usr/lib/gstreamer-0.10/libgstwavenc.so
file path=usr/lib/gstreamer-0.10/libgstwavpack.so
file path=usr/lib/gstreamer-0.10/libgstwavparse.so
file path=usr/lib/gstreamer-0.10/libgstximagesrc.so
file path=usr/lib/gstreamer-0.10/libgsty4menc.so
components/multimedia/gst-plugins-good/patches/12-fix-include.patch
New file
@@ -0,0 +1,39 @@
This patch is needed with newer gnu-make.
See https://bugs.gentoo.org/show_bug.cgi?id=705974
Adapted from https://www.gentoofan.org/gentoo/misc/gst/gst-plugins-good-1.16.2-make43.patch
--- gst-plugins-good-0.10.31/common/glib-gen.mak.orig    2011-12-11 20:10:47.000000000 +0100
+++ gst-plugins-good-0.10.31/common/glib-gen.mak    2023-04-21 23:17:39.432349564 +0200
@@ -1,11 +1,13 @@
 # these are the variables your Makefile.am should set
 # the example is based on the colorbalance interface
+H := \#
+
 #glib_enum_headers=$(colorbalance_headers)
 #glib_enum_define=GST_COLOR_BALANCE
 #glib_enum_prefix=gst_color_balance
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
 # these are all the rules generating the relevant files
 %-marshal.h: %-marshal.list
--- gst-plugins-good-0.10.31/common/gst-glib-gen.mak.orig    2011-12-11 20:10:47.000000000 +0100
+++ gst-plugins-good-0.10.31/common/gst-glib-gen.mak    2023-04-21 23:20:13.260456997 +0200
@@ -1,12 +1,14 @@
 # these are the variables your Makefile.am should set
 # the example is based on the colorbalance interface
+H := \#
+
 #glib_enum_headers=$(colorbalance_headers)
 #glib_enum_define=GST_COLOR_BALANCE
 #glib_gen_prefix=gst_color_balance
 #glib_gen_basename=colorbalance
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
 # these are all the rules generating the relevant files
 $(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
components/multimedia/gst-plugins-good/pkg5
@@ -1,6 +1,6 @@
{
    "dependencies": [
        "SUNWcs",
        "audio/wavpack",
        "codec/flac",
        "codec/speex",
        "compress/bzip2",