Skip to content

Commit

Permalink
enable ignoring missing dep in pkg config file
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jul 27, 2024
1 parent 9af671e commit d1d053b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bump:
@ruby -e 'path = STDIN.read.strip;File.write(path, File.read(path).sub(/^(Version: +)([0-9]+)(?:(?:\.)([0-9]+)){1,}/){|s|"#{$$1}#{$$2}.#{$$3.to_i + 1}"})' <<< getargv++.pc
@ruby -e 'path = STDIN.read.strip;File.write(path, File.read(path).sub(/^(VERSION=)([0-9]+)(?:(?:\.)([0-9]+)){1,}/){|s|"#{$$1}#{$$2}.#{$$3.to_i + 1}"})' <<< Makefile-variables
@ruby -e 'path = STDIN.read.strip;File.write(path, File.read(path).sub(/^(PROJECT_NUMBER += +)([0-9]+)(?:(?:\.)([0-9]+)){1,}/){|s|"#{$$1}#{$$2}.#{$$3.to_i + 1}"})' <<< doxygen.conf
@env PKG_CONFIG_PATH=. pkg-config --modversion getargv++
@env PKG_CONFIG_PATH=. pkg-config --define-variable=dep= --modversion getargv++

tag:
git add -A
Expand Down
3 changes: 2 additions & 1 deletion getargv++.pc
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
prefix=/usr/local
includedir=${prefix}/include/getargv++
libdir=${prefix}/lib
dep=getargv

Name: getargv++
Description: Library for getting the arguments of other processes.
URL: https://getargv.narzt.cam/
Version: 0.10
Requires: getargv
Requires: ${dep}
Cflags: -I${includedir}
Libs: -L${libdir} -lgetargv++
# private is for static linking
Expand Down

0 comments on commit d1d053b

Please sign in to comment.