Basic snapcraft.yaml

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2018-03-22 14:43:27 +01:00
parent 34b495baa7
commit dc4d807846
2 changed files with 31 additions and 2 deletions

View File

@ -1,4 +1,4 @@
LOCAL_PATH := $(call my-dir)
LOCAL_PATH := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
FOR_LINUX :=1
#NO_REC := 1
#NO_REND := 1
@ -227,7 +227,7 @@ else
$(error Unknown platform)
endif
RZDCY_SRC_DIR = ../../core
RZDCY_SRC_DIR = $(LOCAL_PATH)/../../core
include $(RZDCY_SRC_DIR)/core.mk
LDFLAGS += -g -Wl,-Map,$(notdir $@).map,--gc-sections -Wl,-O3 -Wl,--sort-common

29
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,29 @@
name: reicast
version: "r7-svn"
summary: Reicast
description: |
Reicast is a Sega Dreamcas temulator. It is designed to run dreamcast games
and homebrew in x86, x64 and aarch64 based platforms.
grade: devel
icon: shell/linux/reicast.png
confinement: devmode
apps:
reicast:
command: reicast
plugs: [home, alsa, opengl, x11]
parts:
reicast:
source: .
source-subdir: shell/linux
plugin: make
make-parameters: [ PREFIX= ]
build-packages:
- build-essential
- libasound2
- libegl1-mesa-dev
- libgles2-mesa-dev
- libasound2-dev
- mesa-common-dev
- libgl1-mesa-dev