From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 930E6158086 for ; Wed, 22 Dec 2021 20:25:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77D392BC009; Wed, 22 Dec 2021 20:25:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FF232BC00D for ; Wed, 22 Dec 2021 20:25:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7CF9342E31 for ; Wed, 22 Dec 2021 20:25:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94ADE219 for ; Wed, 22 Dec 2021 20:25:16 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1640204702.e8a0601218b33c6cf81039017917e1449d415cda.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/apngasm/, media-gfx/apngasm/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/apngasm/Manifest media-gfx/apngasm/apngasm-3.1.10.ebuild media-gfx/apngasm/files/apngasm-3.1.10-static.patch X-VCS-Directories: media-gfx/apngasm/ media-gfx/apngasm/files/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: e8a0601218b33c6cf81039017917e1449d415cda X-VCS-Branch: master Date: Wed, 22 Dec 2021 20:25:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 18111bdc-c1ac-462a-8207-ebc55bd204a7 X-Archives-Hash: 11113ca31611db0e79db326da218d9cc commit: e8a0601218b33c6cf81039017917e1449d415cda Author: Stephan Hartmann gentoo org> AuthorDate: Wed Dec 22 20:24:23 2021 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Wed Dec 22 20:25:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a06012 media-gfx/apngasm: bump to 3.1.10 Bug: https://bugs.gentoo.org/824830 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Stephan Hartmann gentoo.org> media-gfx/apngasm/Manifest | 1 + media-gfx/apngasm/apngasm-3.1.10.ebuild | 40 ++++++++++++++++ .../apngasm/files/apngasm-3.1.10-static.patch | 55 ++++++++++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/media-gfx/apngasm/Manifest b/media-gfx/apngasm/Manifest index 1c19c3e95c96..d29bfb20fae9 100644 --- a/media-gfx/apngasm/Manifest +++ b/media-gfx/apngasm/Manifest @@ -1 +1,2 @@ DIST apngasm-2.91-src.zip 597267 BLAKE2B a34a765fef49aa0ac29973b8dc450bfcdfe7aa83dffe19919f916a136db3d0bfebf3c1fac79bfb81a3900cee87afd888469e5432500d181a9539696b4573a42b SHA512 2415389a989f7a7ff7f3e1328f7920c7515c9a492c89ef216ff53db68fe2f1a674ff60d5f4bfd5a8c710f625456557ae7d5b25f486ac826e3113976cd9fc11dc +DIST apngasm-3.1.10.tar.gz 620031 BLAKE2B 6885b87815e76e8b9eed58548568bf821dfdf61579f83fc1aa977638f34c2112ebbfebba3454b0a2cfc01b465e570a7976e0fb8046a0762e9d35cf30e3d3f4cd SHA512 670d75251ddc771f9b2b4a1f401066f2012a6814bec781b918f1d9e8960835654c66c3d19b4c8920d5186d85af12cdc4bba8b61c8f3d349b4fc70513d8ecb34e diff --git a/media-gfx/apngasm/apngasm-3.1.10.ebuild b/media-gfx/apngasm/apngasm-3.1.10.ebuild new file mode 100644 index 000000000000..15fc7a28415d --- /dev/null +++ b/media-gfx/apngasm/apngasm-3.1.10.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="create an APNG from multiple PNG files" +HOMEPAGE="https://github.com/apngasm/apngasm" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/boost:= + media-libs/libpng:0= + sys-libs/zlib:= +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-3.1.10-static.patch" +) + +src_prepare() { + sed -i -e 's|man/man1|share/man/man1|g' cli/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + -DJAVA=OFF + -DRUBY=OFF + ) + cmake_src_configure +} diff --git a/media-gfx/apngasm/files/apngasm-3.1.10-static.patch b/media-gfx/apngasm/files/apngasm-3.1.10-static.patch new file mode 100644 index 000000000000..a624d03278f3 --- /dev/null +++ b/media-gfx/apngasm/files/apngasm-3.1.10-static.patch @@ -0,0 +1,55 @@ +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -55,18 +55,6 @@ set_target_properties(${APNGASM_DYNAMIC_LIB_TARGET} + CXX_STANDARD 20 + ) + +-# Add the static library/archive +-set(APNGASM_STATIC_LIB_TARGET apngasm-static) +-add_library(${APNGASM_STATIC_LIB_TARGET} +- ${APNGASM_SOURCES} +-) +-set_target_properties(${APNGASM_STATIC_LIB_TARGET} +- PROPERTIES +- POSITION_INDEPENDENT_CODE TRUE +- OUTPUT_NAME apngasm +- CXX_STANDARD 20 +-) +- + # Add libraries/includes + #target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} stdc++fs) + #target_link_libraries(${APNGASM_STATIC_LIB_TARGET} stdc++fs) +@@ -74,11 +62,9 @@ set_target_properties(${APNGASM_STATIC_LIB_TARGET} + find_package(PNG REQUIRED) + include_directories(${PNG_INCLUDE_DIR}) + target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} ${PNG_LIBRARY}) +-target_link_libraries(${APNGASM_STATIC_LIB_TARGET} ${PNG_LIBRARY}) + message(${PNG_VERSION_STRING}) + + target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} ${ZLIB_LIBRARIES}) +-target_link_libraries(${APNGASM_STATIC_LIB_TARGET} ${ZLIB_LIBRARIES}) + + #if (APPLE OR WIN32) + # set(Boost_USE_STATIC_LIBS ON) +@@ -88,13 +74,10 @@ target_link_libraries(${APNGASM_STATIC_LIB_TARGET} ${ZLIB_LIBRARIES}) + find_package(Boost REQUIRED COMPONENTS program_options regex system) + include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) + target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} Boost::program_options Boost::regex Boost::system) +-target_link_libraries(${APNGASM_STATIC_LIB_TARGET} Boost::program_options Boost::regex Boost::system) + + get_target_property(APNGASM_DYNAMIC_LIB_TARGET_NAME ${APNGASM_DYNAMIC_LIB_TARGET} OUTPUT_NAME) +-get_target_property(APNGASM_STATIC_LIB_TARGET_NAME ${APNGASM_STATIC_LIB_TARGET} OUTPUT_NAME) + set(APNGASM_LIBRARIES + ${PROJECT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}${APNGASM_DYNAMIC_LIB_TARGET_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX} +- ${PROJECT_BINARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}${APNGASM_STATIC_LIB_TARGET_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX} + ) + + # Installation +@@ -107,7 +90,6 @@ endif () + install( + TARGETS + ${APNGASM_DYNAMIC_LIB_TARGET} +- ${APNGASM_STATIC_LIB_TARGET} + DESTINATION ${LIB_INSTALL_DIR} + ) +