Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/woff2 woff2: install binaries, not just libraries.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b061010b608
branches:  trunk
changeset: 436052:6b061010b608
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Jul 26 07:54:45 2020 +0000

description:
woff2: install binaries, not just libraries.

bump PKGREVISION

diffstat:

 fonts/woff2/Makefile                     |   3 ++-
 fonts/woff2/PLIST                        |   5 ++++-
 fonts/woff2/distinfo                     |   3 ++-
 fonts/woff2/patches/patch-CMakeLists.txt |  19 +++++++++++++++++++
 4 files changed, 27 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r f8004980a385 -r 6b061010b608 fonts/woff2/Makefile
--- a/fonts/woff2/Makefile      Sun Jul 26 05:22:51 2020 +0000
+++ b/fonts/woff2/Makefile      Sun Jul 26 07:54:45 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/05/15 11:46:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/26 07:54:45 maya Exp $
 
 DISTNAME=      woff2-1.0.2
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r f8004980a385 -r 6b061010b608 fonts/woff2/PLIST
--- a/fonts/woff2/PLIST Sun Jul 26 05:22:51 2020 +0000
+++ b/fonts/woff2/PLIST Sun Jul 26 07:54:45 2020 +0000
@@ -1,4 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2018/04/28 09:40:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/26 07:54:45 maya Exp $
+bin/woff2_compress
+bin/woff2_decompress
+bin/woff2_info
 include/woff2/decode.h
 include/woff2/encode.h
 include/woff2/output.h
diff -r f8004980a385 -r 6b061010b608 fonts/woff2/distinfo
--- a/fonts/woff2/distinfo      Sun Jul 26 05:22:51 2020 +0000
+++ b/fonts/woff2/distinfo      Sun Jul 26 07:54:45 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/04/28 09:40:39 wiz Exp $
+$NetBSD: distinfo,v 1.2 2020/07/26 07:54:45 maya Exp $
 
 SHA1 (woff2-1.0.2.tar.gz) = bab4838b248026c968e171a5467b5176caf4e2e5
 RMD160 (woff2-1.0.2.tar.gz) = fbfd0a3771df1d31eb32db6f12b6b00ee9f458f3
 SHA512 (woff2-1.0.2.tar.gz) = c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d
 Size (woff2-1.0.2.tar.gz) = 38934 bytes
+SHA1 (patch-CMakeLists.txt) = 1ec110379f53ff0716b3938a1c16de10e6f30398
diff -r f8004980a385 -r 6b061010b608 fonts/woff2/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/woff2/patches/patch-CMakeLists.txt  Sun Jul 26 07:54:45 2020 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/07/26 07:54:45 maya Exp $
+
+always install woff2* binaries.
+
+--- CMakeLists.txt.orig        2017-11-13 18:31:28.000000000 +0000
++++ CMakeLists.txt
+@@ -260,12 +260,10 @@ generate_pkg_config ("${CMAKE_CURRENT_BI
+   LIBRARIES woff2enc)
+ 
+ # Installation
+-if (NOT BUILD_SHARED_LIBS)
+   install(
+     TARGETS woff2_decompress woff2_compress woff2_info
+     RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+   )
+-endif()
+ 
+ install(
+   TARGETS woff2common woff2dec woff2enc



Home | Main Index | Thread Index | Old Index