From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id 9BC69384F034 for ; Mon, 6 Feb 2023 12:22:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9BC69384F034 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from HP-Z230 (aj135041.dynamic.ppp.asahi-net.or.jp [220.150.135.41]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 316CMPDA017215 for ; Mon, 6 Feb 2023 21:22:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 316CMPDA017215 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1675686145; bh=K8HnuLoNLJsgWHpG6d0IGY7XxZsKQIJ+ME+uP4DlHdg=; h=Date:From:To:Subject:In-Reply-To:References:From; b=L9uO8GjEem2qOp98JCpbdsOvaaWqQcwFy2CdBI/+LZZwDFdPj5V8KD4ux2/TZmzvG HhDW2OJiRk60RjQB2XPlnct9Yj/cobNJfDdOhx6cEK4C/SA6vUULEeiTztYCG0muQq EVRxnYDKafZ+MHnGPIw22/yIUqyuHn87W66/Rb7pD/L+FbH+Q1iBs3hfvqDoCw4c4k 9n/jb0ZIsLJ627P0C4cg31eKwej1/pUffIvRbagRQ2f81K6piNJ/Sja6yeGbMnZ5Dh d+gvOHse6+G69PubilQiT5pYwyirsNBudETd0DBHN1ow881yPIlYDoXy7r1ddlFNGY CNePpvv+cS8gQ== X-Nifty-SrcIP: [220.150.135.41] Date: Mon, 6 Feb 2023 21:22:25 +0900 From: Takashi Yano To: "cygwin-apps@cygwin.com" Subject: Re: [ITP] openh264 (2.3.1) Message-Id: <20230206212225.7b6f1362d9be54125bdfc14c@nifty.ne.jp> In-Reply-To: References: <20230205173745.cf6aa7153ce8eae1dfd52c4c@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Mon__6_Feb_2023_21_22_25_+0900_WOwIEPldqRcyEDWi" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a multi-part message in MIME format. --Multipart=_Mon__6_Feb_2023_21_22_25_+0900_WOwIEPldqRcyEDWi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 5 Feb 2023 16:36:21 +0000 Jon Turney wrote: > On 05/02/2023 08:37, Takashi Yano via Cygwin-apps wrote: > > I would like to propose new package openh264, which is > > a H264 video codec library. This is needed by ffmpeg > > package I had proposed, and also provided for ffmpeg-free > > package in fedora. > > > > I already prepared the package at the following location. > > > > https://tyan0.yr32.net/cygwin/x86_64/release/openh264/ > > libopenh264 contains a libopenh264.dll file. This doesn't match the > naming convention for cygwin DLLs. This might need patching in the make > machinery somewhere. As Yaakov mentioned, it seems that binary libopenh264 package cannot be distributed as a cygwin package, so I re-package it so that it includes only the header files. Please check attached cygport file. -- Takashi Yano --Multipart=_Mon__6_Feb_2023_21_22_25_+0900_WOwIEPldqRcyEDWi Content-Type: text/plain; name="openh264.cygport" Content-Disposition: attachment; filename="openh264.cygport" Content-Transfer-Encoding: 7bit NAME="openh264" VERSION=2.3.1 RELEASE=1 CATEGORY="Video" SUMMARY="H.264 codec library (headers only)" DESCRIPTION="OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC. This package has only headers. If you need library binary itself, you can download it from https://github.com/cisco/openh264/." HOMEPAGE="https://www.openh264.org/" LICENSE="BSD-2-Clause" ARCH="noarch" # This is noarch because it's just header files. SRC_URI="${NAME}-headers-${VERSION}.tar.xz" # Make dummy source file for prep if the cleaned one is not exist. if [ ! -f ${SRC_URI} ] then mkdir ${NAME}-${VERSION} touch ${NAME}-${VERSION}/dummy tar acf ${SRC_URI} ${NAME}-${VERSION} rm -rf ${NAME}-${VERSION} fi CYGPORT_USE_UNSTABLE_API=1 src_unpack_hook() { if [ $(tar tvf ../../../${SRC_URI} | wc -l) -eq 2 ] # Source file is dummy then NV=${NAME}-${VERSION} pushd .. rm -rf ${NV} # Remove dummy source file. # Download original source file. wget https://github.com/cisco/openh264/archive/refs/tags/v${VERSION}.tar.gz tar xf v${VERSION}.tar.gz rm -f v${VERSION}.tar.gz # Make source file which has only necessary header files. tar acf ../../${NAME}-headers-${VERSION}.tar.xz ${NV}/codec/api/wels/*.h # Update source directory. rm -rf ${NV} tar xf ../../${NAME}-headers-${VERSION}.tar.xz popd fi } PKG_NAMES="libopenh264-headers" libopenh264_headers_CATEGORY="Video Devel" libopenh264_headers_CONTENTS="usr/include" src_compile() { : } src_install() { mkdir -p ${D}/usr/include ln -fs ${S}/codec/api/wels ${D}/usr/include/. } --Multipart=_Mon__6_Feb_2023_21_22_25_+0900_WOwIEPldqRcyEDWi--