Package Details: pcem-git 17.r250.gfbf5ece3-1

Git Clone URL: https://aur.archlinux.org/pcem-git.git (read-only, click to copy)
Package Base: pcem-git
Description: Emulator for various IBM PC computers and clones - development version
Upstream URL: http://pcem-emulator.co.uk/
Keywords: emulator pc pcem
Licenses: GPL-2.0-or-later
Conflicts: pcem
Provides: pcem
Submitter: FredBezies
Maintainer: FredBezies (Martian)
Last Packager: FredBezies
Votes: 7
Popularity: 0.000153
First Submitted: 2020-06-30 19:07 (UTC)
Last Updated: 2026-04-16 09:14 (UTC)

Latest Comments

1 2 3 Next › Last »

FredBezies commented on 2026-04-16 09:14 (UTC)

@Martian: Sorry for the delay, I only see your working PKGBUILD recently. I merged it with my PKGBUILD. Thanks a lot for your work.

Martian commented on 2026-04-09 16:46 (UTC)

I managed to build it with the following PKGBUILD:

# Maintainer: Your Name
pkgname=pcem-git
pkgver=r1981.fbf5ece3
pkgrel=1
pkgdesc="Emulator for various IBM PC computers and clones (development version)"
url="https://github.com/sarah-walker-pcem/pcem"
arch=('x86_64' 'i686')
license=('GPL2')

# Runtime dependencies
depends=('wxwidgets-gtk3' 'openal' 'sdl2' 'alsa-lib' 'libslirp' 'libpcap')

# Build-time dependencies - using CMake with clang
makedepends=('git' 'cmake' 'clang')

provides=('pcem')
conflicts=('pcem')

source=(
    "pcem::git+https://github.com/sarah-walker-pcem/pcem.git"
    "pcem.desktop"
)

sha256sums=('SKIP'
            'SKIP')

pkgver() {
    cd "${srcdir}/pcem"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "${srcdir}/pcem"

    # Use clang compiler
    export CC=clang
    export CXX=clang++

    # Add linker flag to allow multiple definitions (needed for current git version)
    export LDFLAGS="-Wl,--allow-multiple-definition"

    # Configure with CMake
    cmake -B build \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DUSE_NETWORKING=ON \
        -DUSE_ALSA=ON

    # Build
    cmake --build build
}

package() {
    cd "${srcdir}/pcem"

    # Install binary and data files
    DESTDIR="${pkgdir}" cmake --install build

    # Install license
    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"

    # Install desktop file
    install -Dm644 "${srcdir}/pcem.desktop" \
        "${pkgdir}/usr/share/applications/pcem.desktop"
}

# vim:set ts=2 sw=2 et:

FredBezies commented on 2026-03-29 11:13 (UTC)

Please, report this bug upstream: https://github.com/sarah-walker-pcem/pcem/issues

phonemic commented on 2026-03-29 00:17 (UTC)

Getting this error when updating.

CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:1093 (message):
  The following required packages were not found:

   - slirp

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:1166 (_pkg_check_modules_internal)
  src/networking/networking.cmake:10 (pkg_check_modules)
  src/CMakeLists.txt:46 (include)

FredBezies commented on 2025-06-09 14:54 (UTC)

I will fix the PKGBUILD as soon as possible today.

Just don't hold your breath :)

phonemic commented on 2025-06-09 12:27 (UTC)

Getting this error when updating. I think wxgtk3 has been deprecated.

installing wxwidgets-gtk3 (3.2.8.1-2) breaks dependency 'wxgtk3' required by pcem-git

dreieck commented on 2025-02-09 13:45 (UTC) (edited on 2025-02-09 13:46 (UTC) by dreieck)

Please add

  • provides=("pcem=${pkgver}").

Regards and thanks for the package!

FredBezies commented on 2025-01-24 13:38 (UTC)

@ogarcia: modifications applied. Thanks a lot!

ogarcia commented on 2025-01-24 11:52 (UTC)

@FredBezies as you have now the icon in the .desktop file you do not allow the icon themes to modify it. Fixing it is very simple:

  1. Install icon on /usr/share/icons/hicolor/512x512/apps/ instead of /usr/share/pcem: install -Dm644 ../../pcem.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/pcem.png"
  2. In the .destop in the icon line simply put the name (without the path and extension). Icon=pcem

And with this it would be solved.

Another interesting option would be to use an svg icon (which scales better in different resolutions). I leave the same one you already have but prepared in SVG here (in case you want to use it). In case of using SVG then you would have to install it in /usr/share/icons/hicolor/scalable/apps/:

install -Dm644 ../../pcem.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/pcem.svg"

MarsSeed commented on 2023-06-13 17:22 (UTC)

Thanks for the fix!