From a4b5b2ef76078f4d544193bb09713f8e5dcafe53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aur=C3=A9lien=20Larcher?= Date: Thu, 4 Feb 2016 17:15:24 +0100 Subject: [PATCH] Add libXvMC 1.0.9 from x-s12 --- components/x11/libXvMC/Makefile | 53 ++++++++++++++++++++++++++++++++++ components/x11/libXvMC/libXvMC.license | 20 +++++++++++++ components/x11/libXvMC/libXvMC.p5m | 52 +++++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 components/x11/libXvMC/Makefile create mode 100644 components/x11/libXvMC/libXvMC.license create mode 100644 components/x11/libXvMC/libXvMC.p5m diff --git a/components/x11/libXvMC/Makefile b/components/x11/libXvMC/Makefile new file mode 100644 index 000000000..4ee54b8c2 --- /dev/null +++ b/components/x11/libXvMC/Makefile @@ -0,0 +1,53 @@ +# +# This file and its contents are supplied under the terms of the +# 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 +# http://www.illumos.org/license/CDDL. +# + +# +# Copyright 2015 Aurelien Larcher +# + +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= libXvMC +COMPONENT_VERSION= 1.0.9 +COMPONENT_FMRI= x11/library/libxvmc +COMPONENT_CLASSIFICATION= System/X11 +COMPONENT_SUMMARY= libXvMC - X Video Motion Compensation library +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 +COMPONENT_ARCHIVE_HASH= \ + sha256:0703d7dff6ffc184f1735ca5d4eb9dbb402b522e08e008f2f96aee16c40a5756 +COMPONENT_ARCHIVE_URL= \ + http://www.x.org/releases/individual/lib/$(COMPONENT_ARCHIVE) +COMPONENT_PROJECT_URL = http://www.x.org/ +COMPONENT_LICENSE= MIT License +COMPONENT_LICENSE_FILE= libXvMC.license + +include $(WS_TOP)/make-rules/prep.mk +include $(WS_TOP)/make-rules/configure.mk +include $(WS_TOP)/make-rules/ips.mk + +PATH=/usr/gnu/bin:/usr/bin + +COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i ) + +CONFIGURE_OPTIONS+= --disable-static +CONFIGURE_OPTIONS+= --enable-shared + +build: $(BUILD_32_and_64) + +install: $(INSTALL_32_and_64) + +test: $(NO_TESTS) + + +REQUIRED_PACKAGES += system/library +REQUIRED_PACKAGES += x11/library/libx11 +REQUIRED_PACKAGES += x11/library/libxext diff --git a/components/x11/libXvMC/libXvMC.license b/components/x11/libXvMC/libXvMC.license new file mode 100644 index 000000000..0b161edca --- /dev/null +++ b/components/x11/libXvMC/libXvMC.license @@ -0,0 +1,20 @@ +Copyright (c) 2004 The Unichrome project. All rights reserved. + + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHOR(S) OR COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/components/x11/libXvMC/libXvMC.p5m b/components/x11/libXvMC/libXvMC.p5m new file mode 100644 index 000000000..12cc11f65 --- /dev/null +++ b/components/x11/libXvMC/libXvMC.p5m @@ -0,0 +1,52 @@ +# +# This file and its contents are supplied under the terms of the +# 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 +# http://www.illumos.org/license/CDDL. +# + +# +# Copyright 2016 Aurelien Larcher +# + +set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_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)' + + set action.hash usr/share/man/man3/%<\1> > + +link path=usr/X11/lib/$(MACH64)/libXvMC.so target=../../../lib/$(MACH64)/libXvMC.so +link path=usr/X11/lib/$(MACH64)/libXvMC.so.1 target=../../../lib/$(MACH64)/libXvMC.so.1 +link path=usr/X11/lib/$(MACH64)/libXvMCW.so target=../../../lib/$(MACH64)/libXvMCW.so +link path=usr/X11/lib/$(MACH64)/libXvMCW.so.1 target=../../../lib/$(MACH64)/libXvMCW.so.1 +link path=usr/X11/lib/libXvMC.so target=../../lib/libXvMC.so +link path=usr/X11/lib/libXvMC.so.1 target=../../lib/libXvMC.so.1 +link path=usr/X11/lib/libXvMCW.so target=../../lib/libXvMCW.so +link path=usr/X11/lib/libXvMCW.so.1 target=../../lib/libXvMCW.so.1 + +file path=usr/include/X11/extensions/XvMClib.h +link path=usr/lib/$(MACH64)/libXvMC.so target=libXvMC.so.1.0.0 +link path=usr/lib/$(MACH64)/libXvMC.so.1 target=libXvMC.so.1.0.0 +file path=usr/lib/$(MACH64)/libXvMC.so.1.0.0 +link path=usr/lib/$(MACH64)/libXvMCW.so target=libXvMCW.so.1.0.0 +link path=usr/lib/$(MACH64)/libXvMCW.so.1 target=libXvMCW.so.1.0.0 +file path=usr/lib/$(MACH64)/libXvMCW.so.1.0.0 +file path=usr/lib/$(MACH64)/pkgconfig/xvmc.pc +link path=usr/lib/libXvMC.so target=libXvMC.so.1.0.0 +link path=usr/lib/libXvMC.so.1 target=libXvMC.so.1.0.0 +file path=usr/lib/libXvMC.so.1.0.0 +link path=usr/lib/libXvMCW.so target=libXvMCW.so.1.0.0 +link path=usr/lib/libXvMCW.so.1 target=libXvMCW.so.1.0.0 +file path=usr/lib/libXvMCW.so.1.0.0 +file path=usr/lib/pkgconfig/xvmc.pc +file path=usr/share/doc/libXvMC/XvMC_API.txt -- 2.11.4.GIT