diff options
author | Arn0 <yth@ythogtha.org> | 2024-01-18 16:04:37 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-19 09:51:02 +0700 |
commit | 8658ebb2d7aedcfd95433fbfaccccf5f4f53a74a (patch) | |
tree | 7e7d4842ed6933507b9901d8c2563b4729bfaef0 /system/dosbox | |
parent | b6743346f2d7d04d65eee8714d4f741977e31a55 (diff) |
system/dosbox: Added aarch64 flags
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dosbox')
-rw-r--r-- | system/dosbox/dosbox.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/system/dosbox/dosbox.SlackBuild b/system/dosbox/dosbox.SlackBuild index ce3408e23130..cd140784d370 100644 --- a/system/dosbox/dosbox.SlackBuild +++ b/system/dosbox/dosbox.SlackBuild @@ -27,10 +27,6 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220406 bkw: Modified by SlackBuilds.org, BUILD=2: -# - do not try to use a .ico icon in the .desktop file (png instead). -# - remove useless INSTALL from doc dir. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dosbox @@ -66,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -107,7 +106,6 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i install -D -m 0644 $CWD/dosbox.desktop \ $PKG/usr/share/applications/dosbox.desktop -# 20220406 bkw: convert the .ico icon to a .png. mkdir -p $PKG/usr/share/pixmaps convert 'src/dosbox.ico[1]' $PKG/usr/share/pixmaps/dosbox.png |