From 7f9719f4b9f5e8f3786ffa50c6855b9570d28e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 6 Sep 2020 07:30:56 +0700 Subject: [PATCH] opencc: update to 1.1.1. Build with CMAKE_BUILD_TYPE None, and python3 --- common/shlibs | 2 +- srcpkgs/opencc/template | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common/shlibs b/common/shlibs index bea5b504701..8a759d4b62a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3186,7 +3186,7 @@ libopenglrecorder.so.0 libopenglrecorder-0.1.0_1 libgpod.so.4 libgpod-0.8.3_1 libi2c.so.0 i2c-tools-4.0_1 libmarisa.so.0 marisa-0.2.5_1 -libopencc.so.2 opencc-1.0.5_1 +libopencc.so.1.1 opencc-1.1.1_1 librime.so.1 librime-1.2.9_1 libairspy.so.0 libairspy-1.0.9_1 libKF5KDcraw.so.5 libkdcraw5-17.04.3_1 diff --git a/srcpkgs/opencc/template b/srcpkgs/opencc/template index 8f703a373e1..2c5ed770713 100644 --- a/srcpkgs/opencc/template +++ b/srcpkgs/opencc/template @@ -1,16 +1,17 @@ # Template file for 'opencc' pkgname=opencc -version=1.0.5 -revision=2 +version=1.1.1 +revision=1 wrksrc=OpenCC-ver.${version} -hostmakedepends="python" build_style=cmake +configure_args="-DCMAKE_BUILD_TYPE=None -DENABLE_GTEST=ON" +hostmakedepends="python3" short_desc="Library for Open Chinese Convert" maintainer="Yuxuan Shui " license="Apache-2.0" -distfiles="https://github.com/BYVoid/OpenCC/archive/ver.${version}.tar.gz" homepage="https://github.com/BYVoid/OpenCC/" -checksum=1ce1649ba280cfc88bb76e740be5f54b29a9c034400c97a3ae211c37d7030705 +distfiles="https://github.com/BYVoid/OpenCC/archive/ver.${version}.tar.gz" +checksum=2d4987dc84275f252d47bc6d8c81b452f6a6e82caa26f284c854a8153ccf5933 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" opencc"