Skip to content

Commit

Permalink
add: libx86emu (#6213)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: oklopfer <[email protected]>
  • Loading branch information
3 people authored Jul 17, 2024
1 parent 53b0ad0 commit 1c84d24
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ librewolf-deb
libspa-codec-bluez5-aac-bin
libssl1.1-deb
libtomlplusplus-header
libx86emu
libxapp1-deb
lightpad-git
linked-deb
Expand Down
13 changes: 13 additions & 0 deletions packages/libx86emu/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pkgbase = libx86emu
gives = libx86emu3
pkgver = 3.5
pkgdesc = x86 emulation library
url = https://github.com/wfeldt/libx86emu
arch = amd64
pacdeps = setconf
provides = libx86emu-dev
maintainer = xdavius <[email protected]>
source = git+https://github.com/wfeldt/libx86emu#tag=3.5
sha256sums = SKIP

pkgname = libx86emu
27 changes: 27 additions & 0 deletions packages/libx86emu/libx86emu.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pkgname="libx86emu"
gives=("libx86emu3")
provides=("libx86emu-dev")
pkgver="3.5"
pkgdesc='x86 emulation library'
arch=("amd64")
url='https://github.com/wfeldt/libx86emu'
pacdeps=("setconf")
source=("git+https://github.com/wfeldt/libx86emu#tag=${pkgver}")
sha256sums=('SKIP')
maintainer=("xdavius <[email protected]>")
external_connection=true

prepare() {
setconf "${pkgname}"/Makefile \
CFLAGS="${CFLAGS}0 -shared -fPIC -fvisibility=hidden -fomit-frame-pointer -w" \
LDFLAGS="-Wl,-shared"
}

build() {
make -C "${pkgname}" LIBDIR=/usr/lib
}

package() {
make -C "${pkgname}" LIBDIR=/usr/lib DESTDIR="${pkgdir}" install
install -Dm644 "${pkgname}"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
14 changes: 14 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -5135,6 +5135,20 @@ pkgbase = libtomlplusplus-header

pkgname = libtomlplusplus-header
---
pkgbase = libx86emu
gives = libx86emu3
pkgver = 3.5
pkgdesc = x86 emulation library
url = https://github.com/wfeldt/libx86emu
arch = amd64
pacdeps = setconf
provides = libx86emu-dev
maintainer = xdavius <[email protected]>
source = git+https://github.com/wfeldt/libx86emu#tag=3.5
sha256sums = SKIP

pkgname = libx86emu
---
pkgbase = libxapp1-deb
gives = libxapp1
pkgver = 2.8.2
Expand Down

0 comments on commit 1c84d24

Please sign in to comment.