diff options
author | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-05-15 12:36:54 +0200 |
---|---|---|
committer | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-05-15 12:36:54 +0200 |
commit | 8b55e7c800fe2ff72740d787d293cc7c7564b583 (patch) | |
tree | 32021c76d916c93e19b813894a1922826281ef80 | |
parent | 692ca67859517f3896f2b39813a46220ac8b3998 (diff) |
add abseil-cpp
-rwxr-xr-x | README.md | 4 | ||||
-rw-r--r-- | aardvark-dns/.artixlinux/Jenkinsfile | 3 | ||||
-rw-r--r-- | aardvark-dns/.artixlinux/pkgbase.yaml | 55 | ||||
-rw-r--r-- | abseil-cpp/.gitignore | 18 | ||||
-rw-r--r-- | abseil-cpp/PKGBUILD | 44 | ||||
-rw-r--r-- | abseil-cpp/README.md | 2 | ||||
-rw-r--r-- | abseil-cpp/scoped-mock-log.patch | 12 | ||||
-rw-r--r-- | mandown/.artixlinux/Jenkinsfile | 3 | ||||
-rw-r--r-- | mandown/.artixlinux/pkgbase.yaml | 60 | ||||
-rw-r--r-- | mandown/.artixlinux/srcinfo.yaml | 25 |
10 files changed, 79 insertions, 147 deletions
@@ -40,4 +40,6 @@ go-bin go-md2man runc aardvark-dns -gtest
\ No newline at end of file +gtest +mandown +abseil-cpp
\ No newline at end of file diff --git a/aardvark-dns/.artixlinux/Jenkinsfile b/aardvark-dns/.artixlinux/Jenkinsfile deleted file mode 100644 index d68bca2..0000000 --- a/aardvark-dns/.artixlinux/Jenkinsfile +++ /dev/null @@ -1,3 +0,0 @@ -@Library('artix-ci@orion') import org.artixlinux.RepoPackage - -PackagePipeline(new RepoPackage(this)) diff --git a/aardvark-dns/.artixlinux/pkgbase.yaml b/aardvark-dns/.artixlinux/pkgbase.yaml deleted file mode 100644 index 4a9b2b1..0000000 --- a/aardvark-dns/.artixlinux/pkgbase.yaml +++ /dev/null @@ -1,55 +0,0 @@ ---- -team: world -pkgbase: - name: aardvark-dns - version: 1.14.0-1 - arch: - - x86_64 - pkgname: - - aardvark-dns -actions: - addRepo: world - removeRepo: null - triggersBuild: true - triggersRebuild: false - triggersRepoAdd: true - triggersRepoRemove: false - triggersNoCheck: false -repos: - system-goblins: - version: null - packages: [] - system-gremlins: - version: null - packages: [] - system: - version: null - packages: [] - world-goblins: - version: null - packages: [] - world-gremlins: - version: null - packages: [] - world: - version: 1.14.0-1 - packages: - - aardvark-dns-1.14.0-1-x86_64.pkg.tar.zst - lib32-goblins: - version: null - packages: [] - lib32-gremlins: - version: null - packages: [] - lib32: - version: null - packages: [] - galaxy-goblins: - version: null - packages: [] - galaxy-gremlins: - version: null - packages: [] - galaxy: - version: null - packages: [] diff --git a/abseil-cpp/.gitignore b/abseil-cpp/.gitignore new file mode 100644 index 0000000..e4912e4 --- /dev/null +++ b/abseil-cpp/.gitignore @@ -0,0 +1,18 @@ +# ---> ArchLinuxPackages +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ + +*.service +*.timer +*.socket diff --git a/abseil-cpp/PKGBUILD b/abseil-cpp/PKGBUILD new file mode 100644 index 0000000..e70c980 --- /dev/null +++ b/abseil-cpp/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Cory Sanin <corysanin@artixlinux.org> +# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Contributor: Christian Heusel <gromit@archlinux.org> +# Contributor: Aleksandar Trifunović <akstrfn at gmail dot com> + +pkgname=abseil-cpp +pkgver=20250127.1 +pkgrel=2 +pkgdesc="Collection of C++ library code designed to augment the C++ standard library" +arch=('x86_64') +url='https://abseil.io' +license=('Apache-2.0') +depends=('gcc-libs' 'glibc' 'gtest') +makedepends=('cmake') +source=("https://github.com/abseil/abseil-cpp/archive/$pkgver/$pkgname-$pkgver.tar.gz" + scoped-mock-log.patch) +sha256sums=('b396401fd29e2e679cace77867481d388c807671dc2acc602a0259eeb79b7811' + 'a6cbc612a2b96fcbd52d081e03e8581107ceb4827edb19d96510a31c568e1396') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i ../scoped-mock-log.patch # Install target needed by protobuf +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + cmake -Bbuild \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_STANDARD=17 \ + -DBUILD_SHARED_LIBS=ON \ + -DABSL_BUILD_TEST_HELPERS=ON \ + -DABSL_USE_EXTERNAL_GOOGLETEST=ON \ + -DABSL_FIND_GOOGLETEST=ON \ + -DABSL_BUILD_TESTING=OFF + cd build + cmake --build . --target all +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build" + DESTDIR="$pkgdir" cmake --install . +} diff --git a/abseil-cpp/README.md b/abseil-cpp/README.md new file mode 100644 index 0000000..da6334d --- /dev/null +++ b/abseil-cpp/README.md @@ -0,0 +1,2 @@ +# abseil-cpp + diff --git a/abseil-cpp/scoped-mock-log.patch b/abseil-cpp/scoped-mock-log.patch new file mode 100644 index 0000000..6eb93cf --- /dev/null +++ b/abseil-cpp/scoped-mock-log.patch @@ -0,0 +1,12 @@ +diff --git a/absl/log/CMakeLists.txt b/absl/log/CMakeLists.txt +index 78adbf1d..b64822dd 100644 +--- a/absl/log/CMakeLists.txt ++++ b/absl/log/CMakeLists.txt +@@ -637,7 +637,6 @@ absl_cc_library( + GTest::gmock + GTest::gtest + PUBLIC +- TESTONLY + ) + + absl_cc_library( diff --git a/mandown/.artixlinux/Jenkinsfile b/mandown/.artixlinux/Jenkinsfile deleted file mode 100644 index d68bca2..0000000 --- a/mandown/.artixlinux/Jenkinsfile +++ /dev/null @@ -1,3 +0,0 @@ -@Library('artix-ci@orion') import org.artixlinux.RepoPackage - -PackagePipeline(new RepoPackage(this)) diff --git a/mandown/.artixlinux/pkgbase.yaml b/mandown/.artixlinux/pkgbase.yaml deleted file mode 100644 index f8a65cf..0000000 --- a/mandown/.artixlinux/pkgbase.yaml +++ /dev/null @@ -1,60 +0,0 @@ ---- -actions: - addRepo: world - removeRepo: null - triggersBuild: true - triggersRebuild: false - triggersRepoAdd: true - triggersRepoRemove: false - triggersNoCheck: false -repos: - system-goblins: - version: null - packages: [] - debug: [] - system-gremlins: - version: null - packages: [] - debug: [] - system: - version: null - packages: [] - debug: [] - world-goblins: - version: null - packages: [] - debug: [] - world-gremlins: - version: null - packages: [] - debug: [] - world: - version: 1.1.0-1 - packages: - - mandown-1.1.0-1-x86_64.pkg.tar.zst - debug: [] - lib32-goblins: - version: null - packages: [] - debug: [] - lib32-gremlins: - version: null - packages: [] - debug: [] - lib32: - version: null - packages: [] - debug: [] - galaxy-goblins: - version: null - packages: [] - debug: [] - galaxy-gremlins: - version: null - packages: [] - debug: [] - galaxy: - version: null - packages: [] - debug: [] -team: world diff --git a/mandown/.artixlinux/srcinfo.yaml b/mandown/.artixlinux/srcinfo.yaml deleted file mode 100644 index 570f90a..0000000 --- a/mandown/.artixlinux/srcinfo.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -version: 1.1.0-1 -pkgbase: - name: mandown - pkgdesc: Create man pages from markdown markup - pkgver: 1.1.0 - pkgrel: 1 - url: https://gitlab.com/kornelski/mandown - arch: - - x86_64 - license: - - Apache-2.0 - makedepends: - - rust - - cargo - depends: - - gcc-libs - - glibc - source: - - https://gitlab.com/kornelski/mandown/-/archive/v1.1.0/mandown-v1.1.0.tar.gz - sha512sums: - - 516a7b655c8aee8e171ba8e0a23997a6cfc9cbbc60197039acc10892ebdd6a454dfb3ca9dc4b7a49856edef0b1102f2126a0ad14ff203bcbb735603627125bbe -pkgname: - - name: mandown -# generated with artixpkg 0.36.0-2-any |