Skip to content

Commit

Permalink
Bump plutovg version to 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage committed Sep 5, 2024
1 parent e14964b commit a600a3c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 16 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Build with meson
run: |
pip install meson
Expand All @@ -27,8 +25,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Build with meson
run: |
pip install meson
Expand All @@ -47,8 +43,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Build with meson
run: |
pip install meson
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

13 changes: 9 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ set(PLUTOSVG_VERSION_MICRO 1)

project(plutosvg LANGUAGES C VERSION ${PLUTOSVG_VERSION_MAJOR}.${PLUTOSVG_VERSION_MINOR}.${PLUTOSVG_VERSION_MICRO})

find_package(plutovg 0.0.1 QUIET)
if(NOT plutovg_FOUND)
add_subdirectory(plutovg)
endif()
include(FetchContent)
FetchContent_Declare(plutovg
GIT_REPOSITORY https:/sammycage/plutovg.git
GIT_TAG v0.0.2
GIT_SHALLOW ON
FIND_PACKAGE_ARGS 0.0.2
)

FetchContent_MakeAvailable(plutovg)

set(plutosvg_sources source/plutosvg.c)
set(plutosvg_headers source/plutosvg.h)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ ninja -C build install
### Using CMake

```bash
git clone --recursive https:/sammycage/plutosvg.git
git clone https:/sammycage/plutosvg.git
cd plutosvg
cmake -B build .
make -C build -j2
Expand Down
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ plutosvg_compile_args = []

plutovg_dep = dependency('plutovg',
required: true,
version: '>=0.0.2',
fallback: ['plutovg', 'plutovg_dep']
)

Expand Down
1 change: 0 additions & 1 deletion plutovg
Submodule plutovg deleted from b93ade
2 changes: 1 addition & 1 deletion subprojects/plutovg.wrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[wrap-git]
url = https:/sammycage/plutovg.git
revision = head
revision = v0.0.2
depth = 1

[provide]
Expand Down

0 comments on commit a600a3c

Please sign in to comment.