ob-glsl icon indicating copy to clipboard operation
ob-glsl copied to clipboard

Autocompile / melpa compatibility

Open Shizcow opened this issue 4 years ago • 1 comments

The following allows for loading this package via quelpa directly from .emacs as follows:

(use-package glsl-mode)
(use-package ob-glsl
  :after glsl-mode
  :quelpa (ob-glsl
		   :fetcher github
		   :repo "finalpatch/ob-glsl"
		   :files ("*.el" "*.cpp" "*.hpp" "CMakeLists.txt" "*.h" "*.so"))
  :custom
  (org-babel-do-load-languages
   'org-babel-load-languages
   '((glsl . t))))

Obviously, replace "finalpatch/ob-glsl" with "shizcow/ob-glsl" for a working example.

Being able to load this package with quelpa makes it one step closer to being melpa-compatible and able to be loaded with a simple (use-package ob-glsl).

Note on cleanliness

I'm not particularly versed in writing emacs packages, so I probable made some big mistakes here. The provided changes aren't really intended as a final product, but as a push towards the eventual goal of making this package more accessible.

Shizcow avatar Nov 28 '21 05:11 Shizcow

Thanks. I'll look into this when I have some free time.

finalpatch avatar Nov 28 '21 06:11 finalpatch