Skip to content

Commit

Permalink
liblightstone-1.5+git20120116 (rebuild with gcc-12.4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Feb 9, 2025
1 parent 9428e54 commit ae84314
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 26 deletions.
27 changes: 15 additions & 12 deletions liblightstone/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ liblightstone
------------------------------------------
This is a C-based development library for the Lightstone, a Biometric USB
device distributed with the Journey to Wild Divine Relaxation Software
(http://www.wilddivine.com)
(https://wilddivine.com/)

Runtime requirements:
cygwin-2.9.0-3
liblightstone-devel-1.5+git20120116-1bl1
liblightstone1.5.0-1.5+git20120116-1bl1
cygwin-3.5.7-1
liblightstone-devel-1.5+git20120116-1bl2
liblightstone1.5.0-1.5+git20120116-1bl2
libusb1.0-1.0.21-1
pkg-config-0.29.1-1
pkg-config-2.3.0-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.29-1
cmake-3.6.2-1
cygport-0.25.0-1
gcc-core-6.4.0-4
make-4.2.1-2
python-2.7.14-1
binutils-2.44-1
cmake-3.28.3-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libusb1.0-devel-1.0.21-1
ninja-1.12.1-1

Canonical website:
https://github.com/qdot/liblightstone

Canonical download:
git://github.com/qdot/liblightstone.git
https://github.com/qdot/liblightstone.git

-------------------------------------------

Expand Down Expand Up @@ -65,5 +65,8 @@ Files included in the binary package:

Port Notes:

----- version 1.5+git20120116-1bl2 -----
Rebuild with gcc-12.4.0

----- version 1.5+git20120116-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
HOMEPAGE="https://github.com/qdot/${PN}"
GIT_URI="git://github.com/qdot/${PN}.git"
GIT_URI="https://github.com/qdot/${PN}.git"
GIT_REV="11ac02eba7966ad786484ad6d63ff03d86e81e7e"

CATEGORY="Libs"
SUMMARY="Open Source Library for communicating with the Lightstone USB Biometrics Widget"
DESCRIPTION="This is a C-based development library for the Lightstone, a Biometric USB
device distributed with the Journey to Wild Divine Relaxation Software
(http://www.wilddivine.com)"
(https://wilddivine.com/)"

LICENSE="BSD-3-Clause"
LICENSE_SPDX="SPDX-License-Identifier: BSD-3-Clause"
LICENSE_URI="LICENSE.txt"

BUILD_REQUIRES="libusb1.0-devel"

CYGCMAKE_ARGS="
-DBUILD_STATIC:BOOL=OFF
Expand All @@ -15,6 +22,7 @@ inherit cmake
inherit git

DOCS="
ChangeLog.txt
README.asciidoc
"

Expand All @@ -28,7 +36,7 @@ liblightstone_CONTENTS="
usr/share
"
liblightstone1_5_0_CONTENTS="
usr/bin/*.dll
usr/bin/cyg*-1.5.0.dll
"
liblightstone_devel_CONTENTS="
usr/include
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- origsrc/liblightstone/BuildSysCMakeLib.cmake 2017-12-02 23:59:28.000000000 +0900
+++ src/liblightstone/BuildSysCMakeLib.cmake 2017-12-03 00:13:15.530000000 +0900
--- origsrc/liblightstone/BuildSysCMakeLib.cmake 2025-02-09 07:11:28.000000000 +0900
+++ src/liblightstone/BuildSysCMakeLib.cmake 2025-02-09 07:11:30.075261000 +0900
@@ -327,12 +327,12 @@ FUNCTION(BUILDSYS_BUILD_LIB)

# Installation commands
Expand All @@ -15,21 +15,21 @@
ENDIF()

# Rewrite of install_name_dir in apple binaries
--- origsrc/liblightstone/CMakeLists.txt 2017-12-02 23:59:28.000000000 +0900
+++ src/liblightstone/CMakeLists.txt 2017-12-03 00:10:17.109999800 +0900
--- origsrc/liblightstone/CMakeLists.txt 2025-02-09 07:11:28.000000000 +0900
+++ src/liblightstone/CMakeLists.txt 2025-02-09 07:12:58.053235400 +0900
@@ -74,3 +74,10 @@ ENDIF(BUILD_STATIC AND APPLE)
ADD_SUBDIRECTORY(include)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(examples)
+
+SET(prefix ${CMAKE_INSTALL_PREFIX})
+SET(exec_prefix ${CMAKE_INSTALL_PREFIX})
+SET(libdir ${CMAKE_INSTALL_PREFIX}/lib)
+SET(includedir ${CMAKE_INSTALL_PREFIX}/include)
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/liblightstone.pc.in ${CMAKE_BINARY_DIR}/liblightstone.pc @ONLY)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/liblightstone.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
+set(prefix ${CMAKE_INSTALL_PREFIX})
+set(exec_prefix ${CMAKE_INSTALL_PREFIX})
+set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
+set(includedir ${CMAKE_INSTALL_PREFIX}/include)
+configure_file(${CMAKE_SOURCE_DIR}/liblightstone.pc.in ${CMAKE_BINARY_DIR}/liblightstone.pc @ONLY)
+install(FILES ${CMAKE_BINARY_DIR}/liblightstone.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
--- origsrc/liblightstone/liblightstone.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/liblightstone/liblightstone.pc.in 2017-12-03 00:10:53.125000000 +0900
+++ src/liblightstone/liblightstone.pc.in 2025-02-09 07:11:30.075261000 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
Expand Down

0 comments on commit ae84314

Please sign in to comment.