mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
EmptyEpsilon: fix cleanup
This commit is contained in:
parent
91425c9249
commit
7f84757b25
2 changed files with 15 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
||||||
this fixes the serial driver on musl as well as on ppc
|
this fixes the serial driver on musl as well as on ppc
|
||||||
|
|
||||||
diff --git src/hardware/serialDriver.cpp src/hardware/serialDriver.cpp
|
diff --git a/EmptyEpsilon/src/hardware/serialDriver.cpp a/EmptyEpsilon/src/hardware/serialDriver.cpp
|
||||||
index 0bb0228..d935c63 100644
|
index 0bb0228..d935c63 100644
|
||||||
--- a/src/hardware/serialDriver.cpp
|
--- a/EmptyEpsilon/src/hardware/serialDriver.cpp
|
||||||
+++ b/src/hardware/serialDriver.cpp
|
+++ b/EmptyEpsilon/src/hardware/serialDriver.cpp
|
||||||
@@ -2,20 +2,31 @@
|
@@ -2,20 +2,31 @@
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -154,10 +154,10 @@ index 0bb0228..d935c63 100644
|
||||||
FILE* f = fopen(("/sys/class/tty/" + port + "/device/modalias").c_str(), "rt");
|
FILE* f = fopen(("/sys/class/tty/" + port + "/device/modalias").c_str(), "rt");
|
||||||
if (!f)
|
if (!f)
|
||||||
return "";
|
return "";
|
||||||
diff --git src/hardware/serialDriver.h src/hardware/serialDriver.h
|
diff --git a/EmptyEpsilon/src/hardware/serialDriver.h a/EmptyEpsilon/src/hardware/serialDriver.h
|
||||||
index 29cc0b5..9513457 100644
|
index 29cc0b5..9513457 100644
|
||||||
--- a/src/hardware/serialDriver.h
|
--- a/EmptyEpsilon/src/hardware/serialDriver.h
|
||||||
+++ b/src/hardware/serialDriver.h
|
+++ b/EmptyEpsilon/src/hardware/serialDriver.h
|
||||||
@@ -14,7 +14,7 @@ private:
|
@@ -14,7 +14,7 @@ private:
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
HANDLE handle;
|
HANDLE handle;
|
||||||
|
|
|
@ -6,9 +6,11 @@ _ver_major="${version%%.*}"
|
||||||
_ver_minor="${version%.*}"
|
_ver_minor="${version%.*}"
|
||||||
_ver_minor="${_ver_minor#*.}"
|
_ver_minor="${_ver_minor#*.}"
|
||||||
_ver_patch="${version##*.}"
|
_ver_patch="${version##*.}"
|
||||||
wrksrc="EmptyEpsilon-EE-${version}"
|
create_wrksrc=yes
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DSERIOUS_PROTON_DIR=$XBPS_BUILDDIR/SeriousProton-EE-${version}
|
build_wrksrc="EmptyEpsilon"
|
||||||
|
configure_args="
|
||||||
|
-DSERIOUS_PROTON_DIR=$XBPS_BUILDDIR/$pkgname-$version/SeriousProton
|
||||||
-DCPACK_PACKAGE_VERSION=${version}
|
-DCPACK_PACKAGE_VERSION=${version}
|
||||||
-DCPACK_PACKAGE_VERSION_MAJOR=$_ver_major
|
-DCPACK_PACKAGE_VERSION_MAJOR=$_ver_major
|
||||||
-DCPACK_PACKAGE_VERSION_MINOR=$_ver_minor
|
-DCPACK_PACKAGE_VERSION_MINOR=$_ver_minor
|
||||||
|
@ -23,3 +25,8 @@ distfiles="https://github.com/daid/EmptyEpsilon/archive/EE-${version}.tar.gz
|
||||||
https://github.com/daid/SeriousProton/archive/EE-${version}.tar.gz>SP-${version}.tar.gz"
|
https://github.com/daid/SeriousProton/archive/EE-${version}.tar.gz>SP-${version}.tar.gz"
|
||||||
checksum="c1c4f11fefe1afac6076c795e8785c7507a297ba3f7f2be9ed30c97b1e93cb24
|
checksum="c1c4f11fefe1afac6076c795e8785c7507a297ba3f7f2be9ed30c97b1e93cb24
|
||||||
62ab03dc904bd10f017fff338e55ec97c86f0bc3903a18d6c44285b86776a2d7"
|
62ab03dc904bd10f017fff338e55ec97c86f0bc3903a18d6c44285b86776a2d7"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
mv EmptyEpsilon* EmptyEpsilon
|
||||||
|
mv SeriousProton* SeriousProton
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue