From 4def81112d7adf1d416e7f50b11dc2797aa5764b Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Sat, 26 Oct 2019 17:30:27 +1300 Subject: [PATCH 1/8] Basic package config, not yet working --- switch/ftgl/.gitignore | 2 ++ switch/ftgl/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 switch/ftgl/.gitignore create mode 100644 switch/ftgl/PKGBUILD diff --git a/switch/ftgl/.gitignore b/switch/ftgl/.gitignore new file mode 100644 index 00000000..aedfd34a --- /dev/null +++ b/switch/ftgl/.gitignore @@ -0,0 +1,2 @@ +*.tgz +switch-ftgl \ No newline at end of file diff --git a/switch/ftgl/PKGBUILD b/switch/ftgl/PKGBUILD new file mode 100644 index 00000000..bb516398 --- /dev/null +++ b/switch/ftgl/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Rhys Koedijk + +pkgname=switch-ftgl +pkgver=r1207.16f7667 +pkgrel=1 +pkgdesc='FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications' +arch=('any') +url='https://github.com/ulrichard/ftgl' +license=('(L)GPL') +options=(!strip libtool staticlibs) +source=(${pkgname}::"git+https://github.com/ulrichard/ftgl.git#commit=16f7667cbd4b1e988ae24128c5dea54479926f85") +sha256sums=('SKIP') +depends=('switch-freetype' 'switch-glfw') +makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers') +groups=('switch-portlibs') + +pkgver() { + cd "$srcdir/${pkgname}" + printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd ${pkgname} + #patch -Np1 -i "$srcdir/../ftgl-fix.patch" +} + +build() { + cd ${pkgname} + + source /opt/devkitpro/switchvars.sh + + cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/switch.cmake \ + -DCMAKE_INSTALL_PREFIX=$PORTLIBS_PREFIX \ + -DCMAKE_C_FLAGS="$CFLAGS $CPPFLAGS" \ + -DCMAKE_AR="/opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc-ar" \ + -DGLFW_BUILD_EXAMPLES:BOOL=OFF -DGLFW_BUILD_TESTS:BOOL=OFF -DGLFW_BUILD_DOCS:BOOL=OFF \ + -DGLFW_VULKAN_STATIC:BOOL=ON -DGLFW_EGL_STATIC:BOOL=ON \ + . + + make +} + +package() { + cd ${pkgname} + + make DESTDIR="$pkgdir" install + + install -Dm644 COPYING "$pkgdir"/opt/devkitpro/portlibs/switch/licenses/$pkgname/COPYING + rm -r "$pkgdir"/opt/devkitpro/portlibs/switch/share +} From e42a48e7b66b36cb21009e99fa3469ac8e087a79 Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Sat, 26 Oct 2019 21:42:31 +1300 Subject: [PATCH 2/8] Build improvements --- switch/ftgl/PKGBUILD | 27 ++++++++----------- .../ftgl-16f7667-disable-opengl-check.patch | 16 +++++++++++ 2 files changed, 27 insertions(+), 16 deletions(-) create mode 100644 switch/ftgl/ftgl-16f7667-disable-opengl-check.patch diff --git a/switch/ftgl/PKGBUILD b/switch/ftgl/PKGBUILD index bb516398..653d1f98 100644 --- a/switch/ftgl/PKGBUILD +++ b/switch/ftgl/PKGBUILD @@ -1,42 +1,38 @@ # Maintainer: Rhys Koedijk -pkgname=switch-ftgl -pkgver=r1207.16f7667 +pkgbasename=ftgl +pkgname=switch-$pkgbasename +pkgver=2.3 pkgrel=1 pkgdesc='FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications' arch=('any') url='https://github.com/ulrichard/ftgl' -license=('(L)GPL') +license=('MIT') options=(!strip libtool staticlibs) -source=(${pkgname}::"git+https://github.com/ulrichard/ftgl.git#commit=16f7667cbd4b1e988ae24128c5dea54479926f85") +source=(${pkgname}::"git+${url}.git#commit=16f7667cbd4b1e988ae24128c5dea54479926f85") sha256sums=('SKIP') -depends=('switch-freetype' 'switch-glfw') +depends=('switch-freetype' 'switch-glu' 'switch-glfw') makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers') groups=('switch-portlibs') -pkgver() { - cd "$srcdir/${pkgname}" - printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - prepare() { cd ${pkgname} - #patch -Np1 -i "$srcdir/../ftgl-fix.patch" + patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-disable-opengl-check.patch" } build() { cd ${pkgname} source /opt/devkitpro/switchvars.sh - + cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/switch.cmake \ -DCMAKE_INSTALL_PREFIX=$PORTLIBS_PREFIX \ -DCMAKE_C_FLAGS="$CFLAGS $CPPFLAGS" \ + -DCMAKE_CXX_FLAGS="$CFLAGS" \ -DCMAKE_AR="/opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc-ar" \ - -DGLFW_BUILD_EXAMPLES:BOOL=OFF -DGLFW_BUILD_TESTS:BOOL=OFF -DGLFW_BUILD_DOCS:BOOL=OFF \ - -DGLFW_VULKAN_STATIC:BOOL=ON -DGLFW_EGL_STATIC:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=OFF \ . - + make } @@ -46,5 +42,4 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/opt/devkitpro/portlibs/switch/licenses/$pkgname/COPYING - rm -r "$pkgdir"/opt/devkitpro/portlibs/switch/share } diff --git a/switch/ftgl/ftgl-16f7667-disable-opengl-check.patch b/switch/ftgl/ftgl-16f7667-disable-opengl-check.patch new file mode 100644 index 00000000..dae0c149 --- /dev/null +++ b/switch/ftgl/ftgl-16f7667-disable-opengl-check.patch @@ -0,0 +1,16 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 85fccaf..c06b9ba 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -9,7 +9,9 @@ SET(VERSION_MINOR 0) + SET(FTGL_SOVERSION 1) + + FIND_PACKAGE(Freetype REQUIRED) # if it fails, check this: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/826988 +-FIND_PACKAGE(OpenGL REQUIRED) ++IF(NOT SWITCH_LIBNX) ++ FIND_PACKAGE(OpenGL REQUIRED) ++ENDIF(NOT SWITCH_LIBNX) + + INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src) + INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/FTFont) + \ No newline at end of file From 40e54d57f6ec4d7a4dc7aef97757959512dbef81 Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Sun, 27 Oct 2019 22:10:47 +1300 Subject: [PATCH 3/8] Fix openGL detection --- switch/ftgl/PKGBUILD | 9 +++------ .../ftgl/ftgl-16f7667-disable-opengl-check.patch | 16 ---------------- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 switch/ftgl/ftgl-16f7667-disable-opengl-check.patch diff --git a/switch/ftgl/PKGBUILD b/switch/ftgl/PKGBUILD index 653d1f98..3c8ebda9 100644 --- a/switch/ftgl/PKGBUILD +++ b/switch/ftgl/PKGBUILD @@ -11,15 +11,10 @@ license=('MIT') options=(!strip libtool staticlibs) source=(${pkgname}::"git+${url}.git#commit=16f7667cbd4b1e988ae24128c5dea54479926f85") sha256sums=('SKIP') -depends=('switch-freetype' 'switch-glu' 'switch-glfw') +depends=('switch-freetype' 'switch-glu' 'switch-mesa') makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers') groups=('switch-portlibs') -prepare() { - cd ${pkgname} - patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-disable-opengl-check.patch" -} - build() { cd ${pkgname} @@ -31,6 +26,8 @@ build() { -DCMAKE_CXX_FLAGS="$CFLAGS" \ -DCMAKE_AR="/opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc-ar" \ -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DOPENGL_USE_EGL:BOOL=ON \ + -DOPENGL_opengl_LIBRARY="${PORTLIBS_PREFIX}/lib" \ . make diff --git a/switch/ftgl/ftgl-16f7667-disable-opengl-check.patch b/switch/ftgl/ftgl-16f7667-disable-opengl-check.patch deleted file mode 100644 index dae0c149..00000000 --- a/switch/ftgl/ftgl-16f7667-disable-opengl-check.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 85fccaf..c06b9ba 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -9,7 +9,9 @@ SET(VERSION_MINOR 0) - SET(FTGL_SOVERSION 1) - - FIND_PACKAGE(Freetype REQUIRED) # if it fails, check this: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/826988 --FIND_PACKAGE(OpenGL REQUIRED) -+IF(NOT SWITCH_LIBNX) -+ FIND_PACKAGE(OpenGL REQUIRED) -+ENDIF(NOT SWITCH_LIBNX) - - INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src) - INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/FTFont) - \ No newline at end of file From e21579a8bcd1cd0dde33e93759cc44cf163f712f Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Sun, 27 Oct 2019 23:45:16 +1300 Subject: [PATCH 4/8] Add patch to install pkgconfig --- switch/ftgl/PKGBUILD | 5 +++++ .../ftgl/ftgl-16f7667-install-pkg-config.patch | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 switch/ftgl/ftgl-16f7667-install-pkg-config.patch diff --git a/switch/ftgl/PKGBUILD b/switch/ftgl/PKGBUILD index 3c8ebda9..f3fb30b1 100644 --- a/switch/ftgl/PKGBUILD +++ b/switch/ftgl/PKGBUILD @@ -15,6 +15,11 @@ depends=('switch-freetype' 'switch-glu' 'switch-mesa') makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers') groups=('switch-portlibs') +prepare() { + cd ${pkgname} + patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-install-pkg-config.patch" +} + build() { cd ${pkgname} diff --git a/switch/ftgl/ftgl-16f7667-install-pkg-config.patch b/switch/ftgl/ftgl-16f7667-install-pkg-config.patch new file mode 100644 index 00000000..e58594cd --- /dev/null +++ b/switch/ftgl/ftgl-16f7667-install-pkg-config.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 85fccaf..7449780 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -73,3 +73,12 @@ install(EXPORT FTGL-targets DESTINATION "${cmakedir}") + install( + FILES "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/FTGLConfig.cmake" + DESTINATION "${cmakedir}") ++ ++SET(PKGCONFIG_INSTALL_PREFIX "lib${LIB_SUFFIX}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files") ++CONFIGURE_FILE( ++ ${CMAKE_CURRENT_SOURCE_DIR}/ftgl.pc.in ++ ${CMAKE_CURRENT_BINARY_DIR}/ftgl.pc ++ @ONLY) ++INSTALL( ++ FILES ${CMAKE_CURRENT_BINARY_DIR}/ftgl.pc ++ DESTINATION ${PKGCONFIG_INSTALL_PREFIX}) From a09ec860d2cdb2eede94930668cccfdeaa6e2406 Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Mon, 28 Oct 2019 00:27:57 +1300 Subject: [PATCH 5/8] Add a pkgconfig template for cmake --- switch/ftgl/PKGBUILD | 1 + .../ftgl/ftgl-16f7667-add-pkg-config-template.patch | 12 ++++++++++++ switch/ftgl/ftgl-16f7667-install-pkg-config.patch | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch diff --git a/switch/ftgl/PKGBUILD b/switch/ftgl/PKGBUILD index f3fb30b1..e97e3f02 100644 --- a/switch/ftgl/PKGBUILD +++ b/switch/ftgl/PKGBUILD @@ -17,6 +17,7 @@ groups=('switch-portlibs') prepare() { cd ${pkgname} + patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-add-pkg-config-template.patch" patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-install-pkg-config.patch" } diff --git a/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch b/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch new file mode 100644 index 00000000..7acee332 --- /dev/null +++ b/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch @@ -0,0 +1,12 @@ +diff --git "a/ftgl.pc.cmake" "b/ftgl.pc.cmake" +new file mode 100644 +index 0000000..0ccd446 +--- /dev/null ++++ "b/ftgl.pc.cmake" +@@ -0,0 +1,6 @@ ++Name: ftgl ++Description: OpenGL frontend to Freetype 2 ++Requires.private: freetype2 ++Version: @VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@ ++Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lEGL -lglu -lftgl ++Cflags: -I@CMAKE_INSTALL_PREFIX@/include -I@CMAKE_INSTALL_PREFIX@/include/FTGL diff --git a/switch/ftgl/ftgl-16f7667-install-pkg-config.patch b/switch/ftgl/ftgl-16f7667-install-pkg-config.patch index e58594cd..bbb86aee 100644 --- a/switch/ftgl/ftgl-16f7667-install-pkg-config.patch +++ b/switch/ftgl/ftgl-16f7667-install-pkg-config.patch @@ -9,7 +9,7 @@ index 85fccaf..7449780 100644 + +SET(PKGCONFIG_INSTALL_PREFIX "lib${LIB_SUFFIX}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files") +CONFIGURE_FILE( -+ ${CMAKE_CURRENT_SOURCE_DIR}/ftgl.pc.in ++ ${CMAKE_CURRENT_SOURCE_DIR}/ftgl.pc.cmake + ${CMAKE_CURRENT_BINARY_DIR}/ftgl.pc + @ONLY) +INSTALL( From 25f83947f2407ddd6d283dd5eff92725764e90b3 Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Mon, 28 Oct 2019 01:27:07 +1300 Subject: [PATCH 6/8] pkgconfig tweak --- switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch b/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch index 7acee332..95dfb838 100644 --- a/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch +++ b/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch @@ -8,5 +8,5 @@ index 0000000..0ccd446 +Description: OpenGL frontend to Freetype 2 +Requires.private: freetype2 +Version: @VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@ -+Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lEGL -lglu -lftgl -+Cflags: -I@CMAKE_INSTALL_PREFIX@/include -I@CMAKE_INSTALL_PREFIX@/include/FTGL ++Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lftgl ++Cflags: -I@CMAKE_INSTALL_PREFIX@/include From 0be7c4556225d7120c8febe48cdb8ce311281109 Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Mon, 28 Oct 2019 14:04:44 +1300 Subject: [PATCH 7/8] Updated to 2.4.0 --- switch/ftgl/PKGBUILD | 20 +++++++++---------- ...ftgl-16f7667-add-pkg-config-template.patch | 12 ----------- .../ftgl-2.4.0-fix_libftgl_la_sources.patch | 12 +++++++++++ ...tch => ftgl-2.4.0-install_pkgconfig.patch} | 16 +++++++++++++-- 4 files changed, 36 insertions(+), 24 deletions(-) delete mode 100644 switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch create mode 100644 switch/ftgl/ftgl-2.4.0-fix_libftgl_la_sources.patch rename switch/ftgl/{ftgl-16f7667-install-pkg-config.patch => ftgl-2.4.0-install_pkgconfig.patch} (52%) diff --git a/switch/ftgl/PKGBUILD b/switch/ftgl/PKGBUILD index e97e3f02..185509a1 100644 --- a/switch/ftgl/PKGBUILD +++ b/switch/ftgl/PKGBUILD @@ -2,27 +2,27 @@ pkgbasename=ftgl pkgname=switch-$pkgbasename -pkgver=2.3 +pkgver=2.4.0 pkgrel=1 pkgdesc='FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications' arch=('any') -url='https://github.com/ulrichard/ftgl' +url='https://github.com/frankheckenbach/ftgl/' license=('MIT') options=(!strip libtool staticlibs) -source=(${pkgname}::"git+${url}.git#commit=16f7667cbd4b1e988ae24128c5dea54479926f85") -sha256sums=('SKIP') +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=('aa97da1c3442a8fd3941037655df18016d70b5266381c81d81e8b5335f196ea8') depends=('switch-freetype' 'switch-glu' 'switch-mesa') -makedepends=('git' 'switch-pkg-config' 'devkitpro-pkgbuild-helpers') +makedepends=('switch-pkg-config' 'devkitpro-pkgbuild-helpers') groups=('switch-portlibs') prepare() { - cd ${pkgname} - patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-add-pkg-config-template.patch" - patch -Np1 -i "${startdir}/${pkgbasename}-16f7667-install-pkg-config.patch" + cd ${pkgbasename}-${pkgver} + patch -Np1 -i "${startdir}/${pkgbasename}-2.4.0-install_pkgconfig.patch" + patch -Np1 -i "${startdir}/${pkgbasename}-2.4.0-fix_libftgl_la_sources.patch" } build() { - cd ${pkgname} + cd ${pkgbasename}-${pkgver} source /opt/devkitpro/switchvars.sh @@ -40,7 +40,7 @@ build() { } package() { - cd ${pkgname} + cd ${pkgbasename}-${pkgver} make DESTDIR="$pkgdir" install diff --git a/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch b/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch deleted file mode 100644 index 95dfb838..00000000 --- a/switch/ftgl/ftgl-16f7667-add-pkg-config-template.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git "a/ftgl.pc.cmake" "b/ftgl.pc.cmake" -new file mode 100644 -index 0000000..0ccd446 ---- /dev/null -+++ "b/ftgl.pc.cmake" -@@ -0,0 +1,6 @@ -+Name: ftgl -+Description: OpenGL frontend to Freetype 2 -+Requires.private: freetype2 -+Version: @VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@ -+Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lftgl -+Cflags: -I@CMAKE_INSTALL_PREFIX@/include diff --git a/switch/ftgl/ftgl-2.4.0-fix_libftgl_la_sources.patch b/switch/ftgl/ftgl-2.4.0-fix_libftgl_la_sources.patch new file mode 100644 index 00000000..1c97b040 --- /dev/null +++ b/switch/ftgl/ftgl-2.4.0-fix_libftgl_la_sources.patch @@ -0,0 +1,12 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 693e49f..b0f26f6 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -26,7 +26,6 @@ SET(libftgl_la_SOURCES + FTGlyphContainer.h + FTInternals.h + FTLibrary.cpp +- FTLibrary.h + FTList.h + FTPoint.cpp + FTSize.cpp \ No newline at end of file diff --git a/switch/ftgl/ftgl-16f7667-install-pkg-config.patch b/switch/ftgl/ftgl-2.4.0-install_pkgconfig.patch similarity index 52% rename from switch/ftgl/ftgl-16f7667-install-pkg-config.patch rename to switch/ftgl/ftgl-2.4.0-install_pkgconfig.patch index bbb86aee..b1bbfcff 100644 --- a/switch/ftgl/ftgl-16f7667-install-pkg-config.patch +++ b/switch/ftgl/ftgl-2.4.0-install_pkgconfig.patch @@ -1,8 +1,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 85fccaf..7449780 100644 +index 303fcae..cdcf2c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -73,3 +73,12 @@ install(EXPORT FTGL-targets DESTINATION "${cmakedir}") +@@ -74,3 +74,12 @@ install(EXPORT FTGL-targets DESTINATION "${cmakedir}") install( FILES "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/FTGLConfig.cmake" DESTINATION "${cmakedir}") @@ -15,3 +15,15 @@ index 85fccaf..7449780 100644 +INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/ftgl.pc + DESTINATION ${PKGCONFIG_INSTALL_PREFIX}) +diff --git a/ftgl.pc.cmake b/ftgl.pc.cmake +new file mode 100644 +index 0000000..d242667 +--- /dev/null ++++ b/ftgl.pc.cmake +@@ -0,0 +1,6 @@ ++Name: ftgl ++Description: OpenGL frontend to Freetype 2 ++Requires.private: freetype2 ++Version: @VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@ ++Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lftgl ++Cflags: -I@CMAKE_INSTALL_PREFIX@/include From cca41277164ba517ee221e2bd4fb9e2cd7ae959e Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Mon, 4 Nov 2019 14:27:07 +1300 Subject: [PATCH 8/8] Removed .gitignore --- switch/ftgl/.gitignore | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 switch/ftgl/.gitignore diff --git a/switch/ftgl/.gitignore b/switch/ftgl/.gitignore deleted file mode 100644 index aedfd34a..00000000 --- a/switch/ftgl/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.tgz -switch-ftgl \ No newline at end of file