Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Justin Berthault
aports
Commits
cea65495
Commit
cea65495
authored
May 24, 2020
by
Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/opencc: upgrade to 1.1.1
parent
0fca3956
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
27 deletions
+13
-27
testing/opencc/APKBUILD
testing/opencc/APKBUILD
+13
-13
testing/opencc/python3.patch
testing/opencc/python3.patch
+0
-14
No files found.
testing/opencc/APKBUILD
View file @
cea65495
...
...
@@ -2,35 +2,35 @@
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname
=
opencc
_pkgname
=
OpenCC
pkgver
=
1.
0.5
pkgrel
=
1
pkgver
=
1.
1.1
pkgrel
=
0
pkgdesc
=
"Open Chinese Convert"
url
=
"http://opencc.byvoid.com/"
arch
=
"all"
license
=
"Apache-2.0"
makedepends
=
"cmake doxygen python3"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"
$pkgname
-ver.
$pkgver
.tar.gz::https://github.com/BYVoid/
$_pkgname
/archive/ver.
$pkgver
.tar.gz
python3.patch
"
source
=
"
$pkgname
-ver.
$pkgver
.tar.gz::https://github.com/BYVoid/
$_pkgname
/archive/ver.
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-ver.
$pkgver
"
build
()
{
mkdir
build
&&
cd
build
cmake ..
-DCMAKE_BUILD_TYPE
=
None
\
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake
-B
build
\
-DCMAKE_BUILD_TYPE
=
None
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DBUILD_DOCUMENTATION
=
on
\
-DBUILD_TESTING
=
off
make
-DBUILD_TESTING
=
off
\
.
$CMAKE_CROSSOPTS
make
-C
build
}
package
()
{
cd
build
make
DESTDIR
=
"
$pkgdir
"
install
make
-C
build
DESTDIR
=
"
$pkgdir
"
install
mkdir
-p
"
$pkgdir
"
-doc
/usr/share/doc
mv
"
$pkgdir
"
/usr/share/
$pkgname
/doc
"
$pkgdir
"
-doc
/usr/share/doc/
$pkgname
}
sha512sums
=
"3fbefbafe5c3c2491032158577ab97b5a3edf6ea98a03a7250deba082b72c3112ad4a3396d1a469936ec32e1d141f0a2236001c2891ac9c793add2b082596cc1 opencc-ver.1.0.5.tar.gz
337176f438e0938b898deeb46ba9494c7510fc3a769852ad81cc9b0018d23240a2a1190b6d0f7bad686c967a2ce323cc4d8fe5c71678d678f53a58ba671c45ce python3.patch"
sha512sums
=
"48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363 opencc-ver.1.1.1.tar.gz"
testing/opencc/python3.patch
deleted
100644 → 0
View file @
0fca3956
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 1516775..3989bad 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,6 +1,6 @@
set(OPENCC_DICT_BIN opencc_dict)
-set(DICT_MERGE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py)
-set(DICT_REVERSE_BIN python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py)
+set(DICT_MERGE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/merge.py)
+set(DICT_REVERSE_BIN python3 ${CMAKE_CURRENT_SOURCE_DIR}/scripts/reverse.py)
set(DICT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dictionary)
set(DICT_GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment