Skip to content

Commit

Permalink
misc/py-icoextract: New port
Browse files Browse the repository at this point in the history
icoextract is an icon extractor for Windows PE files (.exe/.dll),
written in Python. It also includes a thumbnailer script
(exe-thumbnailer) for Linux desktops.

This project is inspired by extract-icon-py, icoutils,
and others.

icoextract aims to be:

    Lightweight
    Portable (cross-platform)
    Fast on large files
  • Loading branch information
crees committed Mar 24, 2023
1 parent 4b6e26b commit b9be9ee
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions misc/Makefile
Expand Up @@ -412,6 +412,7 @@
SUBDIR += py-halo
SUBDIR += py-histoprint
SUBDIR += py-huepy
SUBDIR += py-icoextract
SUBDIR += py-ipyfastscape
SUBDIR += py-kartograph
SUBDIR += py-lightgbm
Expand Down
20 changes: 20 additions & 0 deletions misc/py-icoextract/Makefile
@@ -0,0 +1,20 @@
PORTNAME= icoextract
PORTVERSION= 0.1.4
CATEGORIES= misc
MASTER_SITES= GH
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= crees@FreeBSD.org
COMMENT= Extract icons from Windows EXE and DLL files

LICENSE= MIT

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}

USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= jlu5

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions misc/py-icoextract/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1678578100
SHA256 (jlu5-icoextract-0.1.4_GH0.tar.gz) = 9d84a6191c02326bdf6f7689184540aba5b683b9c626ed832ff20c426f2d6746
SIZE (jlu5-icoextract-0.1.4_GH0.tar.gz) = 46660
12 changes: 12 additions & 0 deletions misc/py-icoextract/pkg-descr
@@ -0,0 +1,12 @@
icoextract is an icon extractor for Windows PE files (.exe/.dll),
written in Python. It also includes a thumbnailer script
(exe-thumbnailer) for Linux desktops.

This project is inspired by extract-icon-py, icoutils,
and others.

icoextract aims to be:

Lightweight
Portable (cross-platform)
Fast on large files

0 comments on commit b9be9ee

Please sign in to comment.