diff --git a/shell/linux/Makefile b/shell/linux/Makefile index 0e7b22c4c..af31ce086 100644 --- a/shell/linux/Makefile +++ b/shell/linux/Makefile @@ -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 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 000000000..462fbd929 --- /dev/null +++ b/snap/snapcraft.yaml @@ -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