diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-20 07:52:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-20 07:52:53 +0000 |
commit | 0c8ede87a5d0aa1ec25364a435296ec7aa8b9634 (patch) | |
tree | aa834aa906ba7174a8b7a975855d645742d684f3 /dev-cpp/libodb-sqlite | |
parent | 54d0ccbac3b6fbd01dcd252ea006d4e9e62f8e6e (diff) |
gentoo auto-resync : 20:12:2023 - 07:52:53
Diffstat (limited to 'dev-cpp/libodb-sqlite')
-rw-r--r-- | dev-cpp/libodb-sqlite/Manifest | 3 | ||||
-rw-r--r-- | dev-cpp/libodb-sqlite/libodb-sqlite-2.5.0_beta25.ebuild | 124 |
2 files changed, 127 insertions, 0 deletions
diff --git a/dev-cpp/libodb-sqlite/Manifest b/dev-cpp/libodb-sqlite/Manifest index 64d30a2115ac..368901592fef 100644 --- a/dev-cpp/libodb-sqlite/Manifest +++ b/dev-cpp/libodb-sqlite/Manifest @@ -2,8 +2,11 @@ AUX build2-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.p AUX build2-0.13.0_alpha0_pre20200710-nousrlocal.patch 1931 BLAKE2B 5faca35d7501cd0348910719286bcab2736cd94166db626bd77a62b90512ed6d99fbc2548a6ff30b0f5badecdcaa67a462a6ff11f51af8f9b9faba24fd8edefd SHA512 f57de10af06aa138a7c153e56d35b173a4804324557611baabb38ac00cfde0c8db2b59b57d5ad23a3f76877168745f1d40be1b7527241b47a163df4cc5879967 DIST build2-toolchain-0.13.0.tar.xz 4218940 BLAKE2B ed27290df21e5db843325b3e42c43c6934ce8f2b9b157538b921f9cfe3a7dccc3b56e261053373553cbd7fbff39e912ffe2282f812d0e6f158749ed5748d5e33 SHA512 0485872acd40beb700739b2995f76efcc9811dd52a38ee049576e45fcb5a7d7ae9c718beca8aeab9ab3f1c5e0270d3946f2335f88ec19476577c195417c2dbd4 DIST build2-toolchain-0.14.0.tar.xz 4687616 BLAKE2B 98b2ec93c18027cbb3294650b3ad5d3dc97c1f06a6580437eac2db0297d3517cf327179f3a7c6efc611bffed5d028a034382d408ca58a976311d50a26534323c SHA512 d238a4ddfce8506b51b3b775738e818e7e0b36961a09ae0912c0c8688057b8393afebd4c0a28c6e6827c2e72ad5b82bc5e1231f798a66c2bb86b2b1e4ece73ef +DIST build2-toolchain-0.15.0.tar.xz 5122496 BLAKE2B 6170ccf7e251e189369873ae81a4c24fdfd7b3beb38728da0c40284a8e6329d1dd152e861bbb5d2dbc0b4931af6e72c191c52abe98111c5dbf7922df888b046e SHA512 3dba63813a227a1542bcec52406c98e6d61fb366f0fe2617fac130906d0811d00356330bcd03faabf83f30604044f92e40476669a4b04060f83ede7a4db88ecb DIST libodb-sqlite-2.5.0-b.19.tar.gz 74822 BLAKE2B e9a5d3be8b453bcdc026b6349572c3bd88eb468329216bee535f4e1ac72bfe6c88b485efe2476303600209df42023099fdda88b410d9295e8cab73ed9dd03fc0 SHA512 be6dbc731d9f45dfc7e9246f404edad78d59c9d38cff6599aed56d60d4f0e8391336e2da3608f66d74559f0a8d34243eb38e7e6a1221188959321810193ae901 DIST libodb-sqlite-2.5.0-b.21.tar.gz 79975 BLAKE2B f9dca03ba909276ed137c15cbe32a8227b688f8b1c2d3e98b7040f3463359400fd5116088ae77722651589788e2d8e1367bc135ed2104dbc2d624ff4910f3fce SHA512 a84ea3847c64e5beffcb1f3958583bc02d371a4eb354ad32d0083b01e27362905bdcf09913c9b4cd6fc977eeaba95fd46cf953332e4fd0d673ca2f7521c71a1f +DIST libodb-sqlite-2.5.0-b.25.tar.gz 77096 BLAKE2B 594e805428c4b6f20cefa9838175831278166e6d5612be4a79da972ca85ca95f6f8b18adadfd11ba4adcb7751f83bea8b5e3ce1f6e7ae76c5b361fcabfc633be SHA512 886119c8524939fa7c094afc157ada1797dca338d6e1a488aca8552615e2050c9d555e3784226e2d28faee58019a8e51b990ee9df1af1bdfe00d591d7268d673 EBUILD libodb-sqlite-2.5.0_beta19.ebuild 3047 BLAKE2B d8f3ad6f4a660578ef18be3f424070fc0b76506deacf615fd0fb3a6bf06bf53a506b0a61193dbe1b21d8fd72add63ea131b1bd78e04bb9eeb500817622aed443 SHA512 c9dadbb3dbc3fa009ac4fc6b9779955011acdfca6792bf8d853cd789ca6d1aa25f813e52a4a11138d734f24e694b51055996c77397efd7b7a24ae878306a9909 EBUILD libodb-sqlite-2.5.0_beta21.ebuild 2944 BLAKE2B 3f1b342dcbd02217e0433c2a957d4219636a9e2e47f805aaf902db6c6bf43941641a6ce1a034356ae22681755881af1501df7448950a442d33725fa83a4806d5 SHA512 3e5a3b7dc5b12e254f0faf216c00a049bf192e996943f4cdabfa2adcbc24a3230a37214f89608328e83a4b5194272efb68ef9dc3c13833874f4736b8678a429d +EBUILD libodb-sqlite-2.5.0_beta25.ebuild 3128 BLAKE2B 9e29b0aa4df1db6b571a0d9f134efb6e9e51406e716b473cc127c05d188ab150dd6acb857cd03e3b274cc05d5a69630a31a162c2647ac98e9eff8101699fb261 SHA512 f1c72d13f490902085935e1589691c65b8ba50e145f1619e78ec35ba8bd76285a8d70e70f79d38c23a04f2c44a27f202049584b966abf778e8011416e756634b MISC metadata.xml 910 BLAKE2B 7063501aac969fa79938ca8d91e000811d48b00d14424a48cf57a4ba46e74c1100cae9c0c4fc7e2707ea4bf1e2e21e9f1eca254dbb665d7931b606ead8281cda SHA512 20edccf9e1907a0b154ab8c517b9b440a65206664432a725a764288822fb56dcdbd1fb04ad20b138d488e53164adde2296af799859871663c03acefe6d9f4d80 diff --git a/dev-cpp/libodb-sqlite/libodb-sqlite-2.5.0_beta25.ebuild b/dev-cpp/libodb-sqlite/libodb-sqlite-2.5.0_beta25.ebuild new file mode 100644 index 000000000000..c1b349bd0db1 --- /dev/null +++ b/dev-cpp/libodb-sqlite/libodb-sqlite-2.5.0_beta25.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}-$(ver_cut 1-3)-b.$(ver_cut 5)" + +# Compare BUILD2_PV with the version in the tarball in the 'manifest' file. +# e.g. from 2.5.0_beta25's manifest: +# +depends: * build2 >= 0.15.0 +# +depends: * bpkg >= 0.15.0 +BUILD2_PN=build2-toolchain +BUILD2_PV="0.15.0" +BUILD2_P="${BUILD2_PN}-${BUILD2_PV}" + +inherit toolchain-funcs multiprocessing + +DESCRIPTION="Common ODB runtime library" +HOMEPAGE="https://codesynthesis.com/products/odb/" +SRC_URI=" + https://pkg.cppget.org/1/beta/odb/${MY_P}.tar.gz + https://download.build2.org/${BUILD2_PV}/${BUILD2_P}.tar.xz +" +BS="${WORKDIR}/${BUILD2_P}" +S="${WORKDIR}/${MY_P}" + +LICENSE="|| ( Code-Synthesis-ODB GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-cpp/libodb + dev-db/sqlite:3 +" +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ${DEPEND} + !<dev-util/build2-${BUILD2_PV} +" + +b() { + local myargs=( + --jobs $(makeopts_jobs) + --verbose 3 + ) + export LD_LIBRARY_PATH="${BS}/libbutl/libbutl:${BS}/build2/libbuild2:${BS}/build2/libbuild2/bash:${BS}/build2/libbuild2/in:${BS}/build2/libbuild2/bin:${BS}/build2/libbuild2/c:${BS}/build2/libbuild2/cc:${BS}/build2/libbuild2/cxx:${BS}/build2/libbuild2/version:${BS}/libpkgconf/libpkgconf:${LD_LIBRARY_PATH}" + set -- "${BS}"/build2/build2/b-boot "${@}" "${myargs[@]}" + echo "${@}" + "${@}" || die "${@} failed" +} + +src_prepare() { + cd "${WORKDIR}" || die + for i in ${BUILD2_P}/libodb-sqlite/buildfile ${MY_P}/buildfile; do + printf 'cxx.libs += %s\ncxx.poptions += %s\n' \ + "-L${EPREFIX}/usr/$(get_libdir) $($(tc-getPKG_CONFIG) sqlite3 --libs)" \ + "$($(tc-getPKG_CONFIG) sqlite3 --cflags)" >> \ + ${i} \ + || die + done + + cd "${BS}" || die + eapply "${FILESDIR}"/build2-0.13.0_alpha0_pre20200710-nousrlocal.patch + sed \ + -e 's:libsqlite3[/]\?::' \ + -i buildfile build/bootstrap.build \ + || die + + if has_version dev-util/pkgconf; then + for i in build2/build2/buildfile build2/libbuild2/buildfile; do + printf 'cxx.libs += %s\ncxx.poptions += %s\n' \ + "$($(tc-getPKG_CONFIG) libpkgconf --libs)" \ + "$($(tc-getPKG_CONFIG) libpkgconf --cflags)" >> \ + "${i}" \ + || die + done + sed \ + -e 's:libpkgconf[/]\?::' \ + -i buildfile build/bootstrap.build \ + || die + fi + + cd "${S}" || die + default +} + +src_configure() { + pushd ${BS} || die + emake -C build2 -f bootstrap.gmake \ + CXX=$(tc-getCXX) \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" + popd || die + + b configure \ + config.cxx="$(tc-getCXX)" \ + config.cxx.coptions="${CXXFLAGS}" \ + config.cxx.loptions="${LDFLAGS}" \ + config.c="$(tc-getCC)" \ + config.cc.coptions="${CFLAGS}" \ + config.cc.loptions="${LDFLAGS}" \ + config.bin.ar="$(tc-getAR)" \ + config.bin.ranlib="$(tc-getRANLIB)" \ + config.bin.lib=shared \ + config.install.root="${EPREFIX}"/usr \ + config.install.lib="${EPREFIX}"/usr/$(get_libdir) \ + config.install.doc="${EPREFIX}"/usr/share/doc/${PF} +} + +src_compile() { + b update-for-install + use test && b update-for-test +} + +src_test() { + b test +} + +src_install() { + b install \ + config.install.chroot="${D}" +} |