Skip to content

Commit

Permalink
Windows 64 bit (libdiscid) discid.dll
Browse files Browse the repository at this point in the history
Fixes #73
  • Loading branch information
jesus2099 authored and Freso committed Dec 7, 2022
1 parent f50fe3d commit c8a96e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pkg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ scripts := isrcsubmit.py $(current).py
#scripts := $(current).py
tar := $(current)
win32 := $(current)-win32
win64 := $(current)-win64
mac := $(current)-mac
all := $(scripts) $(tar).tar.gz $(win32).zip $(mac).zip
all := $(scripts) $(tar).tar.gz $(win32).zip $(win64).zip $(mac).zip

source_repo := ..
source_branch := master
Expand Down Expand Up @@ -84,6 +85,18 @@ $(win32).zip: $(source_ref) $(base_libs) $(libdiscid)-win32.zip mediatools
rm -rf $(libdiscid)-win32
rm -rf $(win32)

win64: $(win64).zip
$(win64).zip: $(source_ref) $(base_libs) $(libdiscid)-win64.zip mediatools
$(call cp_source, $(win64))
$(call cp_base_libs, $(win64))
unzip $(libdiscid)-win64.zip
cp -a $(libdiscid)-win64/discid.dll $(win64)/
cp -ar mediatools $(win64)/
cp -a mediatools.exe $(win64)/
zip -qr $@ $(win64)
rm -rf $(libdiscid)-win64
rm -rf $(win64)

mac: $(mac).zip
$(mac).zip: $(source_ref) $(base_libs) $(libdiscid)-mac.zip
$(call cp_source, $(mac))
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def run(self):
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Environment :: Win64 (MS Windows)",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
Expand Down

0 comments on commit c8a96e9

Please sign in to comment.