Skip to content

Commit

Permalink
libtyranny-1.0.0+git20221225 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 11, 2025
1 parent 48bcf46 commit 6059d1a
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 0 deletions.
66 changes: 66 additions & 0 deletions libtyranny/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
libtyranny
------------------------------------------
Implementation of the missing half of libyaml

Runtime requirements:
cygwin-3.5.4-1
libtyranny-devel-1.0.0+git20221225-1bl1
libtyranny1-1.0.0+git20221225-1bl1
libyaml-devel-0.2.5-1
libyaml0_2-0.2.5-1
pkg-config-2.3.0-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.43.1-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libyaml-devel-0.2.5-1
meson-1.3.2-1
ninja-1.12.0-1

Canonical website:
https://github.com/frozencemetery/libtyranny

Canonical download:
https://github.com/frozencemetery/libtyranny.git

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

Build instructions:
1. unpack libtyranny-1.0.0+git20221225-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./libtyranny-1.0.0+git20221225-X.cygport all

This will create:
/usr/src/libtyranny-1.0.0+git20221225-X-src.tar.xz
/usr/src/libtyranny-1.0.0+git20221225-X.tar.xz
/usr/src/libtyranny1-1.0.0+git20221225-X.tar.xz
/usr/src/libtyranny-devel-1.0.0+git20221225-X.tar.xz

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

Files included in the binary package:

(libtyranny)
/usr/bin/tyranny.exe
/usr/share/doc/Cygwin/libtyranny.README
/usr/share/doc/libtyranny/LICENSE
/usr/share/doc/libtyranny/README.md

(libtyranny1)
/usr/bin/cygtyranny-1.dll

(libtyranny-devel)
/usr/include/tyranny.h
/usr/lib/libtyranny.dll.a
/usr/lib/pkgconfig/tyranny.pc

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

Port Notes:

----- version 1.0.0+git20221225-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
45 changes: 45 additions & 0 deletions libtyranny/libtyranny-1.0.0+git20221225-1bl1.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
HOMEPAGE="https://github.com/frozencemetery/${PN}"
GIT_URI="https://github.com/frozencemetery/${PN}.git"
GIT_REV="414b14c65003279203a2fc9a0210e84033d036f7"

CATEGORY="Libs"
SUMMARY="Implementation of the missing half of libyaml"
DESCRIPTION="${SUMMARY}"

LICENSE="MPL-2.0"
LICENSE_SPDX="SPDX-License-Identifier: MPL-2.0"
LICENSE_URI="LICENSE"

BUILD_REQUIRES="libyaml-devel"

inherit git
inherit meson

src_install()
{
cd ${S}
meson_install

cd ${CHOST}
dobin tyranny.exe
}

PKG_NAMES="
libtyranny
libtyranny1
libtyranny-devel
"
libtyranny_CONTENTS="
usr/bin/*.exe
usr/share
"
libtyranny1_CONTENTS="
usr/bin/cyg*-1.dll
"
libtyranny_devel_CONTENTS="
usr/include
usr/lib
"
libtyranny_SUMMARY="${SUMMARY} (utilities)"
libtyranny1_SUMMARY="${SUMMARY} (runtime)"
libtyranny_devel_SUMMARY="${SUMMARY} (development)"
10 changes: 10 additions & 0 deletions libtyranny/libtyranny-1.0.0+git20221225-1bl1.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- origsrc/libtyranny/meson.build 2025-01-12 00:41:14.000000000 +0900
+++ src/libtyranny/meson.build 2025-01-12 00:41:52.622799500 +0900
@@ -20,6 +20,7 @@ inc = include_directories('.')
libtyranny = library('tyranny', 'lib.c',
include_directories: inc,
dependencies: deps,
+ soversion: 1,
install: true)
pkg = import('pkgconfig')
pkg.generate(libtyranny)

0 comments on commit 6059d1a

Please sign in to comment.