mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libcotp: update to 2.0.1, adopt
This commit is contained in:
parent
2fa07f6fcb
commit
eaa423a95d
3 changed files with 8 additions and 22 deletions
|
@ -3558,7 +3558,7 @@ libwlroots.so.9 wlroots0.14-0.14.1_1
|
||||||
libwlroots.so.10 wlroots0.15-0.15.1_1
|
libwlroots.so.10 wlroots0.15-0.15.1_1
|
||||||
libwlroots.so.11 wlroots-0.16.0_1
|
libwlroots.so.11 wlroots-0.16.0_1
|
||||||
libbaseencode.so.1 libbaseencode-1.0.9_1
|
libbaseencode.so.1 libbaseencode-1.0.9_1
|
||||||
libcotp.so.12 libcotp-1.2.1_1
|
libcotp.so.2 libcotp-2.0.1_1
|
||||||
libunarr.so.1 libunarr-1.0.1_1
|
libunarr.so.1 libunarr-1.0.1_1
|
||||||
libretro-gtk-1.so.0 retro-gtk-1.0.0_1
|
libretro-gtk-1.so.0 retro-gtk-1.0.0_1
|
||||||
libmanette-0.2.so.0 libmanette-0.2.1_1
|
libmanette-0.2.so.0 libmanette-0.2.1_1
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
Index: libcotp-1.2.2/CMakeLists.txt
|
|
||||||
===================================================================
|
|
||||||
--- libcotp-1.2.2.orig/CMakeLists.txt
|
|
||||||
+++ libcotp-1.2.2/CMakeLists.txt
|
|
||||||
@@ -25,8 +25,7 @@ set(CMAKE_C_STANDARD 11)
|
|
||||||
set(COTP_HEADERS src/cotp.h)
|
|
||||||
set(SOURCE_FILES src/otp.c)
|
|
||||||
|
|
||||||
-set(CMAKE_C_FLAGS "-Wall -Wextra -O3 -Wno-format-truncation -fstack-protector-strong -fPIC")
|
|
||||||
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3")
|
|
||||||
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-format-truncation -fstack-protector-strong -fPIC")
|
|
||||||
|
|
||||||
add_library(cotp SHARED ${SOURCE_FILES})
|
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'libcotp'
|
# Template file for 'libcotp'
|
||||||
pkgname=libcotp
|
pkgname=libcotp
|
||||||
version=1.2.8
|
version=2.0.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libbaseencode-devel libgcrypt-devel"
|
makedepends="libgcrypt-devel"
|
||||||
short_desc="Library for generating TOTP and HOTP"
|
short_desc="Library for generating TOTP and HOTP"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Emil Miler <em@0x45.cz>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/paolostivanin/libcotp"
|
homepage="https://github.com/paolostivanin/libcotp"
|
||||||
distfiles="https://github.com/paolostivanin/libcotp/archive/v${version}.tar.gz"
|
distfiles="https://github.com/paolostivanin/libcotp/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=78dab6a2ee08e73f1d052dcb7c1ad069cc37fdf600f3f660d8e6299e11218f0b
|
checksum=b111d528bbde7c1a0a392f49293b25ae33e6e78fbcbe378e0cf8bc6d59743d11
|
||||||
|
|
||||||
libcotp-devel_package() {
|
libcotp-devel_package() {
|
||||||
depends="libcotp-${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue