Git Product home page Git Product logo

aether's Introduction

Aether Build Status

My attempt at creating a Horizon-esque UI library for homebrew. While there's no examples just yet, I recommend looking at NX-Activity-Log for an example of implementation as it relies on this library for it's UI.

Documentation can be found here!

Building

You'll need the following packages installed through (dkp-)pacman in order for Aether to compile:

devkit-env
devkitA64
libnx
switch-freetype
switch-sdl2
switch-sdl2_gfx
switch-sdl2_image
switch-sdl2_ttf

After installing the packages, run the following command.

For Arch Linux based distro / Windows users

source ${DEVKITPRO}/switchvars.sh

For all others UNIX based distro users

PATH=${DEVKITPRO}/portlibs/switch/bin/:${PATH}

NOTE: If you just installed devkit-env, run the following command first!

source /etc/profile.d/devkit-env.sh

Once these are installed, simply run make or make library in the same directory as this README to build the library.

Incorporating into your Project

1. Add as a submodule

I recommend adding Aether as a Git Submodule by running the following commands (note your project must have a git repository initialized):

git submodule add https://github.com/tallbl0nde/Aether.git
git submodule update --init
git commit -m "Add Aether library"

2. Edit Makefile

Add the following lines in your Makefile after LIBS & LIBDIRS respectively.

LIBS    += -lAether -lnx `sdl2-config --libs` -lSDL2_ttf `freetype-config --libs`\
           -lSDL2_gfx -lSDL2_image -lpng -ljpeg -lwebp
LIBDIRS += Aether

3. Done!

NOTE: This will setup Aether to clone and compile in the root (top) directory in your project's repository.

To move the submodule to a different directory (for example, we will move Aether to libs in the root of project's directory), run the following command:

git mv Aether/ libs/

Then, change the LIBDIRS line you added in step 2 to the following:

LIBDIRS += libs/Aether

Credits

eXhumer - Initial documentation addition, auto build testing all new commit (with both GitHub Actions & Travis CI) & auto documentation generation (with GitHub Actions)

aether's People

Contributors

exhumer avatar tallbl0nde avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.